Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829323 - kde-apps/kalgebra-21.08.3 fails to build with CXXFLAGS=-Os
Summary: kde-apps/kalgebra-21.08.3 fails to build with CXXFLAGS=-Os
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-16 09:57 UTC by j.habenicht
Modified: 2022-09-14 21:27 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge--info.log,6.23 KB, text/x-log)
2021-12-16 12:37 UTC, j.habenicht
Details
build log (build.log,56.66 KB, text/x-log)
2021-12-16 12:43 UTC, j.habenicht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description j.habenicht 2021-12-16 09:57:59 UTC
Though this may be an unsupported failure I'd like to log it.

my compile settings are:
CFLAGS="-Os -march=native -pipe"
CXXFLAGS="${CFLAGS}"


kde-apps/kalgebra-21.08.3 fails to build with this settings:

/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/CMakeFiles/kalgebra.dir/kalgebra.cpp.o: in function `KAlgebra::KAlgebra(QWidget*)':
kalgebra.cpp:(.text+0x2c83): undefined reference to `non-virtual thunk to Analitza::PlotsView2D::forceRepaint()'
collect2: error: ld returned 1 exit status


gcc setting "-O2" builds fine though.


best regards
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-16 09:59:18 UTC
Please include the full build.log and emerge --info.
Comment 2 j.habenicht 2021-12-16 12:37:37 UTC
Created attachment 759306 [details]
emerge --info

output of emerge --info with default MAKEOPTS setting
Comment 3 j.habenicht 2021-12-16 12:43:06 UTC
Created attachment 759307 [details]
build log

kde-apps/kalgebra-21.08.3 build log with cmd line 
'MAKEOPTS="-j1" emerge -a1 kde-apps/kalgebra'
Comment 4 Larry the Git Cow gentoo-dev 2022-09-14 21:25:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=b141e47a45b283055267c15a2b3b02cb85bbae92

commit b141e47a45b283055267c15a2b3b02cb85bbae92
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-09-14 21:24:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-09-14 21:24:46 +0000

    kde-apps/kalgebra: Replace -Os with -O2
    
    Closes: https://bugs.gentoo.org/829323
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kalgebra/kalgebra-22.08.49.9999.ebuild | 4 +++-
 kde-apps/kalgebra/kalgebra-9999.ebuild          | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2022-09-14 21:27:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54e2ea1430d2da39d904175c7450ac38b4d571c9

commit 54e2ea1430d2da39d904175c7450ac38b4d571c9
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-09-14 21:24:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-09-14 21:27:38 +0000

    kde-apps/kalgebra: Replace -Os with -O2
    
    Closes: https://bugs.gentoo.org/829323
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kalgebra/kalgebra-22.04.3.ebuild | 4 +++-
 kde-apps/kalgebra/kalgebra-22.08.1.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)