Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709636 - dev-libs/light-1.2-r1 : fails to build with -fno-common or gcc-10
Summary: dev-libs/light-1.2-r1 : fails to build with -fno-common or gcc-10
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron Bauman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-14 18:19 UTC by Toralf Förster
Modified: 2020-02-14 18:19 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.51 KB, text/plain)
2020-02-14 18:19 UTC, Toralf Förster
Details
dev-libs:light-1.2-r1:20200214-023154.log (dev-libs:light-1.2-r1:20200214-023154.log,7.04 KB, text/plain)
2020-02-14 18:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,187.12 KB, text/plain)
2020-02-14 18:19 UTC, Toralf Förster
Details
environment (environment,62.84 KB, text/plain)
2020-02-14 18:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.90 KB, application/x-bzip)
2020-02-14 18:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.64 KB, application/x-bzip)
2020-02-14 18:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.14 KB, application/x-bzip)
2020-02-14 18:19 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-02-14 18:19:28 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -D_GNU_SOURCE  -W -Wall -Wextra -std=gnu99 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter -O2 -pipe -march=native -fno-common -c -o impl/light-sysfs.o `test -f 'impl/sysfs.c' || echo './'`impl/sysfs.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -D_GNU_SOURCE  -W -Wall -Wextra -std=gnu99 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter -O2 -pipe -march=native -fno-common -c -o impl/light-util.o `test -f 'impl/util.c' || echo './'`impl/util.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -D_GNU_SOURCE  -W -Wall -Wextra -std=gnu99 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter -O2 -pipe -march=native -fno-common -c -o impl/light-razer.o `test -f 'impl/razer.c' || echo './'`impl/razer.c
x86_64-pc-linux-gnu-gcc -W -Wall -Wextra -std=gnu99 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o light light-main.o light-light.o light-helpers.o impl/light-sysfs.o impl/light-util.o impl/light-razer.o  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: light-light.o:(.bss+0x0): multiple definition of `light_loglevel'; light-main.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: light-helpers.o:(.bss+0x0): multiple definition of `light_loglevel'; light-main.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20200209-121610

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

  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.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.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, 14 Feb 2020 01:07:27 +0000

emerge -qpvO dev-libs/light
[ebuild  N    ] dev-libs/light-1.2-r1  USE="udev"
Comment 1 Toralf Förster gentoo-dev 2020-02-14 18:19:32 UTC
Created attachment 613784 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-14 18:19:36 UTC
Created attachment 613786 [details]
dev-libs:light-1.2-r1:20200214-023154.log
Comment 3 Toralf Förster gentoo-dev 2020-02-14 18:19:38 UTC
Created attachment 613788 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-14 18:19:41 UTC
Created attachment 613790 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-14 18:19:44 UTC
Created attachment 613792 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-14 18:19:47 UTC
Created attachment 613794 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-14 18:19:50 UTC
Created attachment 613796 [details]
temp.tbz2