FreeBSD Bugzilla – Attachment 206115 Details for
Bug 239266
lang/gcc8 (and lang/gcc9) fail to build with clang8: tree-vect-loop.c:4979:12: error: expected unqualified-id
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed hack to work around clang issue
patch-clang-vec_step (text/plain), 2.43 KB, created by
Gerald Pfeifer
on 2019-07-28 13:17:57 UTC
(
hide
)
Description:
Proposed hack to work around clang issue
Filename:
MIME Type:
Creator:
Gerald Pfeifer
Created:
2019-07-28 13:17:57 UTC
Size:
2.43 KB
patch
obsolete
>Index: lang/gcc8/files/patch-clang-vec_step >=================================================================== >--- lang/gcc8/files/patch-clang-vec_step (nonexistent) >+++ lang/gcc8/files/patch-clang-vec_step (working copy) >@@ -0,0 +1,17 @@ >+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266 reports how >+clang unfortunately poisons user namespace by default (without any >+special options), so we need to avoid using vec_step as a variable. >+ >+Index: gcc/tree-vect-loop.c >+=================================================================== >+--- gcc/tree-vect-loop.c (revision 273856) >++++ gcc/tree-vect-loop.c (working copy) >+@@ -55,6 +55,8 @@ along with GCC; see the file COPYING3. If not see >+ #include "vec-perm-indices.h" >+ #include "tree-eh.h" >+ >++#define vec_step vec_step_ >++ >+ /* Loop Vectorization Pass. >+ >+ This pass tries to vectorize loops. > >Property changes on: lang/gcc8/files/patch-clang-vec_step >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/gcc8-devel/Makefile >=================================================================== >--- lang/gcc8-devel/Makefile (revision 507447) >+++ lang/gcc8-devel/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= gcc >-PORTVERSION= 8.3.1.s20190719 >+PORTVERSION= 8.3.1.s20190726 > CATEGORIES= lang > MASTER_SITES= GCC/snapshots/${DIST_VERSION} > PKGNAMESUFFIX= ${SUFFIX}-devel >Index: lang/gcc8-devel/distinfo >=================================================================== >--- lang/gcc8-devel/distinfo (revision 507447) >+++ lang/gcc8-devel/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1563603598 >-SHA256 (gcc-8-20190719.tar.xz) = a8118dcc3e85f9bf83f83d5f5203bf8ddad29bfd419fd34cdc2bea7c0c29ad7c >-SIZE (gcc-8-20190719.tar.xz) = 61893124 >+TIMESTAMP = 1564210652 >+SHA256 (gcc-8-20190726.tar.xz) = 1af961f3e85d70ae904592fb24235a1ddb50c883f272fff7a93f7bd768754e57 >+SIZE (gcc-8-20190726.tar.xz) = 61895260 >Index: lang/gcc9-devel/Makefile >=================================================================== >--- lang/gcc9-devel/Makefile (revision 507447) >+++ lang/gcc9-devel/Makefile (working copy) >@@ -69,7 +69,7 @@ > > .elif ${ARCH} == powerpc64 > CONFIGURE_ENV+= UNAME_m="powerpc64" >-USE_GCC= yes >+USE_GCC= 8 > .endif > > LANGUAGES:= c,c++,objc,fortran
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239266
:
205872
|
206115
|
206116