Page MenuHomeFreeBSD

Let cloudabi-clang install a compiler for aarch64.
ClosedPublic

Authored by ed on Oct 15 2015, 3:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 6 2024, 3:57 PM
Unknown Object (File)
Mar 6 2024, 3:57 PM
Unknown Object (File)
Mar 6 2024, 3:57 PM
Unknown Object (File)
Mar 6 2024, 3:57 PM
Unknown Object (File)
Mar 6 2024, 3:47 PM
Unknown Object (File)
Feb 26 2024, 3:15 AM
Unknown Object (File)
Feb 2 2024, 10:01 AM
Unknown Object (File)
Jan 26 2024, 4:04 PM
Subscribers

Details

Summary

Now that CloudABI has been ported over to aarch64, let's extend the
FreeBSD ports to install a functioning toolchain for it.

This change extend the llvm37 port to backport a tiny change that is
needed to make Clang support the CloudABI for aarch64 target (r250416).
This change makes Clang use the right ELFOSABI number, but also makes it
set the right #defines (e.g., __CloudABI__).

It also extends the cloudabi-clang port to set up symlinks against Clang
for aarch64.

Test Plan

This change has been in use locally for some time and it seems to work.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 774
Build 774: arc lint + arc unit

Event Timeline

ed retitled this revision from to Let cloudabi-clang install a compiler for aarch64..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added reviewers: brooks, bapt.

No need to call mkdir twice.

brooks edited edge metadata.

I'll commit this (slightly modified)

This revision is now accepted and ready to land.Oct 15 2015, 6:13 PM
This revision was automatically updated to reflect the committed changes.