[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc-4.0 build failure with amd 64 libs



For some reason I've been unable to compile gcc-4.0 on my two
machines (Duron 800 MHz and Sempron 754) with amd64-libs-dev
installed. Without it, I can build gcc-4.0 successfully up to the
point where the unbuilt amd64-related files are supposed to be
installed.

The essential libraries on my system are mostly "etch".

If necessary, I can supply more details about my setup. For now,
I append the tail (-n 40) of gcc-4.0*build:

                 from /usr/include/math.h:382,
                 from ../../../../src/libiberty/floatformat.c:27:
/usr/include/x86_64-linux/bits/mathinline.h:45: error: syntax error before
?{? token
/usr/include/x86_64-linux/bits/mathinline.h:46: error: syntax error before
?}? token
/usr/include/x86_64-linux/bits/mathinline.h:46: error: field name not in
record or union initializer
/usr/include/x86_64-linux/bits/mathinline.h:46: error: (near initialization
for ?__u?)
/usr/include/x86_64-linux/bits/mathinline.h:46: error: ?__x? undeclared here
(not in a function)
/usr/include/x86_64-linux/bits/mathinline.h:47: error: syntax error before
?return?
/usr/include/x86_64-linux/bits/mathinline.h:51: error: syntax error before
?{? token
/usr/include/x86_64-linux/bits/mathinline.h:52: error: conflicting types for
?__i?
/usr/include/x86_64-linux/bits/mathinline.h:46: error: previous declaration
of ?__i? was here
/usr/include/x86_64-linux/bits/mathinline.h:52: error: syntax error before
?}? token
/usr/include/x86_64-linux/bits/mathinline.h:52: error: redefinition of ?__u?
/usr/include/x86_64-linux/bits/mathinline.h:46: error: previous definition
of ?__u? was here
/usr/include/x86_64-linux/bits/mathinline.h:52: error: field name not in
record or union initializer
/usr/include/x86_64-linux/bits/mathinline.h:52: error: (near initialization
for ?__u?)
/usr/include/x86_64-linux/bits/mathinline.h:53: error: syntax error before
?return?
/usr/include/x86_64-linux/bits/mathinline.h:57: error: syntax error before
?{? token
/usr/include/x86_64-linux/bits/mathinline.h:58: error: conflicting types for
?__i?
/usr/include/x86_64-linux/bits/mathinline.h:46: error: previous declaration
of ?__i? was here
/usr/include/x86_64-linux/bits/mathinline.h:58: error: syntax error before
?}? token
/usr/include/x86_64-linux/bits/mathinline.h:58: error: redefinition of ?__u?
/usr/include/x86_64-linux/bits/mathinline.h:46: error: previous definition
of ?__u? was here
/usr/include/x86_64-linux/bits/mathinline.h:58: error: field name not in
record or union initializer
/usr/include/x86_64-linux/bits/mathinline.h:58: error: (near initialization
for ?__u?)
/usr/include/x86_64-linux/bits/mathinline.h:59: error: syntax error before
?return?
make[6]: *** [floatformat.o] Error 1
make[6]: Leaving directory
`/xb/build/debuild/newbuild/gcc-4.0-4.0.2/build/i486-linux-gnu/64/libiberty'
make[5]: *** [multi-do] Error 1
make[5]: Leaving directory
`/xb/build/debuild/newbuild/gcc-4.0-4.0.2/build/i486-linux-gnu/libiberty'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/xb/build/debuild/newbuild/gcc-4.0-4.0.2/build/i486-linux-gnu/libiberty'
make[3]: *** [all-target-libiberty] Error 2
make[3]: Leaving directory `/xb/build/debuild/newbuild/gcc-4.0-4.0.2/build'
make[2]: *** [bootstrap] Error 2
make[2]: Leaving directory `/xb/build/debuild/newbuild/gcc-4.0-4.0.2/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/xb/build/debuild/newbuild/gcc-4.0-4.0.2'
make: *** [stamps/05-build-stamp] Error 2

-- 
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat*  http://www.gmx.net/de/go/dsl



Reply to: