.a files are not ELF files, they're archives made with GNU ar. So it's not clear why dwarfsrcfiles is even run on that, but I don't think it should be.
Alex On Wed, 11 Sept 2024 at 15:56, Joel Winarske via lists.yoctoproject.org <joel.winarske=gmail....@lists.yoctoproject.org> wrote: > > Seeing this error when installing archive file to ${PN}-staticdev, (not prior > seen on kirkstone or dunfell): > > ``` > ERROR: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', > '/mnt/raid10/yocto/master/raspberry-pi5/tmp/work/cortexa76-poky-linux/filament-vk/1.54.3/package/usr/lib/filament/libfilamat.a']): > dwarfsrcfiles: > /mnt/raid10/yocto/master/raspberry-pi5/tmp/work/cortexa76-poky-linux/filament-vk/1.54.3/package/usr/lib/filament/libfilamat.a: > not a valid ELF file > ``` > > Running readelf -h on the file I get: > > `readelf: Error: This is a LLVM bitcode file - try extracing and then using > llvm-bcanalyzer` > > Is there an override to handle clang generated archives? > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63823): https://lists.yoctoproject.org/g/yocto/message/63823 Mute This Topic: https://lists.yoctoproject.org/mt/108393840/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-