Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706688 - x11-plugins/wmwork-0.2.5-r1 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmwork-0.2.5-r1 : 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-01-27 17:32 UTC by Toralf Förster
Modified: 2020-01-29 18:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.51 KB, text/plain)
2020-01-27 17:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,58.26 KB, text/plain)
2020-01-27 17:32 UTC, Toralf Förster
Details
environment (environment,18.81 KB, text/plain)
2020-01-27 17:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.85 KB, application/x-bzip)
2020-01-27 17:32 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.39 KB, application/x-bzip)
2020-01-27 17:32 UTC, Toralf Förster
Details
x11-plugins:wmwork-0.2.5-r1:20200127-070605.log (x11-plugins:wmwork-0.2.5-r1:20200127-070605.log,6.31 KB, text/plain)
2020-01-27 17:33 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-01-27 17:32:45 UTC
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native -fno-common -I.   -c -o wmgeneral.o wmgeneral.c
x86_64-pc-linux-gnu-gcc -Wall -Wl,-O1 -Wl,--as-needed   wmwork.o wmgeneral.o  -lXpm -lXext -lX11  -o wmwork
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: wmgeneral.o:(.bss+0x328): multiple definition of `display'; wmwork.o:(.bss+0x1060): first defined here
collect2: error: ld returned 1 exit status

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

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

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

  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 (uninstalled)
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 05:26:15 +0000

emerge -qpvO x11-plugins/wmwork
[ebuild  N    ] x11-plugins/wmwork-0.2.5-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:32:47 UTC
Created attachment 605356 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:32:50 UTC
Created attachment 605358 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:32:53 UTC
Created attachment 605360 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:32:56 UTC
Created attachment 605362 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:32:59 UTC
Created attachment 605364 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:33:02 UTC
Created attachment 605366 [details]
x11-plugins:wmwork-0.2.5-r1:20200127-070605.log
Comment 7 Larry the Git Cow gentoo-dev 2020-01-29 18:27:53 UTC
The bug has been closed via the following commit(s):

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

commit ba94180ee142466df4de1c45f9b2f15fe6428b67
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-01-29 18:00:10 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-01-29 18:26:59 +0000

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

 x11-plugins/wmwork/files/wmwork-0.2.5-gcc-10.patch | 21 +++++++++++++++++++++
 x11-plugins/wmwork/wmwork-0.2.5-r1.ebuild          |  3 ++-
 2 files changed, 23 insertions(+), 1 deletion(-)