Page MenuHomeFreeBSD

Remove -flto when building genassym.o
ClosedPublic

Authored by emaste on Feb 18 2017, 4:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
May 11 2026, 11:16 PM
Unknown Object (File)
May 11 2026, 11:15 PM
Unknown Object (File)
May 11 2026, 11:03 PM
Unknown Object (File)
May 11 2026, 12:40 AM
Unknown Object (File)
May 9 2026, 10:03 PM
Unknown Object (File)
May 3 2026, 7:19 PM
Unknown Object (File)
Apr 29 2026, 3:31 AM
Unknown Object (File)
Apr 22 2026, 11:45 AM
Subscribers
None

Details

Summary

The build process generates *assym.h using nm from *genassym.o (which is in turn created from *genassym.c).

When compiling with link-time optimization (LTO) using -flto, .o files are LLVM bitcode, not ELF objects. This is not acceptable in the genassym process so remove -flto from those ${CC} invocations.

Submitted by: George Rimar

Diff Detail

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

Event Timeline

emaste retitled this revision from to Remove -flto when building genassym.o.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: dim, bdrewery, davide.
dim edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Feb 18 2017, 9:14 PM
This revision was automatically updated to reflect the committed changes.