Page 1 of 1

Error while building libstdc++-v3

Posted: Mon Jul 27, 2015 7:05 am
by jlledom
Hello!

I'm following the Hosted GCC Cross-Compiler tutorial and everything has gone well but the final step, building libstdc++-v3. When I run

Code: Select all

make all-target-libtdc++-v3
it seems to work but after a while shows me this error:

Code: Select all

checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
Makefile:10142: recipe for target 'configure-target-libstdc++-v3' failed
make: *** [configure-target-libstdc++-v3] Error 1
During the previous steps I had to write my own stdint.h because my i686-myos-gcc cross compiler doesn't provide it and couldn't build libc. BTW, I've used my own libc written with the sources that appear in the prerequisites section of this tutorial.

Any ideas?

Re: Error while building libstdc++-v3

Posted: Mon Jul 27, 2015 10:05 am
by max
Hey,
did you take a look in the config.log? Can you post it here?
Greets, Max

Re: Error while building libstdc++-v3

Posted: Mon Jul 27, 2015 1:48 pm
by jlledom
Hi,

I did, but I found it too long and didn't know how to interpret it :P. I was expecting a detailed error message or something like that. Anyway, I've taken another look to the config.log and have found the compiler being used is not the cross compiler for my toolchain that I've used to build the libc, but the distributed by Fedora. Can it be the problem?

Here is the config.log