]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Work around a gcc 4.2 bug on powerpc architectures, where using
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Jun 2017 18:40:14 +0000 (18:40 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Jun 2017 18:40:14 +0000 (18:40 +0000)
commitb09c927bfb5c0be62b8a7349281c9bfdb3a47652
tree4da43940425bbfe603219577c679058b83204e6d
parent7cd6bacd26bc560171147da878b4687e83d726e0
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@319631 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/clang/clang.build.mk