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)
Thu, Mar 5, 4:32 AM
Unknown Object (File)
Wed, Mar 4, 10:39 PM
Unknown Object (File)
Sun, Mar 1, 9:53 PM
Unknown Object (File)
Sun, Mar 1, 9:39 PM
Unknown Object (File)
Wed, Feb 25, 11:03 AM
Unknown Object (File)
Jan 31 2026, 11:16 AM
Unknown Object (File)
Dec 22 2025, 9:47 AM
Unknown Object (File)
Dec 10 2025, 10:00 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.