Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707600 - x11-plugins/wmSpaceWeather-1.04_p19-r1 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmSpaceWeather-1.04_p19-r1 : fails to build with -fno-common or g...
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-31 17:34 UTC by Toralf Förster
Modified: 2020-03-01 15:25 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.64 KB, text/plain)
2020-01-31 17:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,286.95 KB, text/plain)
2020-01-31 17:34 UTC, Toralf Förster
Details
environment (environment,78.64 KB, text/plain)
2020-01-31 17:35 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.59 KB, application/x-bzip)
2020-01-31 17:35 UTC, Toralf Förster
Details
x11-plugins:wmSpaceWeather-1.04_p19-r1:20200131-015653.log (x11-plugins:wmSpaceWeather-1.04_p19-r1:20200131-015653.log,5.80 KB, text/plain)
2020-01-31 17:35 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-31 17:34:53 UTC
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLinux -c ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o -I/usr/include/X11
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -o wmSpaceWeather wmSpaceWeather.o ../wmgeneral/wmgeneral.o -I/usr/include/X11 -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -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'; wmSpaceWeather.o:(.bss+0x440): 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 *

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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 00:46:52 +0000

emerge -qpvO x11-plugins/wmSpaceWeather
[ebuild  N    ] x11-plugins/wmSpaceWeather-1.04_p19-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:34:55 UTC
Created attachment 609586 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:34:58 UTC
Created attachment 609588 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:35:01 UTC
Created attachment 609590 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:35:04 UTC
Created attachment 609592 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:35:07 UTC
Created attachment 609594 [details]
x11-plugins:wmSpaceWeather-1.04_p19-r1:20200131-015653.log
Comment 6 Larry the Git Cow gentoo-dev 2020-03-01 15:25:22 UTC
The bug has been closed via the following commit(s):

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

commit df47d5f58ec12b03055b520b98d921b1e202618e
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-03-01 15:20:58 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-03-01 15:20:58 +0000

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

 .../files/wmSpaceWeather-1.04_p19-gcc-10.patch     | 23 ++++++++++++++++++++++
 .../wmSpaceWeather-1.04_p19-r1.ebuild              |  3 ++-
 2 files changed, 25 insertions(+), 1 deletion(-)