[Bug 230371] stage-qa doesn't complain about unstripped shared libs when they don't have .debug_info sections

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 5 07:40:20 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230371

Yuri Victorovich <yuri at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[regression] stage-qa       |stage-qa doesn't complain
                   |doesn't complain about      |about unstripped shared
                   |unstripped shared libs any  |libs when they don't have
                   |more                        |.debug_info sections

--- Comment #1 from Yuri Victorovich <yuri at freebsd.org> ---
stage-qa only looks at .debug_info sections, while the presence of .symtab and
.strtab sections is also considered to make ELF unstripped.

Attaching as patch.

It's possible that there are some other sections that make ELF unstripped. I
couldn't find documentation about this.

And alternative approach is to use file(1). When file(1) says 'not stripped',
this is when ELF isn't stripped.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list