This is the mail archive of the gcc-bugs@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]

thread changes break compiliation on i686-linux-gnu



Richard,

I now get with current CVS:

./xgcc -B./ -B/opt/gcc/3.2-devel/i686-pc-linux-gnu/bin/ -isystem /opt/gcc/3.2-devel/i686-pc-linux-gnu/include -isystem /opt/gcc/3.2-devel/i686-pc-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/cvs/gcc/gcc -I/cvs/gcc/gcc/. -I/cvs/gcc/gcc/config -I/cvs/gcc/gcc/../include  -DL_bb -c /cvs/gcc/gcc/libgcc2.c -o libgcc/./_bb.o
In file included from /cvs/gcc/gcc/gthr-posix.h:37,
                 from gthr-default.h:1,
                 from /cvs/gcc/gcc/gthr.h:98,
                 from /cvs/gcc/gcc/libgcc2.c:1278:
include/pthread.h:172: parse error before "__thread"
include/pthread.h:174: `pthread_create' declared as function returning a function
include/pthread.h:175: parse error before "void"
make[3]: *** [libgcc/./_bb.o] Error 1

config.status reports:
# This directory was configured as follows:
/cvs/gcc/configure --with-gcc-version-trigger=/cvs/gcc/gcc/version.c --host=i686-pc-linux-gnu --prefix=/opt/gcc/3.2-devel --enable-shared --enable-threads=posix --enable-clocale=gnu --disable-nls --enable-checking=misc,tree,rtl,gc --with-system-zlib --norecursion 
#  using "mt-frag"

This is with glibc 2.2.5+ (from CVS),

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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