Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782967 - app-emulation/xen-tools-4.14.1-r2 - x86_64-pc-linux-gnu-ld: cannot use executable file out/rom16.strip.o as input to a link
Summary: app-emulation/xen-tools-4.14.1-r2 - x86_64-pc-linux-gnu-ld: cannot use execut...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-04-15 07:16 UTC by Toralf Förster
Modified: 2021-05-11 15:47 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.30 KB, text/plain)
2021-04-15 07:16 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.14.1-r2:20210415-071003.log (app-emulation:xen-tools-4.14.1-r2:20210415-071003.log,817.48 KB, text/plain)
2021-04-15 07:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,155.66 KB, text/plain)
2021-04-15 07:16 UTC, Toralf Förster
Details
environment (environment,123.62 KB, text/plain)
2021-04-15 07:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.21 KB, application/x-bzip)
2021-04-15 07:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.36 KB, application/x-bzip)
2021-04-15 07:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,43.00 KB, application/x-bzip)
2021-04-15 07:16 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 2021-04-15 07:16:04 UTC
  Stripping out/rom32seg.strip.o
  Linking out/rom.o
x86_64-pc-linux-gnu-ld: cannot use executable file 'out/rom16.strip.o' as input to a link
make[6]: *** [Makefile:187: out/rom.o] Error 1
make[6]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.14.1-r2/work/xen-4.14.1/tools/firmware/seabios-dir-remote'
make[5]: *** [Makefile:129: subdir-all-seabios-dir] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20210411-185226

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.51.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr 15 06:50:25 UTC 2021

emerge -qpvO app-emulation/xen-tools
[ebuild  N    ] app-emulation/xen-tools-4.14.1-r2  USE="hvm ipxe pam qemu qemu-traditional rombios -api -debug -doc -flask -ocaml -ovmf -pygrub -python -screen -sdl -static-libs -system-ipxe -system-qemu -system-seabios" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-04-15 07:16:06 UTC
Created attachment 699957 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-15 07:16:08 UTC
Created attachment 699960 [details]
app-emulation:xen-tools-4.14.1-r2:20210415-071003.log
Comment 3 Toralf Förster gentoo-dev 2021-04-15 07:16:10 UTC
Created attachment 699963 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-15 07:16:11 UTC
Created attachment 699966 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-15 07:16:12 UTC
Created attachment 699969 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-15 07:16:13 UTC
Created attachment 699972 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-15 07:16:15 UTC
Created attachment 699975 [details]
temp.tar.bz2
Comment 8 Hank Leininger 2021-04-29 21:25:18 UTC
(In reply to Toralf Förster from comment #0)
> x86_64-pc-linux-gnu-ld: cannot use executable file 'out/rom16.strip.o' as
> input to a link
[snip]
>   This is an unstable amd64 chroot image at a tinderbox (==build bot)
>   name: 17.1-20210411-185226

Your post does not mention binutils version, but I get the same error with binutils-2.36.1; binutils-2.35.2 is fine.

This is a known binutils behavior change that breaks building seabios (the part of xen-tools that fails):

https://sourceware.org/bugzilla/show_bug.cgi?id=26047
https://sourceware.org/bugzilla/show_bug.cgi?id=26223
https://marc.info/?l=binutils&w=2&r=1&s=seabios+link&q=b

Xen has added various patches recently to support binutils-2.36; maybe those are included in the just-released 4.14.2, I have not checked. In the meantime, maybe existing xen-tools versions' ebuilds should have their DEPENDS updated to indicate they are not compatible with binutils:2.36 ?
Comment 9 Hank Leininger 2021-05-10 23:15:26 UTC
xen-{,tools-}4.14.2 from https://github.com/gentoo/gentoo/pull/20621 works for me, thanks hydrapolic. Haven't tried 4.15.x yet because of other cross-dependencies.
Comment 10 Tomáš Mózes 2021-05-11 08:19:37 UTC
(In reply to Hank Leininger from comment #9)
> xen-{,tools-}4.14.2 from https://github.com/gentoo/gentoo/pull/20621 works
> for me, thanks hydrapolic. Haven't tried 4.15.x yet because of other
> cross-dependencies.

Thanks for testing, glad it works for you.
Comment 11 Larry the Git Cow gentoo-dev 2021-05-11 15:47:41 UTC
The bug has been closed via the following commit(s):

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

commit c65db4894ec343fd2b3862fba9fdb1ab7e0b3193
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-04-30 21:19:59 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-05-11 15:47:34 +0000

    app-emulation/xen-tools: drop old
    
    Closes: https://bugs.gentoo.org/782967
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/20621
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 app-emulation/xen-tools/Manifest                   |   8 -
 app-emulation/xen-tools/files/gentoo-patches.conf  |  20 -
 app-emulation/xen-tools/xen-tools-4.13.2-r2.ebuild | 512 --------------------
 app-emulation/xen-tools/xen-tools-4.13.2-r3.ebuild | 512 --------------------
 app-emulation/xen-tools/xen-tools-4.13.2-r4.ebuild | 520 ---------------------
 app-emulation/xen-tools/xen-tools-4.14.1-r1.ebuild | 512 --------------------
 app-emulation/xen-tools/xen-tools-4.14.1-r2.ebuild | 520 ---------------------
 app-emulation/xen-tools/xen-tools-4.14.1.ebuild    | 512 --------------------
 8 files changed, 3116 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e7b006eceaaf9e7a9b403a22c6aec10ce0c0cd4

commit 5e7b006eceaaf9e7a9b403a22c6aec10ce0c0cd4
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-04-30 21:15:05 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-05-11 15:47:32 +0000

    app-emulation/xen-tools: bump to 4.14.2
    
    Closes: https://bugs.gentoo.org/732970
    Closes: https://bugs.gentoo.org/782967
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 app-emulation/xen-tools/Manifest                  |   1 +
 app-emulation/xen-tools/files/gentoo-patches.conf |  16 +
 app-emulation/xen-tools/xen-tools-4.14.2.ebuild   | 525 ++++++++++++++++++++++
 3 files changed, 542 insertions(+)