This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS glibc-2.3.2 build failure with gcc-3.4


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]