On May 10, 2011, at 12:25 AM, Jonathan Callen wrote:

>> make[4]: *** [arm.o] Error 1
> 
> The actual error is going to be somewhere above this line.  You did not 
> post enough of the log to actually determine what the error actually was.
> 
> The warning about config.{guess,sub} not found is harmless.


Ah, OK.  Here's a few lines above:

=====
...
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
/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’:
/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]’
/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]’
/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]’
/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
/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
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
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.
make[4]: *** [arm.o] Error 1
...
=====

"internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:5067"

Does that mean the problem was in g++?

-- Ricky


Reply via email to