This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Roland, I noticed exactly the same lgcc problem building for "powerpc-unknown_nofpu-linux-gnu" which config only differs in "CT_ARCH_FLOAT_SW". Also Peter Wippich described it in "RE:Failure while building powerpc-unknown-linux-gnu" from Wed, 21 July 2010. This error occurs only on my 32bit ubuntu host, on x86_64 ubuntu everything works fine. Unfortunately I am not expert enough to offer a solution for it. Maybe someone else could help? Best regards, Andreas -----Ursprüngliche Nachricht----- Von: crossgcc-owner@sourceware.org [mailto:crossgcc-owner@sourceware.org] Im Auftrag von Roland Schwarz Gesendet: Monday, August 23, 2010 8:12 AM An: crossgcc@sourceware.org Cc: Yann E. MORIN Betreff: Re: powerpc build failing with "ld: -lgcc not found" I am still hoping for someone to help in this case. Since this is one of the example builds, that are contained in the ct-ng script, can someone else please try to run this setup and either confirm my findings or tell me what I might be doing wrong? The build is marked as working on the homepage, but there is no indication of the host environment. Can it be the case that I am on a different one? I am using x_86. Thank you for helping. Roland Am 2010-08-19 10:14, schrieb Roland Schwarz: > > > Am 2010-08-19 08:47, schrieb Roland Schwarz: >> What I can see so far: the switch -nostdlib prevents searching along >> the built in paths. So where is the linker expected to find -lgcc ? > > Some more digging: > > The build fails when using the shared core compiler. > > The libgcc.a is in > .../targets/powerpc-unknown-linux-gnu/build/gcc-core-shared/lib/gcc/po > werpc-unknown-linux-gnu > > but this directory is not in the list of searched paths (tested with > -print-search-dirs > > .../targets/powerpc-unknown-linux-gnu/build/gcc-core-shared/lib/gcc/powerpc-unknown-linux-gnu/4.3.2/: > .../targets/powerpc-unknown-linux-gnu/build/gcc-core-shared/powerpc-unknown-linux-gnu/lib/powerpc-unknown-linux-gnu/4.3.2/: > .../targets/powerpc-unknown-linux-gnu/build/gcc-core-shared/powerpc-unknown-linux-gnu/lib/: > .../x-tools/gcc-4.3.2/glibc-2.9/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu//sys-root/lib/powerpc-unknown-linux-gnu/4.3.2/: > .../x-tools/gcc-4.3.2/glibc-2.9/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu//sys-root/lib/: > .../x-tools/gcc-4.3.2/glibc-2.9/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu//sys-root/usr/lib/powerpc-unknown-linux-gnu/4.3.2/: > .../x-tools/gcc-4.3.2/glibc-2.9/powerpc-unknown-linux-gnu/powerpc-unkn > own-linux-gnu//sys-root/usr/lib/ > > However a libgcc_s.so happens to be in one of the searched dirs, but > it is not requested to be linked with. > > Roland > > > -- _________________________________________ _ _ | Roland Schwarz aka. speedsnail |_)(_ | sip:speedsnail@ekiga.net | \__) | mailto:roland.schwarz@chello.at ________| http://www.blackspace.at -- For unsubscribe information see http://sourceware.org/lists.html#faq -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |