Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 827194

Summary: dev-qt/qtdeclarative-5.15.2-r12: Segfault with -Os
Product: Gentoo Linux Reporter: Alex Barker <alex>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED NEEDINFO    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Alex Barker 2021-11-24 20:45:59 UTC
When compiling with -march=native -Os -fomit-frame-pointer -pipe produces a segfault in libQt5Qml.so.5.15.2.  Using -O2 fixes the problem.

Reproducible: Always

Steps to Reproduce:
1. build with -Os
2. start plamsa workspace

Actual Results:  
dmesg produces segfault, plasma wont load.
Comment 1 Alex Barker 2021-11-24 20:46:43 UTC
Created attachment 756118 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-24 20:48:52 UTC
Please include a backtrace (see https://wiki.gentoo.org/wiki/Debugging) but this probably needs to go upstream.