On 17/11/2018 12:43, Sylvestre Ledru wrote:
I guess this is caused by the move to a stage2 build. Maybe clang generates .o files which make strip sad?!

That suggests trying llvm-strip instead (plain 'strip' is GNU binutils strip). For initial testing you could just copy llvm-strip over strip; the final package would probably need something like (in d/rules)

override_dh_strip:
        ln -s [just built]/llvm-strip [somewhere]/strip
        PATH=[somewhere]:$$PATH dh_strip

Though if that produces -dbgsym packages, it would be a good idea to check whether those packages work in gdb, as it suggests that gcc and clang don't agree on the format of debug information.

Reply via email to