math broken on mips
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(withdl-conflict.cetc 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_RELAis 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 fromPAGE_SHIFT. Define if not defined. CheckMMAP2_PAGE_SHIFTonly if__NR_mmap2is 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]