> Note the "-l" hanging out there by itself.
>
> I also note the "-levent_pthreads" immediately preceding it, which is the 
> last argument from the Open MPI-issued compile line.
>
> That means that libtool itself is adding the -l without a following library 
> name (or erroneously blank following library name).
>
> It might be worth checking the .la files that libtool is examining -- perhaps 
> from elsewhere on the system / outside the source/build trees -- here to see 
> if there are any unexpectedly-empty library names.  If those .la files got 
> built incorrectly somehow, that could lead to link errors later like this...?
>
> Is it possible to check the build product from your automated CI like this?
Not sure.
We can re-run the build until it fails (no luck so far), but we don't
have the image.

> This is using the Open MPI-bootstrap-provided libtool, right (i.e., from the 
> Open MPI 3.0.x tarball)?  I.e., you didn't invoke "autogen.pl" again to 
> re-bootstrap the Open MPI build system, right?
>
Before configure the following is run:

        (cd config && autom4te --language=m4sh opal_get_version.m4sh -o
opal_get_version.sh)
        ./autogen.pl --force

Then (in this case):

./configure --build=powerpc64-linux-gnu --prefix=/usr 
   --includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info 
   --sysconfdir=/etc --localstatedir=/var --disable-silent-rules 
--libdir=\${prefix}/lib/powerpc64-linux-gnu 
   --libexecdir=\${prefix}/lib/powerpc64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode 
   --disable-dependency-tracking --with-verbs 
--with-pmix=/usr/lib/powerpc64-linux-gnu/pmix 
  --with-jdk-dir=/usr/lib/jvm/default-java --enable-mpi-java 
--enable-opal-btl-usnic-unit-tests --disable-wrapper-rpath 
  --with-libevent=external --enable-mpi-thread-multiple --disable-silent-rules 
--enable-mpi-cxx 
   --with-hwloc=/usr/ --with-libltdl=/usr/ --with-devel-headers --with-slurm 
--with-sge --without-tm    
  --disable-vt --sysconfdir=/etc/openmpi 
--libdir=\${prefix}/lib/powerpc64-linux-gnu/openmpi/lib 
   --includedir=\${prefix}/lib/powerpc64-linux-gnu/openmpi/include
configure: WARNING: unrecognized options: --disable-maintainer-mode, 
--enable-mpi-thread-multiple, --disable-vt
checking for perl... perl

 
regards
Alastair



-- 
Alastair McKinstry, <alast...@sceal.ie>, <mckins...@debian.org>, 
https://diaspora.sceal.ie/u/amckinstry
Commander Vimes didn’t like the phrase “The innocent have nothing to fear,”
 believing the innocent had everything to fear, mostly from the guilty but in 
the longer term
 even more from those who say things like “The innocent have nothing to fear.”
 - T. Pratchett, Snuff

Reply via email to