Bug#913946: llvm*7 unstripped

Rebecca N. Palmer rebecca_palmer at zoho.com
Thu Dec 6 20:59:22 GMT 2018


Control: retitle -1 llvm*: not properly stripped, -dbgsym missing
Control: tags -1 - patch

dh_strip uses objcopy as well as strip, so we might need to similarly 
force that to the LLVM version.

On 05/12/2018 22:50, Sven Joachim wrote:
> the installed libraries are unstripped,

While this could be the result of dh_strip crashing, local testing 
suggests llvm-strip --remove-section=.comment --remove-section=.note 
--strip-unneeded [library filename] 
(https://sources.debian.org/src/debhelper/11.5.3/dh_strip/#L361) 
*doesn't actually strip anything*.

They also don't appear to be working debug symbols (backtraces from the 
"unstripped" libllvm7:amd64 are as stripped as usual, in both gdb and 
lldb).  I don't know if this is #914021 or a new problem.

> And why is it executable?

dh_fixperms is before dh_strip, and llvm-strip sets its output to 
executable.  This can probably be fixed by calling dh_fixperms again 
after dh_strip.



More information about the Pkg-llvm-team mailing list