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)
Feb 20 2024, 8:36 PM
Unknown Object (File)
Dec 20 2023, 2:43 AM
Unknown Object (File)
Sep 21 2023, 10:29 PM
Unknown Object (File)
Sep 17 2023, 7:25 AM
Unknown Object (File)
Sep 11 2023, 1:42 PM
Unknown Object (File)
Jul 1 2023, 2:40 AM
Unknown Object (File)
Jun 29 2023, 12:48 AM
Unknown Object (File)
Jun 9 2023, 2:36 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.