Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extrae build fails with binutils-2.39 #74

Closed
amvaldesj opened this issue Nov 17, 2022 · 1 comment
Closed

Extrae build fails with binutils-2.39 #74

amvaldesj opened this issue Nov 17, 2022 · 1 comment

Comments

@amvaldesj
Copy link

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 pthread_cond_* 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

gllort pushed a commit that referenced this issue Dec 12, 2022
Change-Id: I550c58cb92f0d2e1402bdb4d64ff4bf18e89d847
@amvaldesj
Copy link
Author

The problem is solved, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant