slibtool: link: ln -s libfabric.so.1.14.2 src/.libs/libfabric.so.1 slibtool: link: ln -s libfabric.so.1.14.2 src/.libs/libfabric.so slibtool: link: ln -s ../libfabric.la src/.libs/libfabric.la slibtool: link: ln -s ../libfabric.la src/.libs/libfabric.lai slibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -O2 -DNDEBUG -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -Wl,-O1 -Wl,- -as-needed -L/lib -o util/fi_info util/info.o src/libfabric.la -latomic -lrt -lpthread slibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -O2 -DNDEBUG -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -Wl,-O1 -Wl,- -as-needed -L/lib -o util/fi_strerror util/strerror.o src/libfabric.la -latomic -lrt -lpthread slibtool: link: x86_64-pc-linux-gnu-gcc util/info.o -Wall -O2 -DNDEBUG -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -Wl,-O1 -Wl,--as-ne eded -L/lib -Lsrc/.libs -lfabric -lrt -latomic -lrt -lpthread -latomic -lrt -o util/.libs/fi_info slibtool: link: x86_64-pc-linux-gnu-gcc util/strerror.o -Wall -O2 -DNDEBUG -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -Wl,-O1 -Wl,--a s-needed -L/lib -Lsrc/.libs -lfabric -lrt -latomic -lrt -lpthread -latomic -lrt -o util/.libs/fi_strerror /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/.libs/libfabric.so: undefined reference to `dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/.libs/libfabric.so: undefined reference to `dlclose' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/.libs/libfabric.so: undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/.libs/libfabric.so: undefined reference to `dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/.libs/libfabric.so: undefined reference to `dlclose' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/.libs/libfabric.so: undefined reference to `dlsym' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status slibtool: exec error upon slbt_exec_link_create_executable(), line 1613: (see child process error messages). slibtool: < returned to > slbt_exec_link(), line 1902. make[1]: *** [Makefile:8703: util/fi_info] Error 2 make[1]: *** Waiting for unfinished jobs.... slibtool: exec error upon slbt_exec_link_create_executable(), line 1613: (see child process error messages). slibtool: < returned to > slbt_exec_link(), line 1902. make[1]: *** [Makefile:8715: util/fi_strerror] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-block/libfabric-1.11.2/work/libfabric-1.11.2' make: *** [Makefile:5252: all] Error 2 * ERROR: sys-block/libfabric-1.11.2::gentoo failed (compile phase): * emake failed
Created attachment 691758 [details] libfabric-1.11.2:20210316-094432.log buildlog
This is unrelated to slibtool and/or lld
Created attachment 691761 [details] libfabric-1.11.2:20210316-100100.log buildlog
dash is the issue
Seeing a few instances of == ./configure: 27026: test: xno: unexpected operator
Created attachment 692337 [details, diff] https://github.com/ofiwg/libfabric/pull/6646 configure.ac has several instances of '==' which is not portable shell, it should use '=' instead.
The fix was merged upstream. :)