Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 707680

Summary: x11-wm/aewm-1.3.12-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
x11-wm:aewm-1.3.12-r1:20200131-214012.log

Description Toralf Förster gentoo-dev 2020-01-31 22:20:03 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/X11R6/include -c aedesk.c -o aedesk.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/X11R6/include -c common.c -o common.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/X11R6/include -c atom.c -o atom.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed aedesk.o common.o atom.o -lX11  -o aedesk
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: common.o:(.bss+0x8): multiple definition of `dpy'; aedesk.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: common.o:(.bss+0x0): multiple definition of `root'; aedesk.o:(.bss+0x10): 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
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 20:47:54 +0000

emerge -qpvO x11-wm/aewm
[ebuild  N    ] x11-wm/aewm-1.3.12-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-31 22:20:06 UTC
Created attachment 610064 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 22:20:09 UTC
Created attachment 610066 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 22:20:12 UTC
Created attachment 610068 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 22:20:15 UTC
Created attachment 610070 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 22:20:18 UTC
Created attachment 610072 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 22:20:20 UTC
Created attachment 610074 [details]
x11-wm:aewm-1.3.12-r1:20200131-214012.log
Comment 7 Larry the Git Cow gentoo-dev 2020-01-31 22:31:33 UTC
The bug has been closed via the following commit(s):

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

commit 914552b9e04847f6b4c5224953cf0c11b919ae1c
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-01-31 22:30:43 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-01-31 22:31:29 +0000

    x11-wm/aewm: Fix CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/707680
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 x11-wm/aewm/aewm-1.3.12-r1.ebuild              |  3 ++-
 x11-wm/aewm/files/aewm-1.3.12-fno-common.patch | 25 +++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)