https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-libs/libROM-1.0.0 fails to compile (lto). Discovered on: amd64 (internal ref: guru_tinderbox) NOTE: This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Created attachment 793814 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `MPI_Comm_c2f' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `MPI_Comm_f2c' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `ompi_mpi_comm_null' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `ompi_mpi_comm_world' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `ompi_mpi_cplex' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `ompi_mpi_dblcplex' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `ompi_mpi_double' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `ompi_mpi_float' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `ompi_mpi_int' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `ompi_mpi_op_sum' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `ompi_mpi_packed' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libscalapack.so: undefined reference to `ompi_mpi_unsigned_short' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libmpi.so.40, needed by /usr/lib64/libscalapack.so, not found (try using -rpath or -rpath-link) FAILED: tests/smoke_test FAILED: tests/test_include FAILED: tests/uneven_dist FAILED: tests/weak_scaling collect2: error: ld returned 1 exit status
Closed by https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6b3f15b1a76a2b066f9ff763fab5588bab902c6