Gentoo Archives: gentoo-alt

From: Ricky Egeland <ricky.egeland@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: gentoo prefix bootstrap fails on emerge sys-devel/binutils-2.21.51.0.6
Date: Tue, 10 May 2011 16:10:20
Message-Id: 03275322-7829-4552-AE7A-B59BA0B2C957@gmail.com
In Reply to: [gentoo-alt] Re: gentoo prefix bootstrap fails on emerge sys-devel/binutils-2.21.51.0.6 by Jonathan Callen
1 On May 10, 2011, at 12:25 AM, Jonathan Callen wrote:
2
3 >> make[4]: *** [arm.o] Error 1
4 >
5 > The actual error is going to be somewhere above this line. You did not
6 > post enough of the log to actually determine what the error actually was.
7 >
8 > The warning about config.{guess,sub} not found is harmless.
9
10
11 Ah, OK. Here's a few lines above:
12
13 =====
14 ...
15 g++ -DHAVE_CONFIG_H -I. -I/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold -I/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold -I/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold/../include -I/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold/../elfcpp -DLOCALEDIR="\"/home/egeland/gentoo-prefix/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.51.0.6/locale\"" -DBINDIR="\"/home/egeland/gentoo-prefix/usr/x86_64-pc-linux-gnu/binutils-bin/2.21.51.0.6\"" -DTOOLBINDIR="\"/home/egeland/gentoo-prefix/usr/x86_64-pc-linux-gnu/bin\"" -I/home/egeland/gentoo-prefix/usr/include -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=arm.o -O2 -pipe -MT arm.o -MD -MP -MF .deps/arm.Tpo -c -o arm.o /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold/arm.cc
16 /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold/arm.cc: In instantiation of ‘const size_t <unnamed>::Target_arm<false>::fake_relnum_for_stubs’:
17 /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold/arm.cc:8834: instantiated from ‘bool<unnamed>::Target_arm<big_endian>::Relocate::relocate(const gold::Relocate_info<32, big_endian>*, <unnamed>::Target_arm<big_endian>*, gold::Output_section*, size_t, const elfcpp::Rel<32, big_endian>&, unsigned int, const gold::Sized_symbol<32>*, const gold::Symbol_value<32>*, unsigned char*, <unnamed>::Arm_address, gold::section_size_type) [with bool big_endian = false]’
18 /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold/target-reloc.h:334: instantiated from ‘void gold::relocate_section(const gold::Relocate_info<size, big_endian>*, Target_type*, const unsigned char*, size_t, gold::Output_section*, bool, unsigned char*, typename elfcpp::Elf_types<size>::Elf_Addr, gold::section_size_type, const gold::Reloc_symbol_changes*) [with int size = 32, bool big_endian = false, Target_type = <unnamed>::Target_arm<false>, int sh_type = 9, Relocate = <unnamed>::Target_arm<false>::Relocate]’
19 /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold/arm.cc:9455: instantiated from ‘void<unnamed>::Target_arm<big_endian>::relocate_section(const gold::Relocate_info<32, big_endian>*, unsigned int, const unsigned char*, size_t, gold::Output_section*, bool, unsigned char*, <unnamed>::Arm_address, gold::section_size_type, const gold::Reloc_symbol_changes*) [with bool big_endian = false]’
20 /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold/arm.cc:11972: instantiated from here
21 /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6/gold/arm.cc:2166: internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:5067
22 Please submit a full bug report,
23 with preprocessed source if appropriate.
24 See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
25 Preprocessed source stored into /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/ccFBgfLo.out file, please attach this to your bugreport.
26 make[4]: *** [arm.o] Error 1
27 ...
28 =====
29
30 "internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:5067"
31
32 Does that mean the problem was in g++?
33
34 -- Ricky

Replies