For example, math/triangle. Please remove the STRIP_CMD command and observe that stage-qa doesn't complain.
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.
Created attachment 195891 [details] patch adding 2 more section types to the check
Personally, I would prefer to go with what file(1) says about ELF being stripped.
This goes against what ports r469589 did.