Closed Alessandro-Barbieri closed 3 years ago
Sorry, I cannot reproduce the error. I'm using the same configure line as in your logs except for CC=clang
, since it's not my default, and CFLAGS="-Wno-error"
because there was an unwanted warning at that version that is already fixed in master. And the compilation succeeds.
> clang --version
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
> git clone https://github.com/bsc-pm/dlb.git -b v2.1 dlb
> cd dlb
> ./bootstrap
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/dlb-2.1-r1 --htmldir=/usr/share/doc/dlb-2.1-r1/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --enable-shared --with-pic --disable-instrumentation --enable-openmp --without-hwloc --without-mpi CC=clang CFLAGS="-Wno-error"
> make
Your error suggests that is something related to the build system. Can you run either ./boostrap
or autoreconf -fi
before the configure step?
Let's close for now, I've re tried and I can't reproduce
If you try to compile dlb with clang, you get this errors:
Full log here: https://785535.bugs.gentoo.org/attachment.cgi?id=702351 https://bugs.gentoo.org/785535