Error while building libstdc++-v3

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
jlledom
Posts: 7
Joined: Sat Jul 25, 2015 4:33 am

Error while building libstdc++-v3

Post 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?
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: Error while building libstdc++-v3

Post by max »

Hey,
did you take a look in the config.log? Can you post it here?
Greets, Max
jlledom
Posts: 7
Joined: Sat Jul 25, 2015 4:33 am

Re: Error while building libstdc++-v3

Post 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
Attachments
config.log.txt
(29.24 KiB) Downloaded 80 times
Post Reply