Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937808 - dev-qt/qt5compat-6.7.2 fails to compile with -fno-common
Summary: dev-qt/qt5compat-6.7.2 fails to compile with -fno-common
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on: 937809
Blocks:
  Show dependency tree
 
Reported: 2024-08-12 13:35 UTC by Agostino Sarubbo
Modified: 2024-08-13 01:27 UTC (History)
0 users

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


Attachments
build.log (build.log,151.53 KB, text/plain)
2024-08-12 13:35 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 2024-08-12 13:35:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-qt/qt5compat-6.7.2 fails to compile with -fno-common.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0012
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-12 13:35:59 UTC
Created attachment 899935 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-12 13:36:01 UTC
Error(s) that match a know pattern:


/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: tests/auto/core5/sax/qxmlsimplereader/CMakeFiles/tst_qxmlsimplereader.dir/tst_qxmlsimplereader.cpp.o:(.rodata+0x5f4): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tests/auto/core5/sax/qxmlsimplereader/CMakeFiles/tst_qxmlsimplereader.dir/parser/parser.cpp.o:(.rodata+0x0): first defined here
FAILED: tests/auto/core5/sax/qxmlsimplereader/tst_qxmlsimplereader 
collect2: error: ld returned 1 exit status
Comment 3 Larry the Git Cow gentoo-dev 2024-08-13 01:27:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=486b070b0523b91176f5c56f93635de9a15f6a1c

commit 486b070b0523b91176f5c56f93635de9a15f6a1c
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-08-12 21:05:42 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-08-13 01:25:35 +0000

    dev-qt/qtbase: fix build with gcc15, incl. for revdeps
    
    Issue is in public headers, so revbump is necessary. Please ensure
    update to qtbase-6.7.2-r2 before reporting new bugs while testing
    gcc15. Thankfully most normal users should have updated long before
    gcc15 is keyworded (and further stabled) so there should be little
    need to set lower bounds.
    
    Closes: https://bugs.gentoo.org/937808
    Closes: https://bugs.gentoo.org/937809
    Closes: https://bugs.gentoo.org/937824
    Closes: https://bugs.gentoo.org/937825
    Closes: https://bugs.gentoo.org/937828
    Closes: https://bugs.gentoo.org/937829
    Thanks-to: Sam James <sam@gentoo.org>
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtbase/files/qtbase-6.7.2-gcc15-odr.patch   | 32 ++++++++++++++++++++++
 ...base-6.7.2-r1.ebuild => qtbase-6.7.2-r2.ebuild} |  1 +
 dev-qt/qtbase/qtbase-6.7.9999.ebuild               |  1 +
 dev-qt/qtbase/qtbase-6.8.9999.ebuild               |  1 +
 dev-qt/qtbase/qtbase-6.9999.ebuild                 |  1 +
 5 files changed, 36 insertions(+)