Bug 2159428
Summary: | digikam builds fail with gcc 11.3.1-4 (target specific option mismatch) | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Václav Kadlčík <vkadlcik> | ||||
Component: | gcc | Assignee: | Marek Polacek <mpolacek> | ||||
gcc sub component: | system-version | QA Contact: | Václav Kadlčík <vkadlcik> | ||||
Status: | CLOSED WONTFIX | Docs Contact: | |||||
Severity: | unspecified | ||||||
Priority: | unspecified | CC: | ahajkova, fweimer, jakub, jwakely, ohudlick, orion, sergio, sipoyare | ||||
Version: | 9.2 | ||||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2023-01-12 17:50:15 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Václav Kadlčík
2023-01-09 14:44:51 UTC
(In reply to Václav Kadlčík from comment #0) ... > bz2140266 but its fix seems not to help with digikam should have been "bz2140266 seems related but ..." Reproduced without Koji and without mock on a RHEL 9.2 build with gcc-11.3.1-4.3.el9.ppc64le: 1. Install/enable the CodeReady (CRB) and EPEL repositories 2. Install packages according to attached rpms.txt 3. Prepare the sources: mkdir -p rpmbuild/SPECS rpmbuild/SOURCES wget -O rpmbuild/SPECS/digikam.spec \ https://src.fedoraproject.org/rpms/digikam/raw/59a551c6c1b4a104452a8ab4124cca5c6444cd57/f/digikam.spec wget -O rpmbuild/SOURCES/digiKam-7.9.0.tar.xz \ https://ftp.fi.muni.cz/pub/kde/stable/digikam/7.9.0/digiKam-7.9.0.tar.xz 4. Add dependencies if missing: dnf builddep -y rpmbuild/SPECS/digikam.spec 5. Build and check: rpmbuild -ba rpmbuild/SPECS/digikam.spec |& tee build.log echo $? grep error: build.log Created attachment 1937047 [details]
build.log (see #c2)
OK, so this error persists: /usr/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h: In function 'Eigen::internal::storeAccumulator<Eigen::internal::blas_data_mapper<double, long, 0, 0, 1>, long, double __vector(2), 2l>(long, long, Eigen::internal::blas_data_mapper<double, long, 0, 0, 1> const&, double __vector(2) const&, __vector_quad*)void': /usr/include/eigen3/Eigen/src/Core/util/BlasUtil.h:227:46: error: inlining failed in call to 'always_inline' 'Eigen::internal::blas_data_mapper<double, long, 0, 0, 1>::storePacketBlock<double __vector(2), 4>(long, long, Eigen::internal::PacketBlock<double __vector(2), 4> const&) constvoid': target specific option mismatch and I think that's because part of the fix was only applied to GCC 12: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059#c34>: "I don't think the r12-6219 commit qualifies for backporting." This comment <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059#c35> mentions a few workarounds. Maybe disabling LTO on ppc64le would help as well. So I don't think I can backport a fix for this one, sorry. |