Page MenuHomeFreeBSD

powerpc: Drop old workaround for old gcc
ClosedPublic

Authored by imp on Feb 13 2023, 8:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 15, 10:17 PM
Unknown Object (File)
Thu, Nov 13, 5:27 PM
Unknown Object (File)
Wed, Nov 12, 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
Unknown Object (File)
Oct 12 2025, 7:24 PM
Unknown Object (File)
Oct 12 2025, 7:52 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 Not Applicable
Unit
Tests Not Applicable