Skip to contentSkip to conversation

math broken on mips

DISCUSSION Zhang Fuxin 1 participant 1 message Feb 18, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

hi,

will try later,thank you.

在 2002-02-18 00:18:00 you wrote:

Quoted 36 lines · Zhang Fuxin
Quoted 7 lines

(gcc3.1 seems a lot better,but it has problem to compile glibc.I can't even compile
current glibc cvs code(with dl-conflict.c etc patched) with it. The best result is a segment fault when using ld.so.1:

      ../elf/ld.so.1 --library-path ..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:

../crypt:../linuxthreads ./rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o xbootparam_prot.T

You need to get the current glibc/gcc from CVS. You also need to apply my glibc patches for mips if they are not in CVS yet. They are:

2002-01-20 H.J. Lu <[email protected]>

* config.make.in (inline-limit): New.

* configure.in: Check if gcc supports -finline-limit=xxx.
* configure: Rebuild.

* elf/Makefile (CFLAGS-rtld.c): Set to -finline-limit=2000 if needed.

2002-02-04 H.J. Lu <[email protected]>

* elf/dl-conflict.c (_dl_resolve_conflicts): Dummy if _DL_HAVE_NO_ELF_MACHINE_RELA is defined.

2001-07-10 H.J. Lu <[email protected]>

* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
* sysdeps/unix/sysv/linux/mmap64.c: Here.

* sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT only if __NR_mmap2 is defined.

Quoted 7 lines

* sysdeps/unix/sysv/linux/hppa/mmap64.c : Removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.

Please check the glibc mailing list archive for those patches.

H.J.

Regards
Zhang Fuxin
[email protected]