Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706444 - x11-plugins/wmxres-1.2-r1 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmxres-1.2-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
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-26 14:31 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.13 KB, text/plain)
2020-01-26 14:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,91.63 KB, text/plain)
2020-01-26 14:31 UTC, Toralf Förster
Details
environment (environment,50.06 KB, text/plain)
2020-01-26 14:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.82 KB, application/x-bzip)
2020-01-26 14:31 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.76 KB, application/x-bzip)
2020-01-26 14:31 UTC, Toralf Förster
Details
x11-plugins:wmxres-1.2-r1:20200126-121646.log (x11-plugins:wmxres-1.2-r1:20200126-121646.log,3.62 KB, text/plain)
2020-01-26 14:31 UTC, Toralf Förster
Details
wmxres-1.2-gcc-10.patch (wmxres-1.2-gcc-10.patch,460 bytes, patch)
2020-01-26 15:12 UTC, Sergei Trofimovich (RETIRED)
Details | Diff

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-26 14:31:43 UTC
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -c -DLinux wmgeneral/wmgeneral.c -o wmgeneral/wmgeneral.o
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o wmxres/wmxres wmxres/wmxres.o wmgeneral/wmgeneral.o -lXpm -lXext -lX11 -lXxf86vm
/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'; wmxres/wmxres.o:(.bss+0x8c8): 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_no-multilib-20200124-204141

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

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



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 26 Jan 2020 11:46:13 +0000

emerge -qpvO x11-plugins/wmxres
[ebuild  N    ] x11-plugins/wmxres-1.2-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-26 14:31:45 UTC
Created attachment 604624 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-26 14:31:48 UTC
Created attachment 604626 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-26 14:31:51 UTC
Created attachment 604628 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-26 14:31:54 UTC
Created attachment 604630 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-26 14:31:56 UTC
Created attachment 604632 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-26 14:31:59 UTC
Created attachment 604634 [details]
x11-plugins:wmxres-1.2-r1:20200126-121646.log
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2020-01-26 15:12:18 UTC
Created attachment 604682 [details, diff]
wmxres-1.2-gcc-10.patch
Comment 8 Larry the Git Cow gentoo-dev 2020-01-29 18:27:46 UTC
The bug has been closed via the following commit(s):

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

commit 33bd5a1471ad32f607d7b90a9207de21fd4019f6
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-01-29 17:47:33 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-01-29 18:26:59 +0000

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

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