On Tue, May 23, 2017 at 8:02 AM, Burton, Ross <[email protected]> wrote:
>
> On 23 May 2017 at 15:48, Khem Raj <[email protected]> wrote:
>>
>> no its better, it reintroduced the deps and this time also on libgcc
>> which probably was latent. it worked because someone else pulled
>> libgcc into image. can you check readelf -d | grep DT_NEEDED output
>> from bins/solibs in db package. ?
>
>
> Using --tag=CC:
>
> $ readelf -d libdb.so |grep NEEDED
>  0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
>  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
> $ readelf -d libdb_cxx.so |grep NEEDED
>  0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
>  0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
>  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
>
> Using --tag=CXX:
>
> $ readelf -d libdb.so |grep NEEDED
>  0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
>  0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
>  0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
>  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
> $ readelf -d libdb_cxx.so |grep NEEDED
>  0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
>  0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
>  0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
>  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
>

So I think we need to add the --tag inside the component configuration itself

> Ross
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to