Page MenuHomeFreeBSD

disable build-id in i386 binary boot components
ClosedPublic

Authored by emaste on May 18 2018, 2:03 AM.
Tags
None
Referenced Files
F81619858: D15470.diff
Fri, Apr 19, 2:18 AM
Unknown Object (File)
Mar 7 2024, 3:24 AM
Unknown Object (File)
Jan 14 2024, 3:47 AM
Unknown Object (File)
Jan 12 2024, 9:22 AM
Unknown Object (File)
Dec 20 2023, 3:18 AM
Unknown Object (File)
Sep 29 2023, 11:54 AM
Unknown Object (File)
Aug 24 2023, 3:36 AM
Unknown Object (File)
Aug 8 2023, 12:41 PM
Subscribers
None

Details

Summary

A user may experiment with build-id by e.g. adding LDFLAGS=-Wl,--build-id=sha1 to /etc/make.conf. If a user does this, the build-id note ends up added to e.g. mbr or pmbr's .text, making it too large (532 bytes). Explicitly turn off build-id for these components.

(I was the user in question.)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 23 2018, 1:50 PM
This revision was automatically updated to reflect the committed changes.