Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955777 - net-mail/mailutils: drop -fno-strict-aliasing
Summary: net-mail/mailutils: drop -fno-strict-aliasing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-10 14:04 UTC by Sam James
Modified: 2025-05-12 16:42 UTC (History)
0 users

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


Attachments
0001-net-mail-mailutils-drop-fno-strict-aliasing.patch (0001-net-mail-mailutils-drop-fno-strict-aliasing.patch,1.82 KB, patch)
2025-05-10 14:04 UTC, Sam James
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-10 14:04:11 UTC
Attached a patch to drop -fno-strict-aliasing:

commit a3e2ab59d86f6a7f9793ef379a055e3c43c7e5dd (HEAD -> master)
Author: Sam James <sam@gentoo.org>
Date:   Sat May 10 14:56:03 2025 +0100

    net-mail/mailutils: drop -fno-strict-aliasing

    It was added quite a long time ago in:

    commit 228ea23cb7dbb0a469e85d0089802c209118ac35
    Author: Eray Aslan <eras@gentoo.org>
    Date:   Fri Mar 22 10:41:58 2013 +0000

        Version bump

        (Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)

    I don't see any -Wstrict-aliasing warnings with 3.18 or 3.19 and
    the testsuite passes. If I had to guess, maybe it was fixed by
    upstream commit 4f36463dfe2d17b2932a656fffee9aeb7832abe4.

    Signed-off-by: Sam James <sam@gentoo.org>

WDYT? Interestingly, opensuse didn't seem to package it for ages, but back when the history starts on this site at least, they had -fno-strict-aliasing too (and still do): https://build.opensuse.org/request/show/615952.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-10 14:04:40 UTC
Created attachment 928383 [details, diff]
0001-net-mail-mailutils-drop-fno-strict-aliasing.patch
Comment 2 Larry the Git Cow gentoo-dev 2025-05-12 13:44:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cfc3bc56dfd908150abb3029c406563aece84fe

commit 6cfc3bc56dfd908150abb3029c406563aece84fe
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-05-10 13:56:03 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2025-05-12 13:44:30 +0000

    net-mail/mailutils: drop -fno-strict-aliasing
    
    It was added quite a long time ago in commit
    228ea23cb7dbb0a469e85d0089802c209118ac35
    
    I don't see any -Wstrict-aliasing warnings with 3.18 or 3.19 and
    the testsuite passes. If I had to guess, maybe it was fixed by
    upstream commit 4f36463dfe2d17b2932a656fffee9aeb7832abe4.
    
    Closes: https://bugs.gentoo.org/955777
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: Eray Aslan <eras@gentoo.org>

 net-mail/mailutils/mailutils-3.18.ebuild | 1 -
 net-mail/mailutils/mailutils-3.19.ebuild | 1 -
 2 files changed, 2 deletions(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-12 16:42:58 UTC
Thank you!