Page MenuHomeFreeBSD

Add arm64 to universe if binutils is available
ClosedPublic

Authored by emaste on Apr 16 2015, 2:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 23 2024, 4:52 PM
Unknown Object (File)
Jan 2 2024, 6:14 AM
Unknown Object (File)
Jan 2 2024, 6:13 AM
Unknown Object (File)
Dec 23 2023, 6:04 AM
Unknown Object (File)
Dec 23 2023, 5:48 AM
Unknown Object (File)
Dec 19 2023, 11:08 PM
Unknown Object (File)
Nov 6 2023, 8:18 AM
Unknown Object (File)
Sep 19 2023, 11:24 AM

Details

Summary

arm64 relies on an external binutils port or package because the in-tree linker from binutils 2.17.50 does not support arm64. Add arm64 to universe if the linker is available.

buildworld and buildkernel use the external binutils automatically, so pkg install aarch64-binutils is sufficient for building FreeBSD/arm64.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Add arm64 to universe if binutils is available.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: imp, andrew.
emaste added a subscriber: Unknown Object (MLST).

Would it be difficult to have a warning if the package is not installed?

In D2302#4, @andrew wrote:

Would it be difficult to have a warning if the package is not installed?

Perhaps

.else                                                                           
@echo ">> arm64 skipped - install aarch64-binutils port or package to build"
emaste edited edge metadata.

Add a message if we skip arm64 because we don't have binutils

Makefile
383 ↗(On Diff #4849)

Also add

universe_epilogue: universe_arm64_skip
imp edited edge metadata.

I like this...

This revision is now accepted and ready to land.Apr 16 2015, 7:10 PM
andrew edited edge metadata.
emaste updated this revision to Diff 4865.

Closed by commit rS281629 (authored by @emaste).