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
62 stars 38 forks source link

configure fails to detect missing libiberty #7

Closed devreal closed 5 years ago

devreal commented 6 years ago

Running configure on Extrae 3.5.2 with the following result on my local laptop:

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

I get the following error during linking:

make[4]: Entering directory '/home/joseph/src/extrae-3.5.2/build/src/merger/parallel'
  CCLD     mpimpi2prv
libtool:   error: require no space between '-L' and '-liberty'

It appears that configure does not correctly detect if libiberty is not installed correctly. Installing the package libiberty-dev fixes the problem but imo configure should detect the missing library.

gllort commented 6 years ago

We couldn't reproduce this issue. Might be related to specific (old) versions of autotools / libtool?

libiberty is an optional dependence for better demangling in Dyninst, which is no longer distributed for third-party use, but remains as an internal support library for binutils and gcc. Because of this, it might be included in Dyninst's source code to make it self-contained, according to this topic:

https://github.com/dyninst/dyninst/issues/342

We are waiting for the next major release of Dyninst 10 (~July 2018) to revisit this issue, as the whole dependency might get removed.

Marc43 commented 5 years ago

I am going through the same exact error. I would try with an older version. Have you took a look to what is going on?

Thank you.

gllort commented 5 years ago

@Marc43, can you please share the list of configure options that you're using?