Page MenuHomeFreeBSD

Disable LTO on aarch64 when using GCC.
AbandonedPublic

Authored by jhb on Jul 19 2020, 8:46 PM.
Tags
None
Referenced Files
F167279792: D25730.id74659.diff
Thu, Aug 20, 3:01 PM
F167267018: D25730.id74659.diff
Thu, Aug 20, 12:55 PM
F167169010: D25730.diff
Wed, Aug 19, 3:32 PM
Unknown Object (File)
Tue, Aug 18, 8:00 PM
Unknown Object (File)
Thu, Aug 13, 1:54 PM
Unknown Object (File)
Thu, Jul 30, 12:41 PM
Unknown Object (File)
Sat, Jul 25, 11:04 PM
Unknown Object (File)
Jul 20 2026, 3:09 PM
Subscribers
None

Details

Reviewers
emaste
bapt
Summary

The external GCC ports for aarch64 disable LTO due to aarch64-binutils
building static binaries.

Test Plan
  • built world with aarch64-gcc6

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 32420
Build 29897: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Jul 19 2020, 8:46 PM
jhb created this revision.

I feel like we enable STATIC for aarch64-binutils to reduce package build times when using qemu-user. If we are building aarch64 packages natively, then perhaps we can turn that off in devel/binutils and enable LTO for aarch64-gcc?

This revision is now accepted and ready to land.Jul 21 2020, 4:02 PM

Fixed this by enabling LTO in the aarch64-gcc packages instead in D25783.