bsc-performance-tools / extrae

Instrumentation framework to generate execution traces of the most used parallel runtimes.
https://tools.bsc.es/extrae
GNU Lesser General Public License v2.1
63 stars 40 forks source link

Extrae build fails with binutils-2.39 #74

Closed amvaldesj closed 1 year ago

amvaldesj commented 1 year ago

OS: Debian GNU/Linux bookworm/sid x86_64 binutils-dev: 2.39-8 gcc (Debian 12.2.0-9) 12.2.0 extrae: 4.0.1

Instalation from Git. steps:

$ ./bootstrap

$ ./configure --enable-openmp --without-dyninst --without-unwind --with-papi=/usr/local/ --with-mpi=/usr/lib/x86_64-linux-gnu/openmpi/

Package configuration for Extrae 4.0.1

Installation prefix: /usr/local Cross compilation: no CC: gcc CXX: g++ Binary type: 64 bits

MPI instrumentation: yes MPI home: /usr/lib/x86_64-linux-gnu/openmpi/ MPI launcher was not found. It is NOT necessary to compile Extrae but it is necessary to execute the regression tests. Fortran decoration: 0 underscores mixed C/Fortran libraries? no shared libraries? yes MPI capabilities: 1-sided I/O MPI_Comm_spawn MPI3 GASPI instrumentation: no OpenMP instrumentation: yes, through LD_PRELOAD GNU OpenMP: yes IBM OpenMP: no Intel OpenMP: yes OMPT: yes OpenSHMEM instrumentation: no pThread instrumentation: yes Support for pthread_barrier_wait: yes Support for pthreadcond* calls: yes CUDA instrumentation: no OpenCL instrumentation: no OPENACC instrumentation: no Java instrumentation: unsupported

Performance counters: yes Performance API: PAPI PAPI home: /usr/local/ Sampling support: yes

PEBS sampling: yes

libbfd available: yes (/usr/lib/x86_64-linux-gnu) libiberty available: yes (/usr/lib/x86_64-linux-gnu) zlib available: yes (/usr/local) libxml2 available: yes (/usr) BOOST available: no callstack access: through backtrace (from linux)

Dynamic instrumentation: yes (not found)

Optional features:

On-line analysis: no Clock routine: POSIX / clock_gettime, but don't need to link against posix clock library explicitly Heterogeneous support: no Parallel merge: yes

The error:

make[4]: Entering directory '/home/amvaldesj/programs/extrae/src/merger/parallel' CC ../common/libmpimpi2prv_la-bfd_manager.lo ../common/bfd_manager.c:228:78: error: unknown type name 'PTR' 228 | static void BFDmanager_findAddressInSection (bfd abfd, asection section, PTR data) | ^~~ ../common/bfd_manager.c: In function 'BFDmanager_translateAddress': ../common/bfd_manager.c:300:50: error: 'BFDmanager_findAddressInSection' undeclared (first use in this function) 300 | bfd_map_over_sections (bfdImage, BFDmanager_findAddressInSection, &syminfo); | ^~~~~~~ ../common/bfd_manager.c:300:50: note: each undeclared identifier is reported only once for each function it appears in make[4]: [Makefile:1328: ../common/libmpimpi2prv_la-bfd_manager.lo] Error 1 make[4]: Leaving directory '/home/amvaldesj/programs/extrae/src/merger/parallel' make[3]: [Makefile:1339: all-recursive] Error 1 make[3]: Leaving directory '/home/amvaldesj/programs/extrae/src/merger' make[2]: [Makefile:795: all-recursive] Error 1 make[2]: Leaving directory '/home/amvaldesj/programs/extrae/src' make[1]: [Makefile:1276: all-recursive] Error 1 make[1]: Leaving directory '/home/amvaldesj/programs/extrae' make: *** [Makefile:1208: all] Error 2

amvaldesj commented 1 year ago

The problem is solved, thanks.