Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700374 - app-emulation/xen-4.12.1-r2 fails to build with ld.gold: x86_64-pc-linux-gnu-ld: fatal error: unable to parse script file xen.lds
Summary: app-emulation/xen-4.12.1-r2 fails to build with ld.gold: x86_64-pc-linux-gnu-...
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: 2019-11-17 16:15 UTC by Toralf Förster
Modified: 2019-12-13 09:53 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.27 KB, text/plain)
2019-11-17 16:15 UTC, Toralf Förster
Details
app-emulation:xen-4.12.1-r2:20191117-160813.log (app-emulation:xen-4.12.1-r2:20191117-160813.log,676.29 KB, text/plain)
2019-11-17 16:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.92 KB, text/plain)
2019-11-17 16:15 UTC, Toralf Förster
Details
environment (environment,105.80 KB, text/plain)
2019-11-17 16:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.18 KB, application/x-bzip)
2019-11-17 16:16 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,43.37 KB, application/x-bzip)
2019-11-17 16: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 2019-11-17 16:15:49 UTC
    /var/tmp/portage/app-emulation/xen-4.12.1-r2/work/xen-4.12.1/xen/common/symbols-dummy.o -o /var/tmp/portage/app-emulation/xen-4.12.1-r2/work/xen-4.12.1/xen/.xen-syms.0
x86_64-pc-linux-gnu-ld: error: xen.lds:63:47: syntax error, unexpected '-', expecting ')'
x86_64-pc-linux-gnu-ld: fatal error: unable to parse script file xen.lds
make[2]: *** [Makefile:132: /var/tmp/portage/app-emulation/xen-4.12.1-r2/work/xen-4.12.1/xen/xen-syms] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.12.1-r2/work/xen-4.12.1/xen/arch/x86'
make[1]: *** [Makefile:149: /var/tmp/portage/app-emulation/xen-4.12.1-r2/work/xen-4.12.1/xen/xen] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-test-20191114-081627

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.39.0 *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.13.0 [icedtea-8]
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm
  [3]   jamvm 

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 17 Nov 2019 14:46:10 +0000

emerge -qpvO app-emulation/xen
[ebuild  N    ] app-emulation/xen-4.12.1-r2  USE="-debug -efi -flask"
Comment 1 Toralf Förster gentoo-dev 2019-11-17 16:15:52 UTC
Created attachment 596534 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-17 16:15:55 UTC
Created attachment 596536 [details]
app-emulation:xen-4.12.1-r2:20191117-160813.log
Comment 3 Toralf Förster gentoo-dev 2019-11-17 16:15:58 UTC
Created attachment 596538 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-11-17 16:16:01 UTC
Created attachment 596540 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-11-17 16:16:04 UTC
Created attachment 596542 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-17 16:16:07 UTC
Created attachment 596544 [details]
temp.tbz2
Comment 7 Tomáš Mózes 2019-11-29 23:09:24 UTC
Will apply with the next version bump, thanks for the report.

--- xen-4.12.1-r3.ebuild        2019-11-29 22:14:47.860752164 +0000
+++ xen-4.12.1-r3.ebuild        2019-11-29 23:03:57.244122691 +0000
@@ -120,6 +120,8 @@
        unset CFLAGS
        unset LDFLAGS
        unset ASFLAGS
+
+       tc-ld-disable-gold # Bug 700374
 }
 
 src_compile() {
Comment 8 Larry the Git Cow gentoo-dev 2019-12-13 09:53:39 UTC
The bug has been closed via the following commit(s):

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

commit 020afb78fe20be70e4b09664867bc9aa9148a90f
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2019-12-13 06:17:44 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2019-12-13 09:46:20 +0000

    app-emulation/xen: bump to 4.12.1-r4
    
    Fix XSA-{307,308,309,310,311}
    
    Closes: https://bugs.gentoo.org/700374
    Cloese: https://github.com/gentoo/gentoo/pull/13966
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 app-emulation/xen/Manifest                                       | 2 +-
 app-emulation/xen/{xen-4.12.1-r3.ebuild => xen-4.12.1-r4.ebuild} | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

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

commit 4ff6960975e9334ceba78d3c5d4a921b2ac7d00c
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2019-12-13 06:15:44 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2019-12-13 09:46:17 +0000

    app-emulation/xen: bump to 4.11.3-r1
    
    Fix XSA-{307,308,309,310,311}
    
    Closes: https://bugs.gentoo.org/700374
    Cloese: https://github.com/gentoo/gentoo/pull/13966
    Bug: https://bugs.gentoo.org/702644
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 app-emulation/xen/Manifest                         |  2 +-
 app-emulation/xen/files/xen-4.11-efi.patch         | 36 ++++++++++++++++++++++
 .../{xen-4.11.3.ebuild => xen-4.11.3-r1.ebuild}    |  6 ++--
 3 files changed, 41 insertions(+), 3 deletions(-)