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)
Sun, Nov 23, 10:43 AM
Unknown Object (File)
Sat, Nov 22, 5:02 PM
Unknown Object (File)
Sat, Nov 22, 12:29 PM
Unknown Object (File)
Sat, Nov 22, 9:14 AM
Unknown Object (File)
Fri, Nov 21, 6:37 AM
Unknown Object (File)
Fri, Nov 21, 6:26 AM
Unknown Object (File)
Fri, Nov 21, 6:25 AM
Unknown Object (File)
Fri, Nov 21, 6:24 AM
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.