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)
Wed, May 1, 5:16 AM
Unknown Object (File)
Apr 17 2024, 5:24 PM
Unknown Object (File)
Dec 20 2023, 8:26 AM
Unknown Object (File)
Nov 23 2023, 10:38 AM
Unknown Object (File)
Aug 27 2023, 12:28 PM
Unknown Object (File)
Aug 13 2023, 2:04 PM
Unknown Object (File)
Jul 8 2023, 10:43 PM
Unknown Object (File)
Jul 6 2023, 9:01 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