Page MenuHomeFreeBSD

Set -mlong-calls where needed to build clang/lldb
ClosedPublic

Authored by andrew on Jan 11 2016, 8:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 2:35 AM
Unknown Object (File)
Tue, Oct 14, 6:33 AM
Unknown Object (File)
Mon, Oct 13, 3:39 AM
Unknown Object (File)
Sun, Oct 5, 5:33 AM
Unknown Object (File)
Fri, Sep 26, 12:54 PM
Unknown Object (File)
Tue, Sep 23, 4:15 AM
Unknown Object (File)
Sep 17 2025, 12:32 AM
Unknown Object (File)
Sep 2 2025, 7:47 PM
Subscribers
None

Details

Summary

This adds -mlong-calls to the ARM builds to the llvm libraries, libc++, clang,
and lldb. This is needed for llvm 3.8.0 as the size of a static clang and
lldb is too large for a branch instruction.

I expect this will also be needed for Thumb-2 builds, but I have yet to test
this case.

Diff Detail

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

Event Timeline

andrew retitled this revision from to Set -mlong-calls where needed to build clang/lldb.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added reviewers: dim, imp, emaste.
dim edited edge metadata.

LGTM, with this applied buildworld TARGET=arm completes successfully with the clang380-import branch.

This revision is now accepted and ready to land.Jan 11 2016, 8:00 PM
This revision was automatically updated to reflect the committed changes.