Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628354 - sys-firmware/ipxe-1.0.0_p20160620 : make: *** [arch/.../Makefile.pcbios:116: bin/usbdisk.bin]<snip> Segmentation fault
Summary: sys-firmware/ipxe-1.0.0_p20160620 : make: *** [arch/.../Makefile.pcbios:116: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-20 08:46 UTC by Toralf Förster
Modified: 2018-02-12 00:01 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.84 KB, text/plain)
2017-08-20 08:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,131.54 KB, text/plain)
2017-08-20 08:46 UTC, Toralf Förster
Details
environment (environment,82.34 KB, text/plain)
2017-08-20 08:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.42 KB, application/x-bzip)
2017-08-20 08:46 UTC, Toralf Förster
Details
sys-firmware:ipxe-1.0.0_p20160620:20170820-083719.log.bz2 (sys-firmware:ipxe-1.0.0_p20160620:20170820-083719.log.bz2,36.02 KB, application/x-bzip)
2017-08-20 08:46 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 2017-08-20 08:46:04 UTC
  [LD] bin/usbdisk.bin
x86_64-pc-linux-gnu-ld  -m elf_i386 -N --no-check-sections --section-start=.prefix=0   --gc-sections -static -o bin/usbdisk.bin --oformat binary -e 0 bin/usbdisk.o
make: *** [arch/x86/Makefile.pcbios:116: bin/usbdisk.bin] Segmentation fault
make: *** Deleting file 'bin/usbdisk.bin'
 * ERROR: sys-firmware/ipxe-1.0.0_p20160620::gentoo failed (compile phase):
 *   emake failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_20170817-191629

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems)
  [2]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv sys-firmware/ipxe
[ebuild  N    ] sys-firmware/ipxe-1.0.0_p20160620  USE="ipv6 qemu usb -efi -iso -lkrn -savedconfig -undi -vmware"
Comment 1 Toralf Förster gentoo-dev 2017-08-20 08:46:07 UTC
Created attachment 489732 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-08-20 08:46:10 UTC
Created attachment 489734 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-08-20 08:46:14 UTC
Created attachment 489736 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-08-20 08:46:17 UTC
Created attachment 489738 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-08-20 08:46:20 UTC
Created attachment 489740 [details]
sys-firmware:ipxe-1.0.0_p20160620:20170820-083719.log.bz2
Comment 6 Michelangelo Scopelliti 2017-09-17 11:11:49 UTC
On my systems I had the same error with binutils-2.29.
I was able to build ipxe with binutils-2.28.1
Comment 7 Francesco Turco 2017-09-27 16:07:16 UTC
I can't emerge sys-firmware/ipxe-1.0.0_p20160620 even after downgrading both binutils and binutils-libs to version 2.28.1
Comment 8 Francesco Turco 2017-09-27 16:42:02 UTC
Sorry, I made a mistake. Please disregard comment 7. I can now confirm the workaround in comment 6 works on my system, too.
Comment 9 Francesco Turco 2017-09-30 12:11:36 UTC
After having upgraded sys-devel/binutils to version 2.29.1 I can now emerge sys-firmware/ipxe-1.0.0_p20160620 successfully.
Comment 10 Larry the Git Cow gentoo-dev 2018-02-12 00:01:51 UTC
The bug has been closed via the following commit(s):

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

commit b8549c4d268c60ef3e74368a00a92062562942f7
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2018-02-11 23:28:07 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2018-02-12 00:01:35 +0000

    sys-firmware/ipxe: create new snapshot
    
    Closes: https://bugs.gentoo.org/628354
    Closes: https://bugs.gentoo.org/638532
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-firmware/ipxe/Manifest                    |   1 +
 sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild | 108 ++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)