Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827194 - dev-qt/qtdeclarative-5.15.2-r12: Segfault with -Os
Summary: dev-qt/qtdeclarative-5.15.2-r12: Segfault with -Os
Status: RESOLVED NEEDINFO
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:
Blocks:
 
Reported: 2021-11-24 20:45 UTC by Alex Barker
Modified: 2021-11-24 20:49 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,5.93 KB, text/plain)
2021-11-24 20:46 UTC, Alex Barker
Details

Note You need to log in before you can comment on or make changes to this bug.
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.