https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-libs/sundials-3.2.1 fails to compile with -fno-common. Discovered on: amd64 (internal ref: tinderbox) NOTE: To reproduce this issue you may want to set CFLAGS="${CFLAGS} -fno-common" or compile it with gcc-10 that enables -fno-common by default.
Created attachment 699810 [details] build.log build log and emerge --info
Possible context of error(s): /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_dense.c.o):(.bss+0x18): multiple definition of `F2C_IDA_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x18): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_dense.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_dense.c.o):(.bss+0x10): multiple definition of `F2C_KINSOL_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_dense.c.o):(.bss+0x20): multiple definition of `F2C_CVODE_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_dense.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_dense.c.o):(.bss+0x18): multiple definition of `F2C_IDA_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x18): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_dense.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_dense.c.o):(.bss+0x10): multiple definition of `F2C_KINSOL_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_dense.c.o):(.bss+0x20): multiple definition of `F2C_CVODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_dense.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_sol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fcvnulllinsol.c.o):(.bss+0x0): multiple definition of `F2C_CVODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fcvnullmatrix.c.o):(.bss+0x0): multiple definition of `F2C_CVODE_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_dense.c.o):(.bss+0x18): multiple definition of `F2C_IDA_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x18): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_dense.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_dense.c.o):(.bss+0x10): multiple definition of `F2C_KINSOL_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_dense.c.o):(.bss+0x20): multiple definition of `F2C_CVODE_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_dense.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_dense.c.o):(.bss+0x18): multiple definition of `F2C_IDA_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x18): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_dense.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_dense.c.o):(.bss+0x10): multiple definition of `F2C_KINSOL_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_dense.c.o):(.bss+0x20): multiple definition of `F2C_CVODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_dense.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_sol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fcvnulllinsol.c.o):(.bss+0x0): multiple definition of `F2C_CVODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fcvnullmatrix.c.o):(.bss+0x0): multiple definition of `F2C_CVODE_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_spgmr.c.o):(.bss+0x18): multiple definition of `F2C_IDA_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x18): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_spgmr.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_spgmr.c.o):(.bss+0x10): multiple definition of `F2C_KINSOL_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_spgmr.c.o):(.bss+0x20): multiple definition of `F2C_CVODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_spgmr.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_sol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fcvnulllinsol.c.o):(.bss+0x0): multiple definition of `F2C_CVODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fcvnullmatrix.c.o):(.bss+0x0): multiple definition of `F2C_CVODE_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fcvnulllinsol.c.o):(.bss+0x0): multiple definition of `F2C_CVODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fcvnullmatrix.c.o):(.bss+0x0): multiple definition of `F2C_CVODE_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_spgmr.c.o):(.bss+0x18): multiple definition of `F2C_IDA_linsol'; ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_band.c.o):(.bss+0x18): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_spgmr.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_linsol'; ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_band.c.o):(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_spgmr.c.o):(.bss+0x10): multiple definition of `F2C_KINSOL_linsol'; ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_band.c.o):(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_spgmr.c.o):(.bss+0x20): multiple definition of `F2C_CVODE_linsol'; ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_spgmr.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_sol'; ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_band.c.o):(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fkinnullmatrix.c.o):(.bss+0x0): multiple definition of `F2C_KINSOL_matrix'; ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunmatrix_band.c.o):(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fkinnulllinsol.c.o):(.bss+0x0): multiple definition of `F2C_KINSOL_linsol'; ../../../src/kinsol/fcmix/libsundials_fkinsol.a(fsunlinsol_band.c.o):(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_spgmr.c.o):(.bss+0x18): multiple definition of `F2C_IDA_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x18): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_spgmr.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_spgmr.c.o):(.bss+0x10): multiple definition of `F2C_KINSOL_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_spgmr.c.o):(.bss+0x20): multiple definition of `F2C_CVODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_spgmr.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_sol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fcvnulllinsol.c.o):(.bss+0x0): multiple definition of `F2C_CVODE_linsol'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/cvode/fcmix/libsundials_fcvode.a(fcvnullmatrix.c.o):(.bss+0x0): multiple definition of `F2C_CVODE_matrix'; ../../../src/cvode/fcmix/libsundials_fcvode.a(fsunmatrix_band.c.o):(.bss+0x20): first defined here collect2: error: ld returned 1 exit status
Should be fixed in newer versions.