Hello Rebecca,
Le 17/11/2018 à 13:43, Sylvestre Ledru a écrit :
Le 17/11/2018 à 12:06, Rebecca N. Palmer a écrit :
Source: llvm-toolchain-7
Version: 1:7.0.1~+rc2-3
LLVM 7 no longer builds any debug symbol packages, and at the point in the build
log where it attempts to do so, there are >1000 messages of the form
strip --strip-debug --remove-section=.comment --remove-section=.note
--enable-deterministic-archives debian/liblld-7/usr/lib/llvm-7/lib/liblldWasm.a
strip: debian/liblld-7/usr/lib/llvm-7/lib/stLkO94N/Driver.cpp.o: failed to find
link section for section 322
strip: debian/liblld-7/usr/lib/llvm-7/lib/stLkO94N/Driver.cpp.o: failed to find
link section for section 322
strip: debian/liblld-7/usr/lib/llvm-7/lib/stLkO94N/InputChunks.cpp.o: failed to
find link section for section 71
strip: debian/liblld-7/usr/lib/llvm-7/lib/stLkO94N/InputChunks.cpp.o: failed to
find link section for section 71
For most of LLVM's binaries, both of these first happened in 7-9~exp1, but as
the changes from 7-8 to 7-9~exp1 are not obviously relevant, the cause might be
outside LLVM itself.
I guess this is caused by the move to a stage2 build. Maybe clang generates .o
files which make strip sad?!
Some help with that stuff would be appreciated :)
> override_dh_strip:
> ln -s [just built]/llvm-strip [somewhere]/strip
> PATH=[somewhere]:$$PATH dh_strip
You rock! it worked!
I fixed it in 6bcd0a96b2b95d2e85fdf9d6c2e4c817624e1b36
Thanks!
S