Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725384 - app-emulation/xen-tools-4.13.1 : fails to build with -fno-common or gcc-10
Summary: app-emulation/xen-tools-4.13.1 : 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: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-05-25 16:27 UTC by Toralf Förster
Modified: 2020-08-24 20:18 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.23 KB, text/plain)
2020-05-25 16:27 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.13.1:20200525-151855.log (app-emulation:xen-tools-4.13.1:20200525-151855.log,683.71 KB, text/plain)
2020-05-25 16:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,64.47 KB, text/plain)
2020-05-25 16:27 UTC, Toralf Förster
Details
environment (environment,121.01 KB, text/plain)
2020-05-25 16:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.57 KB, application/x-bzip)
2020-05-25 16:28 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.10 KB, application/x-bzip)
2020-05-25 16:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,36.96 KB, application/x-bzip)
2020-05-25 16:28 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-05-25 16:27:44 UTC
x86_64-pc-linux-gnu-gcc xs_tdb_dump.o utils.o tdb.o talloc.o      -o xs_tdb_dump 
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: utils.o:(.data.rel.local+0x0): multiple definition of `xprintf'; xs_tdb_dump.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-20200524-041524

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 25 May 2020 02:35:32 PM UTC
/var/db/repos/libressl	Mon 25 May 2020 06:42:23 AM UTC

emerge -qpvO app-emulation/xen-tools
[ebuild  N    ] app-emulation/xen-tools-4.13.1  USE="hvm ipxe pam qemu-traditional rombios -api -debug -doc -flask -ocaml (-ovmf) -pygrub -python -qemu -screen -sdl -static-libs -system-ipxe -system-qemu -system-seabios" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-05-25 16:27:47 UTC
there is still a similar issue at unstable amd64 tinderbox image 17.1_no-multilib-libressl-20200524-041524 (see bug 722930)
Comment 2 Toralf Förster gentoo-dev 2020-05-25 16:27:50 UTC
Created attachment 641746 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-25 16:27:53 UTC
Created attachment 641748 [details]
app-emulation:xen-tools-4.13.1:20200525-151855.log
Comment 4 Toralf Förster gentoo-dev 2020-05-25 16:27:57 UTC
Created attachment 641750 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2020-05-25 16:28:00 UTC
Created attachment 641752 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2020-05-25 16:28:02 UTC
Created attachment 641754 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-05-25 16:28:06 UTC
Created attachment 641756 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-05-25 16:28:10 UTC
Created attachment 641758 [details]
temp.tbz2
Comment 9 Tomáš Mózes 2020-05-25 16:43:43 UTC
https://github.com/gentoo/gentoo/pull/15963
Comment 10 ziomario 2020-08-21 15:32:30 UTC
I'm trying to Build Qemu & Xen for XenGT on Ubuntu 20.04 following this tutorial :

https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide#332-build-qemu--xen-for-xengt

because I want to share the integrated GPU with a xen-hypervisor / windows 10 VM.

The main hardware components of my PC are the following :


CPU I9-9900k

Intel Corporation UHD Graphics 630 (Desktop 9 Series) (rev 02)

NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] (rev a1)


The compilation gave no errors until this point :

root@ziomario-z390aoruspro:/etc/xen/igvtg-xen# make install-tools

......
make -C xenstore install
make[4]: ingresso nella directory «/etc/xen/igvtg-xen/tools/xenstore»
sed "s! $PWD/! !" .xs_tdb_dump.o.d >.xs_tdb_dump.o.d2.tmp && mv -f .xs_tdb_dump.o.d2.tmp .xs_tdb_dump.o.d2
sed "s! $PWD/! !" .xs_lib.o.d >.xs_lib.o.d2.tmp && mv -f .xs_lib.o.d2.tmp .xs_lib.o.d2
sed "s! $PWD/! !" .utils.o.d >.utils.o.d2.tmp && mv -f .utils.o.d2.tmp .utils.o.d2
sed "s! $PWD/! !" .xs.o.d >.xs.o.d2.tmp && mv -f .xs.o.d2.tmp .xs.o.d2
sed "s! $PWD/! !" .xs.opic.d >.xs.opic.d2.tmp && mv -f .xs.opic.d2.tmp .xs.opic.d2
sed "s! $PWD/! !" .xenstore_control.o.d >.xenstore_control.o.d2.tmp && mv -f .xenstore_control.o.d2.tmp .xenstore_control.o.d2
sed "s! $PWD/! !" .xenstore_client.o.d >.xenstore_client.o.d2.tmp && mv -f .xenstore_client.o.d2.tmp .xenstore_client.o.d2
sed "s! $PWD/! !" .talloc.o.d >.talloc.o.d2.tmp && mv -f .talloc.o.d2.tmp .talloc.o.d2
sed "s! $PWD/! !" .xs_lib.opic.d >.xs_lib.opic.d2.tmp && mv -f .xs_lib.opic.d2.tmp .xs_lib.opic.d2
sed "s! $PWD/! !" .tdb.o.d >.tdb.o.d2.tmp && mv -f .tdb.o.d2.tmp .tdb.o.d2
ln -sf libxenstore.so.3.0 libxenstore.so
gcc xs_tdb_dump.o utils.o tdb.o talloc.o -o xs_tdb_dump
/usr/bin/ld: utils.o:(.data.rel.local+0x0): multiple definition of `xprintf'; xs_tdb_dump.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:95: xs_tdb_dump] Errore 1
make[4]: uscita dalla directory «/etc/xen/igvtg-xen/tools/xenstore»
make[3]: *** [/etc/xen/igvtg-xen/tools/../tools/Rules.mk:246: subdir-install-xenstore] Errore 2
make[3]: uscita dalla directory «/etc/xen/igvtg-xen/tools»
make[2]: *** [/etc/xen/igvtg-xen/tools/../tools/Rules.mk:241: subdirs-install] Errore 2
make[2]: uscita dalla directory «/etc/xen/igvtg-xen/tools»
make[1]: *** [Makefile:74: install] Errore 2
make[1]: uscita dalla directory «/etc/xen/igvtg-xen/tools»
make: *** [Makefile:127: install-tools] Errore 2

how can I fix it ? the error seems to be the same.
Comment 11 ziomario 2020-08-24 20:06:14 UTC
can some one help here ? I'm not able to fix it on ubuntu,even if the solution found here can't be so different from gentoo to ubuntu !
Comment 12 Jonas Stein gentoo-dev 2020-08-24 20:18:08 UTC
@ziomario please ask on the ubuntu support channels and link here.