Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391431 - =sys-devel/binutils-2.21.1-r1 fails to build on s390x
Summary: =sys-devel/binutils-2.21.1-r1 fails to build on s390x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL: http://sourceware.org/ml/binutils/201...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 20:04 UTC by Raúl Porcel (RETIRED)
Modified: 2012-08-10 04:28 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,155.23 KB, text/plain)
2011-11-22 20:04 UTC, Raúl Porcel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2011-11-22 20:04:44 UTC
Created attachment 293429 [details]
build.log

Relevant output:
libtool: link: s390x-ibm-linux-gnu-gcc -shared  .libs/archive.o .libs/archures.o .libs/bfd.o .libs/bfdio.o .libs/bfdwin.o .libs/cache.o .libs/coffgen.o .libs/corefile.o .libs/format.o .libs/init.o .libs/libbfd.o .libs/opncls.o .libs/reloc.o .libs/section.o .libs/syms.o .libs/targets.o .libs/hash.o .libs/linker.o .libs/srec.o .libs/binary.o .libs/tekhex.o .libs/ihex.o .libs/stabs.o .libs/stab-syms.o .libs/merge.o .libs/dwarf2.o .libs/simple.o .libs/compress.o .libs/verilog.o .libs/elf64-s390.o .libs/elf64.o .libs/elf.o .libs/elflink.o .libs/elf-attrs.o .libs/elf-strtab.o .libs/elf-eh-frame.o .libs/dwarf1.o .libs/elf32-s390.o .libs/elf32.o .libs/elf64-gen.o .libs/elf32-gen.o .libs/plugin.o .libs/cpu-s390.o .libs/cpu-plugin.o .libs/trad-core.o .libs/archive64.o   -Wl,--as-needed -L/var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/build/bfd/../libiberty/pic -liberty -ldl -lz  -Wl,-O1 -Wl,-lc -Wl,--as-needed -Wl,-lm -Wl,--no-as-needed   -Wl,-soname -Wl,libbfd-2.21.1.so -o .libs/libbfd-2.21.1.so
/var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/build/bfd/../libiberty/pic/libiberty.a(cplus-dem.o): In function `cplus_demangle_set_style':
cplus-dem.c:(.text+0x13ea): relocation truncated to fit: R_390_GOT12 against symbol `current_demangling_style' defined in .data section in /var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/build/bfd/../libiberty/pic/libiberty.a(cplus-dem.o)
/var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/build/bfd/../libiberty/pic/libiberty.a(cplus-dem.o): In function `cplus_demangle':
cplus-dem.c:(.text+0x1c60): relocation truncated to fit: R_390_GOT12 against symbol `current_demangling_style' defined in .data section in /var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/build/bfd/../libiberty/pic/libiberty.a(cplus-dem.o)
collect2: ld returned 1 exit status
make[4]: *** [libbfd.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/build/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/build/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/build'
make: *** [all] Error 2
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2011-11-26 17:52:18 UTC
This patch fixes it:
http://permalink.gmane.org/gmane.comp.gnu.binutils/54435