linux-mips
[Top] [All Lists]

Re: math broken on mips

To: Zhang Fuxin <fxzhang@ict.ac.cn>
Subject: Re: math broken on mips
From: "H . J . Lu" <hjl@lucon.org>
Date: Mon, 18 Feb 2002 00:18:01 -0800
Cc: "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>, "libc-alpha@sources.redhat.com" <libc-alpha@sources.redhat.com>, "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>
In-reply-to: <200202180859.g1I8xr912786@oss.sgi.com>; from fxzhang@ict.ac.cn on Mon, Feb 18, 2002 at 03:57:04PM +0800
References: <200202180859.g1I8xr912786@oss.sgi.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
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.

<Prev in Thread] Current Thread [Next in Thread>