bsc-pm / dlb

DLB (Dynamic Load Balancing) library is a tool, transparent to the user, that will dynamically react to the application imbalance modifying the number of resources at any given time.

Home Page:https://pm.bsc.es/dlb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dlb doesn't compile with clang

Alessandro-Barbieri opened this issue · comments

If you try to compile dlb with clang, you get this errors:

clang-12clang-12clang-12: : error: clang-12error: error: : no such file or directory: './.libs/libdlb.so': errorno such file or directory: './.libs/libdlb.so'
no such file or directory: './.libs/libdlb.so': 

no such file or directory: './.libs/libdlb.so'
clang-12: error: no such file or directory: './.libs/libdlb.so'

Full log here: https://785535.bugs.gentoo.org/attachment.cgi?id=702351
https://bugs.gentoo.org/785535

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