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

Bug 706826

Summary: x11-plugins/wmmand-1.3.2-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
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: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
x11-plugins:wmmand-1.3.2-r1:20200127-225713.log

Description Toralf Förster gentoo-dev 2020-01-28 18:17:02 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DLinux -c wmMand.c -o wmMand.o 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DLinux -c ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DLinux -c xvgifwr.c -o xvgifwr.o 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o wmMand wmMand.o ../wmgeneral/wmgeneral.o xvgifwr.o   -lXpm -lX11 -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/wmgeneral.o:(.bss+0x288): multiple definition of `display'; wmMand.o:(.bss+0x148): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/wmgeneral.o:(.bss+0x280): multiple definition of `Root'; wmMand.o:(.bss+0x140): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl-20200125-183534

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 21:46:14 +0000

emerge -qpvO x11-plugins/wmmand
[ebuild  N    ] x11-plugins/wmmand-1.3.2-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:17:05 UTC
Created attachment 605964 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:17:08 UTC
Created attachment 605966 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:17:11 UTC
Created attachment 605968 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:17:14 UTC
Created attachment 605970 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:17:17 UTC
Created attachment 605972 [details]
x11-plugins:wmmand-1.3.2-r1:20200127-225713.log
Comment 6 Larry the Git Cow gentoo-dev 2020-01-30 00:50:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cdaafbc70e98049d121e700b32d29006dd4f7c6

commit 0cdaafbc70e98049d121e700b32d29006dd4f7c6
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-01-30 00:49:54 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-01-30 00:50:07 +0000

    x11-plugins/wmmand: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/706826
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 x11-plugins/wmmand/files/wmmand-1.3.2-gcc-10.patch | 39 ++++++++++++++++++++++
 x11-plugins/wmmand/wmmand-1.3.2-r1.ebuild          |  5 ++-
 2 files changed, 43 insertions(+), 1 deletion(-)