Page MenuHomeFreeBSD

Remove -flto when building genassym.o
ClosedPublic

Authored by emaste on Feb 18 2017, 4:10 AM.
Tags
None
Referenced Files
F151949085: D9659.id.diff
Sat, Apr 11, 5:14 PM
Unknown Object (File)
Thu, Apr 9, 11:12 PM
Unknown Object (File)
Mon, Apr 6, 3:59 AM
Unknown Object (File)
Mon, Mar 30, 1:50 PM
Unknown Object (File)
Mon, Mar 30, 4:20 AM
Unknown Object (File)
Sat, Mar 28, 10:43 AM
Unknown Object (File)
Wed, Mar 25, 7:42 AM
Unknown Object (File)
Sat, Mar 14, 4:23 PM
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.