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: UNCONFIRMED
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: 2021-12-16 23:53 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'