Rainer Emrich - Re: failed to run testsuite for libstdc++ on x86_64-unknown-linux-gnu (original) (raw)

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

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

I checked, that the 32-bit libraries were built. That's ok!

cd /disk1/SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/gcc-4.1-20051112/gcc-4.1-20051112/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs ls -l lib* gives:

Than I checked the libstd++.log. That's the failure:

Executing on host: /SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/gcc-4.1-20051112/gcc-4.1-20051112/./gcc/g++ - -shared-libgcc

-B/SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/gcc-4.1-20051112/gcc-4.1-20051112/./gcc - -nostdinc++

-L/SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/gcc-4.1-20051112/gcc-4.1-20051112/x86_64-unknown-linux-gnu/libstdc++-v3/src

-L/SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/gcc-4.1-20051112/gcc-4.1-20051112/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs

-B/SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/install/x86_64-unknown-linux-gnu/bin/

-B/SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/install/x86_64-unknown-linux-gnu/lib/ - -isystem /SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/install/x86_64-unknown-linux-gnu/include - -isystem /SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/install/x86_64-unknown-linux-gnu/sys-include - -m32 -g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections - -fmessage-length=0 - -DLOCALEDIR="/disk1/SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/ gcc-4.1-20051112/gcc-4.1-20051112/x86_64-unknown-linux-gnu/32/libstdc++-v3/po/share/locale" - -nostdinc++

-I/disk1/SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/gcc-4.1-20051112/gcc-4.1-20051112/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/x86_64-unknown-linux-gnu - -I/disk1/SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/gcc-4.1-20051112 /gcc-4.1-20051112/x86_64-unknown-linux-gnu/32/libstdc++-v3/include

-I/raid/tecosim/it/devel/projects/develtools/src/gcc-4.1-20051112/libstdc++-v3/libsupc++

-I/raid/tecosim/it/devel/projects/develtools/src/gcc-4.1-20051112/libstdc++-v3/include/backward

-I/raid/tecosim/it/devel/projects/develtools/src/gcc-4.1-20051112/libstdc++-v3/testsuite /raid/tecosim/it/devel/projects/develtools/src/gcc-4.1-20051112/libstdc++-v3/testsuite/testsuite_shared.cc -I/raid/tecosim/it/devel/projects/develtools/src/gcc-4.1-20051112/libstdc++-v3/testsuite

I compared this to an earlier build and I'm sure that the wrong library search path is used in this case. It should be:

/SCRATCH/gcc-build/Linux/x86_64-unknown-linux-gnu/gcc-4.1-20051112/gcc-4.1-20051112/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs

Any hints?

Jim Wilson schrieb:

Rainer Emrich wrote:

ERROR: could not compile testsuite_shared.cc

This is the important bit. The libstdc++ testsuite tried to compile a support file and failed, so it generated an error. The rest is just a tcl backtrace which we don't need.

The real question here is why it failed. There should be useful info in the $target/libstdc++/testsuite/libstdc++.log file. You probably got a linker error. One obvious question is to check to see whether you have the optional 32-bit libraries installed.


Rainer Emrich TECOSIM GmbH Im Eichsfeld 3 65428 Rüsselsheim

Phone: +49(0)6142/8272 12 Mobile: +49(0)163/56 949 20 Fax.: +49(0)6142/8272 49 Web: www.tecosim.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDgyDO3s6elE6CYeURAoDoAKCNuj8AJL876svODtpleqjnzRfQ3wCfd0MT +ybJJThmycyLW1Z1A7Z7OiY= =ngok -----END PGP SIGNATURE-----


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