Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 860459 - [guru] sci-libs/libROM-1.0.0 fails to compile (lto): ld: libscalapack.so: undefined reference to ompi_mpi_comm_null
Summary: [guru] sci-libs/libROM-1.0.0 fails to compile (lto): ld: libscalapack.so: und...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alessandro Barbieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-24 07:59 UTC by Agostino Sarubbo
Modified: 2024-03-25 20:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,106.33 KB, text/plain)
2022-07-24 07:59 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-24 07:59:43 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-24 07:59:46 UTC
Created attachment 793814 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-24 07:59:47 UTC
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