Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707180 - x11-plugins/wmbio-1.02 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmbio-1.02 : 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-29 17:55 UTC by Toralf Förster
Modified: 2020-03-08 11:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.90 KB, text/plain)
2020-01-29 17:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,146.96 KB, text/plain)
2020-01-29 17:55 UTC, Toralf Förster
Details
environment (environment,15.05 KB, text/plain)
2020-01-29 17:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.82 KB, application/x-bzip)
2020-01-29 17:55 UTC, Toralf Förster
Details
x11-plugins:wmbio-1.02:20200129-032135.log (x11-plugins:wmbio-1.02:20200129-032135.log,3.09 KB, text/plain)
2020-01-29 17:55 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-29 17:55:00 UTC
  127 |   fscanf(out, "%d %d %d", &nascitadd, &nascitamm, &nascitayy);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -c -O2 -pipe -march=native -fno-common -Wall wmgeneral.c -o wmgeneral.o
cc -Wl,-O1 -Wl,--as-needed -o wmbio wmbio.o wmgeneral.o -L/usr/X11R6/lib -lXpm -lXext -lX11 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: wmgeneral.o:(.bss+0x278): multiple definition of `display'; wmbio.o:(.bss+0x1178): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: wmgeneral.o:(.bss+0x270): multiple definition of `Root'; wmbio.o:(.bss+0x1170): first defined here

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

  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 *

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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 03:06:23 +0000

emerge -qpvO x11-plugins/wmbio
[ebuild  N    ] x11-plugins/wmbio-1.02
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:55:03 UTC
Created attachment 607722 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:55:06 UTC
Created attachment 607724 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:55:09 UTC
Created attachment 607726 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:55:12 UTC
Created attachment 607728 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:55:14 UTC
Created attachment 607730 [details]
x11-plugins:wmbio-1.02:20200129-032135.log
Comment 6 Larry the Git Cow gentoo-dev 2020-03-08 11:27:59 UTC
The bug has been closed via the following commit(s):

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

commit 8138ad761e60a46eed814f4c71b0efd734e2529c
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-03-08 11:18:38 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-03-08 11:27:31 +0000

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

 .../wmbio/files/wmbio-1.02-fno-common.patch        | 26 ++++++++++++++++++++++
 x11-plugins/wmbio/wmbio-1.02.ebuild                |  6 ++---
 2 files changed, 29 insertions(+), 3 deletions(-)