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

Bug 726206

Summary: x11-plugins/wmrecord 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:15:16 UTC
This is an auto-filed bug because x11-plugins/wmrecord 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:15:21 UTC
Created attachment 642674 [details]
build.log

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

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80332b22e81f0a4ea49fa7515c9388758e8d6667

commit 80332b22e81f0a4ea49fa7515c9388758e8d6667
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-06-13 08:59:06 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-06-13 09:04:24 +0000

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

 .../files/wmrecord-1.0.5.3-fno-common.patch        | 29 ++++++++++++++++++++++
 x11-plugins/wmrecord/wmrecord-1.0.5.3-r2.ebuild    |  4 ++-
 2 files changed, 32 insertions(+), 1 deletion(-)