Re: Native GCC 4.9.0 Build Fails Building/Linking libgcc_s_so with Undefined Symbol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 19, 2014 at 12:51 PM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
> On 19 November 2014 18:08, Cyd Haselton wrote:
>> In another attempt to fix this problem, I grepped for dlopen in the
>> build directoryand ran across the following:
>>
>> From ./gcc/config.log
>>
>> configure:27894: checking for library containing dlopen
>> configure:27925: gcc --sysroot=/usr/gcc-4.8/sysroot -o conftest -Wall
>> -mandroid -mbionic   -static-libstdc++ -static-libgcc
>> -Wl,--dynamic-linker=/system/bin/linker -lc -ldl -lgcc -lm -lsupc++
>> -lgnustl_shared conftest.c  >&5
>> configure:27925: $? = 0
>> configure:27942: result: none required:
>>
>> And this, from liblto_plugin.la:
>> # The name that we can dlopen(3).
>> # Files to dlopen/dlpreopen
>> dlopen=''"
>>
>>
>> It seems to me as though configure needs to pick up libdl (which is
>> the android library to link to for dlopen...though i'm not sure how to
>> make this happen.
>>
>> Thoughts?
>
> It's already linking to libdl, look at the command it used.

FYI this issue was temporarily fixed by specifying --disable-shared in
the top-level configure...after running make distclean.

Unfortunately the build fails again soon after libgcc, when
configuring libstdc++, with thw following error:

configure[11845]: awk not found
configure: error: Link tests are not allowed after GCC_NO_EXECUTABLE

I'm using gawk and have AWK=/bin/gawk.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux