HomeFreeBSD

Work around a gcc 4.2 bug on powerpc architectures, where using

Description

Work around a gcc 4.2 bug on powerpc architectures, where using
-fdata-sections can cause bogus "section type conflict" errors. See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33168 for more information.

Since the upstream fixes are under GPLv3 and non-trivial, just disable
using function and data sections, at the cost of a slightly larger
executable.

Direct commit to stable/10, since the version of clang in head and
stable/11 cannot be built by gcc 4.2 at all.

Details

Provenance
dimAuthored on
Parents
rS319630: MFC r319076:
Branches
Unknown
Tags
Unknown