This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gold in current master doesn't build
- From: Andi Kleen <andi at firstfloor dot org>
- To: binutils at sourceware dot org
- Date: Thu, 16 Sep 2010 12:40:25 +0200
- Subject: gold in current master doesn't build
make[3]: Entering directory `/home/src2/binutils/obj/gold'
g++ -DHAVE_CONFIG_H -I. -I../../binutils/gold -I../../binutils/gold -I../../binutils/gold/../include -I../../binutils/gold/../elfcpp -DLOCALEDIR="\"/pkg/binutils-100916/share/locale\"" -DBINDIR="\"/pkg/binutils-100916/bin\"" -DTOOLBINDIR="\"/pkg/binutils-100916/x86_64-unknown-linux-gnu/bin\"" -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=script-sections.o -g -O2 -MT script-sections.o -MD -MP -MF .deps/script-sections.Tpo -c -o script-sections.o ../../binutils/gold/script-sections.cc
cc1plus: warnings being treated as errors
../../binutils/gold/script-sections.cc: In constructor gold::Memory_region::Memory_region(const char*, size_t, unsigned int, gold::Expression*, gold::Expression*):
../../binutils/gold/script-sections.cc:59:25: error: passing NULL to non-pointer argument 1 of std::vector<_Tp, _Alloc>::vector(std::vector::size_type, const value_type&, const allocator_type&) [with _Tp = gold::Output_section_definition*, _Alloc = std::allocator<gold::Output_section_definition*>, std::vector::size_type = long unsigned int, value_type = gold::Output_section_definition*, allocator_type = std::allocator<gold::Output_section_definition*>]
../../binutils/gold/script-sections.cc:59:25: error: passing NULL to non-pointer argument 1 of std::vector<_Tp, _Alloc>::vector(std::vector::size_type, const value_type&, const allocator_type&) [with _Tp = gold::Output_section_definition*, _Alloc = std::allocator<gold::Output_section_definition*>, std::vector::size_type = long unsigned int, value_type = gold::Output_section_definition*, allocator_type = std::allocator<gold::Output_section_definition*>]
-Andi
--
ak@linux.intel.com -- Speaking for myself only.