Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782823 - sci-libs/sundials-3.2.1 fails to compile with -fno-common
Summary: sci-libs/sundials-3.2.1 fails to compile with -fno-common
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2021-04-14 12:55 UTC by Agostino Sarubbo
Modified: 2021-08-13 23:28 UTC (History)
0 users

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


Attachments
build.log (build.log,504.74 KB, text/plain)
2021-04-14 12:55 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 2021-04-14 12:55:30 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-14 12:55:33 UTC
Created attachment 699810 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-14 12:55:36 UTC
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
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-13 23:28:25 UTC
Should be fixed in newer versions.