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)
Mon, Apr 14, 9:30 AM
Unknown Object (File)
Sun, Apr 13, 10:44 AM
Unknown Object (File)
Mar 21 2025, 11:39 AM
Unknown Object (File)
Mar 4 2025, 12:39 PM
Unknown Object (File)
Feb 27 2025, 6:50 PM
Unknown Object (File)
Feb 25 2025, 4:16 AM
Unknown Object (File)
Feb 10 2025, 9:25 AM
Unknown Object (File)
Feb 9 2025, 4:19 PM
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