[OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation
Khem Raj
raj.khem at gmail.com
Tue May 23 15:10:56 UTC 2017
On Tue, May 23, 2017 at 8:02 AM, Burton, Ross <ross.burton at intel.com> wrote:
>
> On 23 May 2017 at 15:48, Khem Raj <raj.khem at gmail.com> 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
More information about the Openembedded-core
mailing list