Warning "GC_LINUX_THREADS" redefined while building libjava/posix-threads.cc

Christian Jönsson c.christian.joensson@telia.com
Sun Mar 24 22:36:00 GMT 2002


This was on a Debian Woody (test release) sun4m system using
binutils 2.12.90.0.1-1
dejagnu 1.4.2-1.1
gcc 2.95.4-9 (Debian prerelease)
kernel-image-2.2.20-sun4dm-smp 9
libc6 2.2.5-3
While bootstrapping the gcc-3.1 compiler I've been getting this
warning a while:
/share2/gcc-rel/gcc/objdir/gcc/xgcc -shared-libgcc -B/share2/gcc-rel/gcc/objdir/gcc/ -nostdinc++ -L/share2/gcc-rel/gcc/objdir/sparc-linux/libstdc++-v3/src -L/share2/gcc-rel/gcc/objdir/sparc-linux/libstdc++-v3/src/.libs -B/usr/local/sparc-linux/bin/ -B/usr/local/sparc-linux/lib/ -isystem /usr/local/sparc-linux/include -DHAVE_CONFIG_H -I. -I../../../libjava -I./include -I./gcj -I../../../libjava -Iinclude -I../../../libjava/include -I../../../libjava/../boehm-gc/include -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I../../../libjava/libltdl -I../../../libjava/libltdl -I../../../libjava/.././libjava/../gcc -I../../../libjava/../zlib -I../../../libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -W -Wall -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -g -O2 -D_GNU_SOURCE -Wp,-MD,.deps/posix-threads.pp -c ../../../libjava/posix-threads.cc -fPIC -DPIC -o .libs/posix-threads.o
In file included from ../../../libjava/posix-threads.cc:19:
../../../boehm-gc/include/gc.h:53:1: warning: "GC_LINUX_THREADS" redefined
../../../libjava/posix-threads.cc:1:1: warning: this is the location of the previous definition
In file included from ../../../boehm-gc/include/gc_mark.h:31,
 from ../../../boehm-gc/include/private/gc_pmark.h:32,
 from ../../../libjava/boehm.cc:29:
../../../boehm-gc/include/gc.h:53:1: warning: "GC_LINUX_THREADS" redefined
../../../libjava/boehm.cc:1:1: warning: this is the location of the previous definition
Is this something to be preoccupied with?
Cheers,
/ChJ


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /