Page MenuHomeFreeBSD

powerpc: Drop old workaround for old gcc
ClosedPublic

Authored by imp on Feb 13 2023, 8:23 PM.
Tags
None
Referenced Files
F140174862: D38564.diff
Sun, Dec 21, 3:05 AM
Unknown Object (File)
Fri, Dec 19, 5:19 AM
Unknown Object (File)
Nov 15 2025, 10:17 PM
Unknown Object (File)
Nov 13 2025, 5:27 PM
Unknown Object (File)
Nov 12 2025, 8:20 AM
Unknown Object (File)
Oct 23 2025, 1:50 AM
Unknown Object (File)
Oct 16 2025, 6:56 AM
Unknown Object (File)
Oct 15 2025, 12:26 AM
Subscribers

Details

Summary

Very old versions of gcc defined _BIG_ENDIAN and _LITTLE_ENDIAN. So to
work around that, we undefined them here. However, that causes problems
for programs that do:

(and many other variations on that theme). Since this often is the
result of weirdly nested includes in the ports world that are hard to
unwind, drop this workaround to help more ports build out of the box.
If there's still an issue here (and my testing hasn't shown it), we'll
fix the issue in a brand-new way once I have a reproducer.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 49748
Build 46638: arc lint + arc unit