------- Comment #5 from amylaar at gcc dot gnu dot org 2005-12-13 22:00 ------- (In reply to comment #3) > I believe so. >
I didn't have any luck with either x86-64-elf or x86-64-linux, bfd refused to build. So I looked for the latest x86-64 posting to gcc-testresults, which had x86_64-suse-linux-gnu . This did actually go on till unwind-dw2.c, but now I get errors from some header file SNAFU: /mnt/scratch/nightly/2005-12-13/x86-64/./gcc/xgcc -B/mnt/scratch/nightly/2005-12 -13/x86-64/./gcc/ -B/usr/local/x86_64-suse-linux-gnu/bin/ -B/usr/local/x86_64-su se-linux-gnu/lib/ -isystem /usr/local/x86_64-suse-linux-gnu/include -isystem /us r/local/x86_64-suse-linux-gnu/sys-include -L/mnt/scratch/nightly/2005-12-13/x86- 64/./ld -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -DNATIVE_CROSS -W -Wall -Wwr ite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -is ystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEE DED -Dinhibit_libc -I. -I -I../../srcw/gcc -I../../srcw/gcc/ -I../../srcw/gcc/.. /include -I../../srcw/gcc/../libcpp/include -I../../srcw/gcc/../libdecnumber -f exceptions -fvisibility=hidden -DHIDE_EXPORTS -c ../../srcw/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o In file included from ./gthr-default.h:1, from ../../srcw/gcc/gthr.h:114, from ../../srcw/gcc/unwind-dw2.c:42: ../../srcw/gcc/gthr-posix.h:43:21: error: pthread.h: No such file or directory ../../srcw/gcc/gthr-posix.h:44:20: error: unistd.h: No such file or directory In file included from ./gthr-default.h:1, from ../../srcw/gcc/gthr.h:114, from ../../srcw/gcc/unwind-dw2.c:42: ../../srcw/gcc/gthr-posix.h:46: error: expected =, ,, ;, asm or __attri bute__ before __gthread_key_t ../../srcw/gcc/gthr-posix.h:47: error: expected =, ,, ;, asm or __attri bute__ before __gthread_once_t ../../srcw/gcc/gthr-posix.h:48: error: expected =, ,, ;, asm or __attri bute__ before __gthread_mutex_t ../../srcw/gcc/gthr-posix.h:49: error: expected =, ,, ;, asm or __attri bute__ before __gthread_recursive_mutex_t ../../srcw/gcc/gthr-posix.h:72: error: pthread_once undeclared here (not in a function) ../../srcw/gcc/gthr-posix.h:72: warning: type defaults to int in declaration o f __gthrw_pthread_once ../../srcw/gcc/gthr-posix.h:73: error: pthread_key_create undeclared here (not in a function) ../../srcw/gcc/gthr-posix.h:73: warning: type defaults to int in declaration o f __gthrw_pthread_key_create ../../srcw/gcc/gthr-posix.h:74: error: pthread_key_delete undeclared here (not in a function) ../../srcw/gcc/gthr-posix.h:74: warning: type defaults to int in declaration o f __gthrw_pthread_key_delete ../../srcw/gcc/gthr-posix.h:75: error: pthread_getspecific undeclared here (no t in a function) ../../srcw/gcc/gthr-posix.h:75: warning: type defaults to int in declaration o f __gthrw_pthread_getspecific ../../srcw/gcc/gthr-posix.h:76: error: pthread_setspecific undeclared here (no t in a function) ../../srcw/gcc/gthr-posix.h:76: warning: type defaults to int in declaration o f __gthrw_pthread_setspecific ../../srcw/gcc/gthr-posix.h:77: error: pthread_create undeclared here (not in a function) ../../srcw/gcc/gthr-posix.h:77: warning: type defaults to int in declaration o f __gthrw_pthread_create ../../srcw/gcc/gthr-posix.h:78: error: pthread_cancel undeclared here (not in a function) ../../srcw/gcc/gthr-posix.h:78: warning: type defaults to int in declaration o f __gthrw_pthread_cancel ../../srcw/gcc/gthr-posix.h:80: error: pthread_mutex_lock undeclared here (not in a function) ../../srcw/gcc/gthr-posix.h:80: warning: type defaults to int in declaration o f __gthrw_pthread_mutex_lock ../../srcw/gcc/gthr-posix.h:81: error: pthread_mutex_trylock undeclared here ( not in a function) ../../srcw/gcc/gthr-posix.h:81: warning: type defaults to int in declaration o f __gthrw_pthread_mutex_trylock ../../srcw/gcc/gthr-posix.h:82: error: pthread_mutex_unlock undeclared here (n ot in a function) ../../srcw/gcc/gthr-posix.h:82: warning: type defaults to int in declaration o f __gthrw_pthread_mutex_unlock ../../srcw/gcc/gthr-posix.h:83: error: pthread_mutexattr_init undeclared here (not in a function) ../../srcw/gcc/gthr-posix.h:83: warning: type defaults to int in declaration o f __gthrw_pthread_mutexattr_init ../../srcw/gcc/gthr-posix.h:84: error: pthread_mutexattr_settype undeclared he re (not in a function) ../../srcw/gcc/gthr-posix.h:84: warning: type defaults to int in declaration o f __gthrw_pthread_mutexattr_settype ../../srcw/gcc/gthr-posix.h:85: error: pthread_mutexattr_destroy undeclared he re (not in a function) ../../srcw/gcc/gthr-posix.h:85: warning: type defaults to int in declaration o f __gthrw_pthread_mutexattr_destroy ../../srcw/gcc/gthr-posix.h:87: error: pthread_mutex_init undeclared here (not in a function) ../../srcw/gcc/gthr-posix.h:87: warning: type defaults to int in declaration o f __gthrw_pthread_mutex_init ../../srcw/gcc/gthr-posix.h:485: error: expected ) before * token ../../srcw/gcc/gthr-posix.h:494: error: expected ) before * token ../../srcw/gcc/gthr-posix.h:500: error: expected ) before key ../../srcw/gcc/gthr-posix.h:506: error: expected ) before key ../../srcw/gcc/gthr-posix.h:512: error: expected ) before key ../../srcw/gcc/gthr-posix.h:518: error: expected ) before * token ../../srcw/gcc/gthr-posix.h:527: error: expected ) before * token ../../srcw/gcc/gthr-posix.h:536: error: expected ) before * token ../../srcw/gcc/gthr-posix.h:546: error: expected ) before * token ../../srcw/gcc/gthr-posix.h:567: error: expected ) before * token ../../srcw/gcc/gthr-posix.h:573: error: expected ) before * token ../../srcw/gcc/gthr-posix.h:579: error: expected ) before * token ../../srcw/gcc/unwind-dw2.c: In function uw_init_context_1: ../../srcw/gcc/unwind-dw2.c:1259: error: expected =, ,, ;, asm or __att ribute__ before once_regsizes ../../srcw/gcc/unwind-dw2.c:1259: error: once_regsizes undeclared (first use i n this function) ../../srcw/gcc/unwind-dw2.c:1259: error: (Each undeclared identifier is reported only once ../../srcw/gcc/unwind-dw2.c:1259: error: for each function it appears in.) ../../srcw/gcc/unwind-dw2.c:1259: error: PTHREAD_ONCE_INIT undeclared (first u se in this function) ../../srcw/gcc/unwind-dw2.c:1260: warning: implicit declaration of function __g thread_once make[2]: *** [libgcc/./unwind-dw2.o] Error 1 make[2]: Leaving directory `/mnt/scratch/nightly/2005-12-13/x86-64/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/mnt/scratch/nightly/2005-12-13/x86-64/gcc' make: *** [all-gcc] Error 2 could someone send me their x86-64 unwind-dw2.i along with the cc1 flags to trigger the bug? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25397