Hello Quentin,
Thanks for the quick reply on this question!
The reason of this organisation is that my customer is responsible of providing
library "bar" (he cannot share the source code with me), and we are responsible
of providing library "foo". It's not confortable for sure, but it's the actual
state. So my customer provides me the "bar" libraries (arm and aarch64)
compiled (so files), that I copy/paste in my layer. And then I build "foo"
libraries that are linked to "bar" and additionally I have to install only the
"foo" libraries in the rootfs.
The library that is building "foo" have nothing specific to the architecture.
The IMAGE_INSTALL has "lib32-foo" and "foo".
But something to mention that may have an impact here : because of this
organization above my recipe that is building "foo" have the following (else I
don't succeed to build):
>
> FILES_SOLIBSDEV = ""
> INSANE_SKIP:${PN} += "dev-so"
> INSANE_SKIP:${PN} += "file-rdeps"
>
I checked the SONAME / NEEDED of the libraries with readelf for arm and aarch64
"foo" libraries:
>
> readelf -d path/to/image/1.0-r0/rootfs/usr/lib/libfoo.so
>
> Dynamic section at offset 0xad3c contains 31 entries:
> Tag Type Name/Value
> 0x00000001 (NEEDED) Shared library: [libcrypto.so.3]
> 0x00000001 (NEEDED) Shared library: [libbar.so]
> 0x00000001 (NEEDED) Shared library: [libc.so.6]
> 0x00000001 (NEEDED) Shared library: [ld-linux.so.3]
> 0x0000000e (SONAME) Library soname: [libfoo.so]
>
>
>
etc (details removed for brevity)
>
> readelf -d path/to/image/1.0-r0/rootfs/usr/lib64/libfoo.so
>
> Dynamic section at offset 0xfa58 contains 32 entries:
> Tag Type Name/Value
> 0x0000000000000001 (NEEDED) Shared library: [libcrypto.so.3]
> 0x0000000000000001 (NEEDED) Shared library: [libbar.so]
> 0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
> 0x0000000000000001 (NEEDED) Shared library:
> [ld-linux-aarch64.so.1]
> 0x000000000000000e (SONAME) Library soname: [libfoo.so]
>
etc (details removed for brevity)
So actually this doesn't helped me to understand the implicit RDEPENDS on
aarch64 that is not present on arm arch because both indicate the need
libbar.so.
Joel
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62940): https://lists.yoctoproject.org/g/yocto/message/62940
Mute This Topic: https://lists.yoctoproject.org/mt/105558513/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-