This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: MIPS glibc-2.3.2 build failure with gcc-3.4
- From: Eric Christopher <echristo at redhat dot com>
- To: Michael Eager <eager at mvista dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>, amodra at gcc dot gnu dot org
- Date: Wed, 21 Jan 2004 22:35:29 -0800
- Subject: Re: MIPS glibc-2.3.2 build failure with gcc-3.4
- References: <400F30A5.76DF5925@mvista.com>
On Wed, 2004-01-21 at 18:08, Michael Eager wrote:
> I'm building glibc-2.3.2 for mips with the gcc-3.4-20040114 snapshot.
>
> I'm getting an error building sigaction.c:
> ../sysdeps/unix/sysv/linux/mips/sigaction.c:83: error: $1 cannot be used in asm here
>
> This code compiles using gcc-3.3.1.
>
> The error is in global_alloc (global.c:355), in code which was added to
> fix PR 13169 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13169)
>
> I've attached a cutdown version of sigaction.c.
>
> Command line is "mips-gcc -O2 -c sigaction.c".
>
> Suggestions?
.set at
or don't use $1 there and actually use the instructions you want.
-eric
--
Eric Christopher <echristo@redhat.com>