bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation error


From: Bin Zeng
Subject: compilation error
Date: Wed, 01 Sep 2010 10:22:13 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2

 Hi,

There is a compilation error when I tried to build binutils.
I checked out the fresh copy of binutils from the repository:

    cvs -z 9 -d :pserver:address@hidden:/cvs/src co binutils

I configure binutils to with --enable-gold --enable-plugins to enable gold and plugins.

However, when I tried to build binutils in another directory, some errors popped up. Here is the snippet of error message:

../../src/gold/arm.cc: In instantiation of âconst size_t <unnamed>::Target_arm<false>::fake_relnum_for_stubsâ: ../../src/gold/arm.cc:8562: 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]â ../../src/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]â ../../src/gold/arm.cc:9221: 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]â
../../src/gold/arm.cc:11674:   instantiated from here
../../src/gold/arm.cc:2135: 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 /tmp/cczIynyz.out file, please attach this to your bugreport.
gmake[4]: *** [arm.o] Error 1
gmake[4]: Leaving directory `/export/home/zbin/llvm/binutils/build/gold'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/export/home/zbin/llvm/binutils/build/gold'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/zbin/llvm/binutils/build/gold'
gmake[1]: *** [all-gold] Error 2
gmake[1]: Leaving directory `/export/home/zbin/llvm/binutils/build'
gmake: *** [all] Error 2

My system is:
address@hidden build]$ uname -a
Linux sos 2.6.18-128.7.1.el5PAE #1 SMP Mon Aug 24 08:59:38 EDT 2009 i686 i686 i386 GNU/Linux

Thank you very much!

Bin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]