Issue: sci-libs/sundials fails to compile.
Discovered on: amd64 (internal ref: tinderbox)
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Created attachment 648552 [details]
build log and emerge --info
Created attachment 648554 [details]
The package also fails with gcc and ld in the same module, but with a different error (multiple symbol definition).
Created attachment 676180 [details]
gcc build log
(In reply to Bernd from comment #3)
> The package also fails with gcc and ld in the same module, but with a
> different error (multiple symbol definition).
This error is caused by the new default behavior of gcc-10 and has been reported upstream at https://github.com/LLNL/sundials/issues/43
The issue is still not fixed in version 5.5.0 as far as I can see.
I think the original error is because the build system does something wrong that gnu ld just happens to accept. I don't think it should.
(In reply to François Bissey from comment #5)
> This error is caused by the new default behavior of gcc-10 and has been
> reported upstream at https://github.com/LLNL/sundials/issues/43
I see, thanks. Building with -fcommon worked.
The bug has been referenced in the following commit(s):
Author: Sam James <email@example.com>
AuthorDate: 2022-05-17 22:12:31 +0000
Commit: Sam James <firstname.lastname@example.org>
CommitDate: 2022-05-17 22:12:31 +0000
sci-libs/sundials: add 6.2.0
Signed-off-by: Sam James <email@example.com>
sci-libs/sundials/Manifest | 1 +
sci-libs/sundials/sundials-6.2.0.ebuild | 119 ++++++++++++++++++++++++++++++++
2 files changed, 120 insertions(+)