This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: math broken on mips
- From: "H . J . Lu" <hjl at lucon dot org>
- To: Zhang Fuxin <fxzhang at ict dot ac dot cn>
- Cc: "linux-mips at oss dot sgi dot com" <linux-mips at oss dot sgi dot com>,"libc-alpha at sources dot redhat dot com" <libc-alpha at sources dot redhat dot com>,"gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 18 Feb 2002 00:18:01 -0800
- Subject: Re: math broken on mips
- References: <200202180859.g1I8xr912786@oss.sgi.com>
On Mon, Feb 18, 2002 at 03:57:04PM +0800, Zhang Fuxin wrote:
>
> (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 <hjl@gnu.org>
* 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 <hjl@gnu.org>
* elf/dl-conflict.c (_dl_resolve_conflicts): Dummy if
_DL_HAVE_NO_ELF_MACHINE_RELA is defined.
2001-07-10 H.J. Lu <hjl@gnu.org>
* 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.
* 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.