[ET Trac] #2796: build failure using gcc14 on macOS 23.0.0

Roland Haas trac-noreply at einsteintoolkit.org
Fri May 10 12:54:32 CDT 2024


#2796: build failure using gcc14 on macOS 23.0.0

 Reporter: Roland Haas
   Status: new
Milestone: 
  Version: 
     Type: bug
 Priority: major
Component: 

Trying to build on a M1 mac with macOS 23.0.0 using a freshly installed homebrew and Xcode and installed packages

```
brew install fftw gcc gsl hwloc jpeg open-mpi openssl cmake pkg-config bash subversion
```

Fails in Baikal with:

```
In file included from /Users/rhaas/Cactus/configs/sim/build/Baikal/Baikal_BSSN_c
onstraints_order_2.c:1:
/Users/rhaas/Cactus/arrangements/WVUThorns/Baikal/src/./simd/simd_intrinsics.h:1
02:25: error: unknown type name 'REAL'
  102 | #define REAL_SIMD_ARRAY REAL
```

Option list is simfactory’s generated one:

```
# generic

# This option list is used internally by simfactory as a template during the
# sim setup and sim setup-silent commands
# Edit at your own risk

# Whenever this version string changes, the application is configured
# and rebuilt from scratch
VERSION = 2018-12-13
CPP = cpp-14
CC = gcc-14
CXX = g++-14
FPP = cpp-14
F90 = gfortran-14

CPPFLAGS =
FPPFLAGS = -traditional

CFLAGS   = -g -std=gnu99
# if compiler is old and you do not need AMReX, can change to gnu++11
CXXFLAGS = -g -std=gnu++17
F90FLAGS = -g -fcray-pointer -ffixed-line-length-none

LDFLAGS = -rdynamic

DEBUG           = no
CPP_DEBUG_FLAGS =
C_DEBUG_FLAGS   =
CXX_DEBUG_FLAGS =

OPTIMISE           = yes
CPP_OPTIMISE_FLAGS =
C_OPTIMISE_FLAGS   = -O2
CXX_OPTIMISE_FLAGS = -O2
F90_OPTIMISE_FLAGS = -O2

PROFILE           = no
CPP_PROFILE_FLAGS =
C_PROFILE_FLAGS   = -pg
CXX_PROFILE_FLAGS = -pg
F90_PROFILE_FLAGS = -pg

WARN           = yes
CPP_WARN_FLAGS = -Wall
C_WARN_FLAGS   = -Wall
CXX_WARN_FLAGS = -Wall
F90_WARN_FLAGS = -Wall

OPENMP           = yes
CPP_OPENMP_FLAGS = -fopenmp
FPP_OPENMP_FLAGS = -D_OPENMP
C_OPENMP_FLAGS   = -fopenmp
CXX_OPENMP_FLAGS = -fopenmp
F90_OPENMP_FLAGS = -fopenmp

VECTORISE                = yes
VECTORISE_ALIGNED_ARRAYS = no
VECTORISE_INLINE         = yes

PTHREADS_DIR = NO_BUILD
```

Full log attached.

Presumably some issue about SIMD / no-SIMD.
attachment: make.log (https://api.bitbucket.org/2.0/repositories/einsteintoolkit/tickets/issues/2796/attachments/make.log)


--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2796/build-failure-using-gcc14-on-macos-2300
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20240510/080fe6d8/attachment.htm>


More information about the Trac mailing list