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)
Thu, Sep 10, 9:38 PM
Unknown Object (File)
Tue, Sep 8, 4:55 PM
Unknown Object (File)
Mon, Sep 7, 11:54 PM
Unknown Object (File)
Mon, Sep 7, 10:30 PM
Unknown Object (File)
Sun, Sep 6, 10:52 PM
Unknown Object (File)
Sun, Sep 6, 9:45 PM
Unknown Object (File)
Sun, Sep 6, 1:07 PM
Unknown Object (File)
Sun, Sep 6, 4:52 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

Lint
Lint Skipped
Unit
Tests Skipped

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.