[Bug bootstrap/25397] Bootstrap failed
amylaar at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 13 22:00:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list