Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834055 - app-containers/snapd: doesn't build with -O3
Summary: app-containers/snapd: doesn't build with -O3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-25 22:54 UTC by Randall
Modified: 2022-02-26 18:19 UTC (History)
1 user (show)

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


Attachments
snap-2.54.3.ebuild (snapd-2.54.3.ebuild,5.27 KB, text/plain)
2022-02-25 22:56 UTC, Randall
Details
build.log (build.zip,161.33 KB, application/zip)
2022-02-26 01:19 UTC, Randall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randall 2022-02-25 22:54:04 UTC
snapd doesn't build with -O3. I would recommend putting in a `replace-flags` from `-03` to `-02` in the rebuild, as lower the optimization level fixes the issues.

Reproducible: Always
Comment 1 Randall 2022-02-25 22:56:35 UTC
Created attachment 765833 [details]
snap-2.54.3.ebuild

modified ebuild
Comment 2 Jonas Stein gentoo-dev 2022-02-26 01:10:32 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. This includes
* the complete build.log as **attachment**
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 3 Randall 2022-02-26 01:19:49 UTC
Created attachment 765836 [details]
build.log
Comment 4 Larry the Git Cow gentoo-dev 2022-02-26 17:27:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db621ca2f8ef75a11f6d98086fd4c7c49ef37a9

commit 7db621ca2f8ef75a11f6d98086fd4c7c49ef37a9
Author:     Randall <ran.dall@icloud.com>
AuthorDate: 2022-02-26 17:21:55 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2022-02-26 17:27:00 +0000

    app-containers/snapd: Handle -O3
    
    Closes: https://bugs.gentoo.org/834055
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-containers/snapd/snapd-2.54.3.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 5 Zac Medico gentoo-dev 2022-02-26 17:27:43 UTC
Thanks!