This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Possible problem in libstdc++v3
- To: gcc at gcc dot gnu dot org
- Subject: Possible problem in libstdc++v3
- From: Loz <loz at flower dot powernet dot co dot uk>
- Date: Tue, 17 Jul 2001 23:02:57 +0100
I've been trying to build a cross compiler - host=i686-pc-linux-gnu
target=i586-pc-linux-gnu. I'm pretty sure I've got the correct headers
(I built glibc and the kernel on the target machine to make sure). I get
the following error when building libstdc++:
/usr/src/gcc-build/gcc/xgcc -B/usr/src/gcc-build/gcc/ -nostdinc++
-L/usr/src/gcc-build/pentium-pc-linux-gnu/libstdc++-v3/src
-L/usr/src/gcc-build/pentium-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/cgcc/pentium-pc-linux-gnu/bin/
-B/home/cgcc/pentium-pc-linux-gnu/lib/ -isystem
/home/cgcc/pentium-pc-linux-gnu/include
-I../../../../gcc-3.0/libstdc++-v3/../gcc
-I../../../../gcc-3.0/libstdc++-v3/../include
-I../../../../gcc-3.0/libstdc++-v3/include
-I../../../../gcc-3.0/libstdc++-v3/include/std
-I../../../../gcc-3.0/libstdc++-v3/include/c_std -I../include
-I../../../../gcc-3.0/libstdc++-v3/libsupc++ -g -O2 -D_GNU_SOURCE
-fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g
-c ../../../../gcc-3.0/libstdc++-v3/libsupc++/eh_aux_runtime.cc -fPIC
-DPIC -o eh_aux_runtime.o
/tmp/ccVXaasj.s: Assembler messages:
/tmp/ccVXaasj.s:333: Error: invalid section for operation
/tmp/ccVXaasj.s:363: Error: invalid section for operation
make[3]: *** [eh_aux_runtime.lo] Error 1
make[3]: Leaving directory
`/usr/src/gcc-build/pentium-pc-linux-gnu/libstdc++-v3/libsupc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/gcc-build/pentium-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/usr/src/gcc-build/pentium-pc-linux-gnu/libstdc++-v3
I know this probably isn't a libstdc++ problem per se. Most likely I
have done something foolish, as this is the first time I've attempted
anything like this. But, to me, this looks like gcc (which is an
apparently otherwise working native version of gcc3 on i686) is
producing bad assembler. Does anyone have a clue why this may happen? or
should enter a GNATS entry?
cheers
Loz