Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707812 - x11-plugins/wmSMPmon-3.1-r2 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmSMPmon-3.1-r2 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-01 21:53 UTC by Toralf Förster
Modified: 2020-03-29 11:35 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.72 KB, text/plain)
2020-02-01 21:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,269.28 KB, text/plain)
2020-02-01 21:53 UTC, Toralf Förster
Details
environment (environment,51.02 KB, text/plain)
2020-02-01 21:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.34 KB, application/x-bzip)
2020-02-01 21:53 UTC, Toralf Förster
Details
x11-plugins:wmSMPmon-3.1-r2:20200201-210935.log (x11-plugins:wmSMPmon-3.1-r2:20200201-210935.log,2.86 KB, text/plain)
2020-02-01 21:53 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-01 21:53:10 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -c -o sysinfo-linux.o sysinfo-linux.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -c -o ../wmgeneral/wmgeneral.o ../wmgeneral/wmgeneral.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -c -o wmSMPmon.o wmSMPmon.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -o wmSMPmon general.o sysinfo-linux.o ../wmgeneral/wmgeneral.o wmSMPmon.o -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -lXpm -lXext -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sysinfo-linux.o:(.bss+0xd8): multiple definition of `Myname'; general.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: wmSMPmon.o:(.bss+0x0): multiple definition of `Myname'; general.o:(.bss+0x0): first defined here

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

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

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

  Please see the tracker bug for details.

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

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
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 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 20:47:56 +0000

emerge -qpvO x11-plugins/wmSMPmon
[ebuild  N    ] x11-plugins/wmSMPmon-3.1-r2
Comment 1 Toralf Förster gentoo-dev 2020-02-01 21:53:13 UTC
Created attachment 610670 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-01 21:53:16 UTC
Created attachment 610672 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-01 21:53:19 UTC
Created attachment 610674 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-01 21:53:21 UTC
Created attachment 610676 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-01 21:53:24 UTC
Created attachment 610678 [details]
x11-plugins:wmSMPmon-3.1-r2:20200201-210935.log
Comment 6 Larry the Git Cow gentoo-dev 2020-03-29 11:35:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56952c803f8f37df9896b9016cf8ced7dc05f2b4

commit 56952c803f8f37df9896b9016cf8ced7dc05f2b4
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-03-29 11:35:13 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-03-29 11:35:26 +0000

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

 .../wmSMPmon/files/wmSMPmon-3.1-fno-common.patch   | 36 ++++++++++++++++++++++
 x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild        | 11 +++++--
 2 files changed, 45 insertions(+), 2 deletions(-)