Open Bug 1482266 Opened 6 years ago Updated 2 years ago

Check some binary properties *after* strip

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: glandium, Unassigned)

References

Details

By pure chance, I found that stripping lld-linked binaries removes the GNU_RELRO segment, removing the hardening from bug 1359912.

This seems like a bug in binutils, and upgrading binutils should be enough, but since that changes many things, we need to handle this with care. Anyways, this bug is about the fact that we should actually do post-staging checks, because this was only caught by chance (it triggered a behavior flaw in elfhack, that is now fixed).
Blocks: 1482268
Would it make sense to just roll this into a separate post-build verification task like I suggested in bug 1482690 for symbols?
Makes sense.
No longer blocks: 1482268
Depends on: 1482268
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.