Page MenuHomeFreeBSD

powerpc: Drop old workaround for old gcc
ClosedPublic

Authored by imp on Feb 13 2023, 8:23 PM.
Tags
None
Referenced Files
F169174303: D38564.id117218.diff
Mon, Aug 31, 5:09 PM
F169111203: D38564.id.diff
Mon, Aug 31, 10:57 AM
Unknown Object (File)
Sun, Aug 30, 5:36 AM
Unknown Object (File)
Tue, Aug 25, 9:14 PM
Unknown Object (File)
Tue, Aug 25, 2:14 PM
Unknown Object (File)
Tue, Aug 25, 1:38 PM
Unknown Object (File)
Wed, Aug 19, 3:40 AM
Unknown Object (File)
Mon, Aug 17, 6:17 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