Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485078 - sys-firmware/seabios-1.7.2.{1,2} with ld.gold - ld error: out/rom16.strip.o: unsupported ELF file type 2
Summary: sys-firmware/seabios-1.7.2.{1,2} with ld.gold - ld error: out/rom16.strip.o: ...
Status: RESOLVED DUPLICATE of bug 438058
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-gold
  Show dependency tree
 
Reported: 2013-09-16 08:32 UTC by Marcin Mirosław
Modified: 2013-09-17 08:06 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,6.43 KB, text/plain)
2013-09-16 08:35 UTC, Marcin Mirosław
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2013-09-16 08:32:52 UTC
Version: ?-20130916_103110-vinci
Fixed space: 0xe05b-0x10000  total: 8101  slack: 10  Percent slack: 0.1%
16bit size:           42432
32bit segmented size: 1836
32bit flat size:      20212
32bit flat init size: 62480
Lowmem size:          2176
  Linking out/rom16.o
  Linking out/rom32seg.o
  Stripping out/rom32seg.strip.o
  Stripping out/rom16.strip.o
  Linking out/rom.o
ld: error: out/rom16.strip.o: unsupported ELF file type 2
ld: error: out/rom32seg.strip.o: unsupported ELF file type 2
ld: error: dot may not move backward
ld: error: dot may not move backward
ld: error: dot may not move backward
ld: error: dot may not move backward
ld: error: dot may not move backward
ld: error: dot may not move backward
ld: error: dot may not move backward
make: *** [out/rom.o] Error 1
 * ERROR: sys-firmware/seabios-1.7.2.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-firmware/seabios-1.7.2.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-firmware/seabios-1.7.2.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-firmware/seabios-1.7.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-firmware/seabios-1.7.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-firmware/seabios-1.7.2.1/work/seabios-1.7.2.1'
 * S: '/var/tmp/portage/sys-firmware/seabios-1.7.2.1/work/seabios-1.7.2.1'

With linker bfd seabios compiles fine.


Reproducible: Always




# emerge --info
Portage 2.2.1 (hardened/linux/amd64, gcc-4.8.1, glibc-2.15-r3, 3.10.7-gentoo x86_64)
=================================================================
System uname: Linux-3.10.7-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1230_V2_@_3.30GHz-with-gentoo-2.2
KiB Mem:    16453348 total,    679200 free
KiB Swap:    4193264 total,   4193264 free
Timestamp of tree: Mon, 16 Sep 2013 04:15:01 +0000
ld GNU gold (GNU Binutils 2.23.1) 1.11
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.8.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo qemu-init
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches         -fno-unwind-tables -fno-asynchronous-unwind-tables        -fexpensive-optimizations"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches         -fno-unwind-tables -fno-asynchronous-unwind-tables        -fexpensive-optimizations"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/qemu-init"
SYNC="rsync://gentoo-mirror/gentoo-portage"
USE="acl acpi amd64 avx bash-completion caps custom-cflags cxx hardened hwdb iconv ipv6 mmxext multilib nls openmp sse2 sse3 sse4 sse41 sse4_1 ssse3 threads udev unicode vim-syntax xattr" ABI_X86="64" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="multiboot pc" KERNEL="linux" LINGUAS="en" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Marcin Mirosław 2013-09-16 08:35:04 UTC
Created attachment 358782 [details]
build.log
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2013-09-17 01:41:38 UTC
Earlier in the build you should see an error that gold is not supported.

*** This bug has been marked as a duplicate of bug 438058 ***
Comment 3 Marcin Mirosław 2013-09-17 08:06:13 UTC
Maybe I should but I didn't seen;)
Thanks.