[PATCH v2 03/12] sandbox: Migrate getopt section to linker list
Andrew Scull
ascull at google.com
Mon May 16 12:47:22 CEST 2022
> Looking at this again with a recent fetch of master, LTO is deleting
> the linker list entries for the getopt declarations. Both clang and
> gcc do this. I've not got an idea why at the moment and would love to
> hear any suggestions.
Turns out that this isn't a new problem and include/event.h already
had a work around by adding the 'used' attribute that I copied.
Sorting out the rebase, the tests look better locally, up until they
ask to run as root, which I don't feel comfortable with, so I am
sending it to the CI for more complete coverage.
More information about the U-Boot
mailing list