libcxx is not a valid ELF file when compiling with LTO
sknsean opened this issue · 0 comments
sknsean commented
Describe the bug
ERROR: libcxx-15.0.7-r0 do_package: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', '/src/build/tmp-glibc/work/cortexa7t2hf-neon-oe-linux-gnueabi/libcxx/15.0.7-r0/package/usr/lib/libc++.a']):
dwarfsrcfiles: /src/build/tmp-glibc/work/cortexa7t2hf-neon-oe-linux-gnueabi/libcxx/15.0.7-r0/package/usr/lib/libc++.a: not a valid ELF file
To Reproduce
Steps to reproduce the behavior:
- Enable LTO
- Build libcxx
Expected behavior
No error