FreeBSD Bugzilla – Attachment 238127 Details for
Bug 266196
science/octopus: Fails to build with GCC 12: Fatal Error: Sorry, polymorphic arrays not yet supported for firstprivate compilation terminated.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Respect USE_GCC for gfortran
fortran+gcc.diff (text/plain), 813 bytes, created by
Thierry Thomas
on 2022-11-16 17:39:58 UTC
(
hide
)
Description:
Respect USE_GCC for gfortran
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2022-11-16 17:39:58 UTC
Size:
813 bytes
patch
obsolete
>diff --git a/Mk/Uses/fortran.mk b/Mk/Uses/fortran.mk >index 09ebd62b1a0f..f2414fe04161 100644 >--- a/Mk/Uses/fortran.mk >+++ b/Mk/Uses/fortran.mk >@@ -14,7 +14,11 @@ fortran_ARGS= ${FORTRAN_DEFAULT} > . endif > > . if ${fortran_ARGS} == gfortran >+. if empty(USE_GCC) > _GCC_VER= ${GCC_DEFAULT:S/.//} >+. else >+_GCC_VER= ${EXP_GCC_VER} >+. endif > BUILD_DEPENDS+= gfortran${_GCC_VER}:lang/gcc${_GCC_VER} > RUN_DEPENDS+= gfortran${_GCC_VER}:lang/gcc${_GCC_VER} > F77= gfortran${_GCC_VER} >diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk >index 3c292dc97282..d1bab1629cf4 100644 >--- a/Mk/bsd.gcc.mk >+++ b/Mk/bsd.gcc.mk >@@ -87,6 +87,8 @@ _GCC_FOUND:= ${_USE_GCC} > . endif > . endfor > >+EXP_GCC_VER= ${_USE_GCC} >+ > . if !defined(_GCCVERSION_OKAY) > IGNORE= Unknown version of GCC specified (USE_GCC=${USE_GCC}) > . endif
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
Flags:
thierry
:
maintainer-approval-
Actions:
View
|
Diff
Attachments on
bug 266196
:
238118
|
238126
| 238127 |
238129