This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

[PATCH] 20030617 CVS fail build up on sparc32.


Here is output:

make[2]: Entering directory `/usr/src/redhat/BUILD/glibc-2.3.2-200306171131/csu'
gcc -m32 ../linuxthreads/sysdeps/pthread/errno-loc.c -c -std=gnu99 -DNDEBUG=1 -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fcall-used-g6 -finline-limit=2000 -g      -I../include -I. -I/usr/src/redhat/BUILD/glibc-2.3.2-200306171131/build-sparc-linux/csu -I.. -I../libio  -I/usr/src/redhat/BUILD/glibc-2.3.2-200306171131/build-sparc-linux -I../sysdeps/sparc/sparc32/elf -I../linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32 -I../linuxthreads/sysdeps/unix/sysv/linux/sparc -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/sparc/sparc32 -I../linuxthreads/sysdeps/sparc -I../sysdeps/unix/sysv/linux/sparc/sparc32 -I../sysdeps/unix/sysv/linux/sparc -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/sparc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sparc/sparc32/fpu -I../sysdeps/sparc/sparc32 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/sparc/sparc32/soft-fp -I../sysdeps/sparc/fpu -I../sysdeps/sparc -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc-lib/sparc64-redhat-linux/3.3/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -o /usr/src/redhat/BUILD/glibc-2.3.2-200306171131/build-sparc-linux/csu/errno-loc.o -MD -MP -MF /usr/src/redhat/BUILD/glibc-2.3.2-200306171131/build-sparc-linux/csu/errno-loc.o.dt
In file included from ../linuxthreads/sysdeps/pthread/errno-loc.c:24:
../linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h:71:16: operator "defined" requires an identifier
../linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h:71:17: missing binary operator before token "NOT_IN_libc"
make[2]: *** [/usr/src/redhat/BUILD/glibc-2.3.2-200306171131/build-sparc-linux/csu/errno-loc.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-200306171131/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-200306171131'
make: *** [all] Error 2
[root@sun build-sparc-linux]#

Here is my patch, maybe take a look at it:

[root@sun BUILD]# diff -Nru glibc-2.3.2-200306171131/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h.orig glibc-2.3.2-200306171131/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h
--- libc/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h.orig    Wed Jun 18 16:51:12 2003
+++ libc/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h Wed Jun 18 16:52:25 2003
@@ -68,7 +68,7 @@
 # ifdef IS_IN_libpthread
 #  define CENABLE      call __pthread_enable_asynccancel
 #  define CDISABLE     call __pthread_disable_asynccancel
-# elif defined !NOT_IN_libc
+# elif !defined NOT_IN_libc
 #  define CENABLE      call __libc_enable_asynccancel
 #  define CDISABLE     call __libc_disable_asynccancel
 # else

Cant figure out if !defined is corect but seems to hate !NOT_IN_libc ...

At least it fix the compile the "csu" stage but i wait for tests
I am using if it mather:
binutils-2.14.90.0.4-12
gcc-3.3-6

Thanks,

Cristian


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