Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707222 - net-misc/usbip-4.13 : fails to build with -fno-common or gcc-10
Summary: net-misc/usbip-4.13 : 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: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 18:06 UTC by Toralf Förster
Modified: 2020-04-24 08:38 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.26 KB, text/plain)
2020-01-29 18:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,161.15 KB, text/plain)
2020-01-29 18:06 UTC, Toralf Förster
Details
environment (environment,130.03 KB, text/plain)
2020-01-29 18:06 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.69 KB, application/x-bzip)
2020-01-29 18:06 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.92 KB, application/x-bzip)
2020-01-29 18:06 UTC, Toralf Förster
Details
net-misc:usbip-4.13:20200129-091510.log (net-misc:usbip-4.13:20200129-091510.log,17.21 KB, text/plain)
2020-01-29 18:06 UTC, Toralf Förster
Details
usbip-9999-fno-common.patch (usbip-9999-fno-common.patch,1.13 KB, patch)
2020-04-24 08:38 UTC, Jeroen Roovers
Details | Diff

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 18:06:07 UTC
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DUSBIDS_FILE='"/usr/share/misc/usb.ids"'  -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-common -c -o libusbip_la-sysfs_utils.lo `test -f 'sysfs_utils.c' || echo './'`sysfs_utils.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE=\"/usr/share/misc/usb.ids\" -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-common -c sysfs_utils.c  -fPIC -DPIC -o .libs/libusbip_la-sysfs_utils.o
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-common -version-info 0:1:0 -Wl,-O1 -Wl,--as-needed -o libusbip.la -rpath /usr/lib64 libusbip_la-names.lo libusbip_la-usbip_host_driver.lo libusbip_la-usbip_device_driver.lo libusbip_la-usbip_common.lo libusbip_la-usbip_host_common.lo libusbip_la-vhci_driver.lo libusbip_la-sysfs_utils.lo  -lwrap  -ludev
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,-soname -Wl,libusbip.so.0 -o .libs/libusbip.so.0.0.1
/usr/lib/gcc/x86_64-pc-linux-gnu/9.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-libressl-20200125-183534

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

  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 7.10.3

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

emerge -qpvO net-misc/usbip
[ebuild  N    ] net-misc/usbip-4.13  USE="tcpd -build -static-libs -symlink"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:06:11 UTC
Created attachment 608000 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:06:15 UTC
Created attachment 608002 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:06:19 UTC
Created attachment 608004 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:06:23 UTC
Created attachment 608006 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:06:27 UTC
Created attachment 608008 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:06:31 UTC
Created attachment 608010 [details]
net-misc:usbip-4.13:20200129-091510.log
Comment 7 Jeroen Roovers gentoo-dev 2020-04-24 08:38:31 UTC
Created attachment 634342 [details, diff]
usbip-9999-fno-common.patch