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
F109144049: D4855.diff
Sat, Feb 1, 9:12 AM
Unknown Object (File)
Nov 25 2024, 12:54 AM
Unknown Object (File)
Nov 6 2024, 2:19 PM
Unknown Object (File)
Nov 6 2024, 7:38 AM
Unknown Object (File)
Oct 31 2024, 10:31 PM
Unknown Object (File)
Oct 23 2024, 8:49 AM
Unknown Object (File)
Oct 19 2024, 6:32 PM
Unknown Object (File)
Oct 2 2024, 2:09 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.