Android Native GCC 4.9.2 Build Fails at Dynamic libgcc

Cyd Haselton chaselton@gmail.com
Wed Jan 7 13:23:00 GMT 2015


On Wed, Jan 7, 2015 at 7:06 AM, Andrew Haley <aph@redhat.com> wrote:
> On 01/07/2015 12:36 PM, Cyd Haselton wrote:
>> On Wed, Jan 7, 2015 at 6:19 AM, Andrew Haley <aph@redhat.com> wrote:
>>> On 01/07/2015 12:17 PM, Andrew Haley wrote:
>>>> On 01/07/2015 12:14 PM, Cyd Haselton wrote:
>>>>> Here goes.
>>>>
>>>> You mailer mangled that.  As an attachment please.
>>>
>>> We need to see all of it, including the error, run with "-v".
>>>
>>
>> See attached
>
> Much better.
>
> It is using "-ldl".  Good.  So it should pick up dlopen from somewhere.

I added that to t-slibgcc a while back.  It didn't fix the error.
>
> The library paths it is using are
>
>  -L/bld/gcc/builddir-4.9/./gcc -L/usr/gcc-4.9.2/arm-linux-androideabi/bin -L/usr/gcc-4.9.2/arm-linux-androideabi/lib -L. -L/usr/gcc-4.9.2/sysroot/usr/lib
>
> "libdl.so" should exist somewhere.
> My best guess is that it will be in /usr/gcc-4.9.2/sysroot/usr/lib

Correct. /user/gcc-4.9.2/sysroot/usr/lib/libdl.so exists
>
> If it isn't, your sysroot is broken.
>
See above.  The dlopen error still happens



More information about the Gcc-help mailing list