Running readelf -h on the file does work and it shows that it is indeed the correct machine architecture
ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: REL (Relocatable file) Machine: AArch64 Version: 0x1 Entry point address: 0x0 Start of program headers: 0 (bytes into file) Start of section headers: 201744 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 0 (bytes) Number of program headers: 0 Size of section headers: 64 (bytes) Number of section headers: 165 Section header string table index: 1 On Fri, Feb 23, 2024 at 5:40 PM Joel Winarske <joel.winar...@gmail.com> wrote: > I'm hitting qa issue when attempting to install a archive file built with > Rust: > > dwarfsrcfiles: > /home/joel/agl/raspberrypi4/tmp/work/aarch64-agl-linux/rive-taffy-ffi/0.3.0-r0/package/usr/lib/taffy_ffi/libtaffy_ffi.a: > not a valid ELF file > > I can link this same archive file with C code and the executable runs. > It's a valid archive. > > Any suggestions? >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62594): https://lists.yoctoproject.org/g/yocto/message/62594 Mute This Topic: https://lists.yoctoproject.org/mt/104540813/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-