Open valentin-seitz opened 4 months ago
Thanks for reporting this. It is indeed an issue that we need to look at. In the meantime, could you use the -Wno-error=incompatible-pointer-types
CFLAG?
Doing
CFLAGS="-Wno-error=incompatible-pointer-types" ./configure --without-mpi --without-unwind --without-papi --without-binutils
will lead to:
common/mpi2out.c: In function 'merger_post':
common/mpi2out.c:1444:25: error: implicit declaration of function 'Address2Info_Initialize'; did you mean 'AddressCollector_Initialize'? [-Wimplicit-function-declaration]
1444 | Address2Info_Initialize (get_merge_ExecutableFileName());
| ^~~~~~~~~~~~~~~~~~~~~~~
| AddressCollector_Initialize
after a make
Using CFLAGS="-Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration" ./configure --without-mpi --without-unwind --without-papi --without-binutils
works for me and extrae builds :)
For what is worth, I had to use "-Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration -Wno-error=int-conversion"
to build extrae 4.1.2 with gcc 14.2 (and I added those flags to the Spack recipe: https://github.com/spack/spack/pull/47407)
As GCC 14 promoted some warnings into errors, it is currently not possible to compile Extrae with GCC versions >= 14.
To reproduce this error, configure the latest version of Extrae(v.4.2.0) with:
while using the GCC version:
The error I get running
make
is:Looking at the GCC release notes the incompatible-pointer-types warning are now promoted to a error, stopping the compilation: https://gcc.gnu.org/gcc-14/porting_to.html#incompatible-pointer-types
This is espescially problematic, since a lot of distributions tend to ship the newest compilers like e.g. archlinux or Ubuntu. So Extrae will not be buildable in those distributions without downloading an older compiler