[OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation

Burton, Ross ross.burton at intel.com
Tue May 23 15:02:29 UTC 2017


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]

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170523/c97e54bc/attachment-0002.html>


More information about the Openembedded-core mailing list