[Bug 239266] lang/gcc8 fails to build with clang8: tree-vect-loop.c:4979:12: error: expected unqualified-id
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 24 21:03:19 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266
--- Comment #15 from Andreas Tobler <andreast at FreeBSD.org> ---
(In reply to Gerald Pfeifer from comment #10)
Untested, this might be a way to go:
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 273163)
+++ gcc/config.gcc (working copy)
@@ -2643,6 +2643,11 @@
tmake_file="${tmake_file} rs6000/t-freebsd64"
extra_options="${extra_options} rs6000/linux64.opt"
;;
+ case ${with_abi} in
+ elfv2)
+ tm_defines="${tm_defines} LINUX64_DEFAULT_ABI_ELFv2=1"
+ ;;
+
*)
tm_file="${tm_file} rs6000/freebsd.h"
;;
You have to configure gcc with --with-abi=elfv2. The diff above is against gcc
trunk.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list