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]

[Fwd: Re: sigpending.c causes libc build to fail]


Hi. The following is the original error message when we built libc with bootstrap-gcc_3.2 on our alphaev56 machine. I have received help indicating there may be a bug with the compiler that caused the problem. Anybody could help me out? Thanks.

gcc ../sysdeps/unix/sysv/linux/sigpending.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mieee -I../include -I. -I/mnt/u9/toolchain/buildsys/build/alpha9/
bootstrap-gcc_3.2/native/libc/signal -I.. -I../libio -I/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_3.2/native/libc -I../linuxthreads/sysdeps/alpha/elf -I../sysdeps/alpha/elf -
I../linuxthreads/sysdeps/unix/sysv/linux/alpha -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../l
inuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/alpha -I../sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/alpha -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/alpha/fpu -I../sysdeps/alpha -I../sysdeps/wordsize-64 -I../sysdeps
/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I /lib/modules/2.4.16/build/include -D_LIBC_REENTRANT -include ../include
/libc-symbols.h -o /mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_3.2/native/libc/signal/sigpending.o
../sysdeps/unix/sysv/linux/sigpending.c: In function `sigpending':
../sysdeps/unix/sysv/linux/sigpending.c:45: inconsistent operand constraints in an `asm'
make[2]: *** [/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_3.2/native/libc/signal/sigpending.o] Error 1
make[2]: Leaving directory `/mnt/u9/toolchain/buildsys/source/libc/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/u9/toolchain/buildsys/source/libc'
make: *** [all] Error 2

--
Dzung V. Nguyen email: dunguyen@iol.unh.edu
Alpha Linux Group http://linux.iol.unh.edu/clp
InterOperability Laboratory
University of New Hampshire phone: (603) - 862 - 0401
Durham, NH 03824 fax : (603) - 862 - 4181


--- Begin Message ---
I think that must be a compiler bug.  I haven't been able to try an alpha
build myself lately, but I think they have been tested with the
gcc-3_2-rhl8-branch compiler.  I can't see anything wrong with the asm
there (which is the INLINE_SYSCALL macro variant for 2-arg syscalls).

--- End Message ---

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