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

Bug 726272

Summary: x11-plugins/wmXName fails to compile with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-30 11:23:49 UTC
This is an auto-filed bug because x11-plugins/wmXName fails to compile with -fno-common or gcc-10.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
To reproduce this issue you may want to set CFLAGS="${CFLAGS} -fno-common" or compile it with gcc-10 that enables -fno-common by default.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-30 11:23:54 UTC
Created attachment 642740 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-06-13 09:04:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58849640d851f78dedceb37e38e5bca8438e8299

commit 58849640d851f78dedceb37e38e5bca8438e8299
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-06-13 09:03:46 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-06-13 09:04:24 +0000

    x11-plugins/wmXName: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/726272
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../wmXName/files/wmXName-0.1-fno-common.patch     | 35 ++++++++++++++++++++++
 x11-plugins/wmXName/wmXName-0.1-r1.ebuild          |  2 ++
 2 files changed, 37 insertions(+)