Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734312 - sys-apps/linux-misc-apps-5.6 : fails to build with -fno-common or gcc-10
Summary: sys-apps/linux-misc-apps-5.6 : 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: Robin Johnson
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-07-28 16:37 UTC by Toralf Förster
Modified: 2021-03-03 17:40 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.48 KB, text/plain)
2020-07-28 16:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,125.04 KB, text/plain)
2020-07-28 16:37 UTC, Toralf Förster
Details
environment (environment,136.02 KB, text/plain)
2020-07-28 16:37 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.88 KB, application/x-bzip)
2020-07-28 16:37 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.86 KB, application/x-bzip)
2020-07-28 16:37 UTC, Toralf Förster
Details
sys-apps:linux-misc-apps-5.6:20200728-162314.log (sys-apps:linux-misc-apps-5.6:20200728-162314.log,37.45 KB, text/plain)
2020-07-28 16:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,38.19 KB, application/x-bzip)
2020-07-28 16:37 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-07-28 16:37:02 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/libusbip_la-names.o .libs/libusbip_la-usbip_host_driver.o .libs/libusbip_la-usbip_device_driver.o .libs/libusbip_la-usbip_common.o .libs/libusbip_la-usbip_host_common.o .libs/libusbip_la-vhci_driver.o .libs/libusbip_la-sysfs_utils.o   -Wl,--as-needed -lwrap -ludev  -O2 -march=native -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0   -Wl,-soname -Wl,libusbip.so.0 -o .libs/libusbip.so.0.0.1
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libusbip_la-vhci_driver.o:(.bss+0x0): multiple definition of `udev_context'; .libs/libusbip_la-usbip_host_common.o:(.bss+0x0): 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-libressl_test-20200721-185431

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Rust versions:
  [1]   rust-1.45.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Jul 28 04:05:31 PM UTC 2020
/var/db/repos/libressl	Fri Jul 24 09:42:51 PM UTC 2020

emerge -qpvO sys-apps/linux-misc-apps
[ebuild  N    ] sys-apps/linux-misc-apps-5.6  USE="tcpd usbip -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-07-28 16:37:05 UTC
Created attachment 651296 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-28 16:37:07 UTC
Created attachment 651298 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-07-28 16:37:10 UTC
Created attachment 651300 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-07-28 16:37:13 UTC
Created attachment 651302 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-07-28 16:37:16 UTC
Created attachment 651304 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-28 16:37:19 UTC
Created attachment 651306 [details]
sys-apps:linux-misc-apps-5.6:20200728-162314.log
Comment 7 Toralf Förster gentoo-dev 2020-07-28 16:37:21 UTC
Created attachment 651308 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-03-03 17:40:37 UTC
The bug has been closed via the following commit(s):

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

commit 76d04dcb28773ce7747e307e6f5c2de7f098e861
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-03-02 19:29:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-03 16:51:44 +0000

    sys-apps/linux-misc-apps: Apply gcc-10 workaround
    
    Closes: https://bugs.gentoo.org/734312
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/linux-misc-apps/linux-misc-apps-5.8.ebuild | 1 +
 1 file changed, 1 insertion(+)