Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 741434 - sci-libs/fflas-ffpack-2.4.3 fails to compile
Summary: sci-libs/fflas-ffpack-2.4.3 fails to compile
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
: 741510 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-09-09 14:01 UTC by Agostino Sarubbo
Modified: 2020-09-30 15:35 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,15.19 KB, text/plain)
2020-09-09 14:01 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,54.78 KB, text/plain)
2020-09-09 14:01 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 2020-09-09 14:01:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/fflas-ffpack-2.4.3 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
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 is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-09 14:01:16 UTC
Created attachment 659266 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-09-09 14:01:18 UTC
Created attachment 659268 [details]
1-config.log

1-config.log
Comment 3 Michael Orlitzky gentoo-dev 2020-09-30 15:31:03 UTC
*** Bug 741510 has been marked as a duplicate of this bug. ***
Comment 4 Michael Orlitzky gentoo-dev 2020-09-30 15:35:19 UTC
The problem here (and in #741510) is that somehow, when you built sci-libs/givaro, it became convinced that you were using gcc4, as determined by the AC_COMPILER_NAME macro in https://github.com/linbox-team/givaro/blob/master/macros/debug.m4.

As a result, the configure.ac for givaro (https://github.com/linbox-team/givaro/blob/master/configure.ac#L77) appends "-fabi-version=6" to its CXXFLAGS. That gets propagated to the fflas-ffpack and linbox builds, even when you're performing them with clang and not gcc. Since clang doesn't understand -fabi-version=6, those builds fail.

Do you have any record of your givaro build? It may have made a mistake in determining that your compiler was gcc4.