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)
Fri, Jan 30, 6:46 PM
Unknown Object (File)
Thu, Jan 22, 7:35 AM
Unknown Object (File)
Dec 21 2025, 3:05 AM
Unknown Object (File)
Dec 19 2025, 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
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