This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New ELF linker code added to GNU binutils


Ian Lance Taylor schrieb:

> I would be happy to receive any feedback.

fails to build with g++ from the gcc-4_3- branch.

  Matthias
Making all in testsuite
make[5]: Entering directory `/home/packages/binutils/binutils-2.18.50.20080323/builddir-single/gold/testsuite'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/packages/binutils/binutils-2.18.50.20080323/builddir-single/gold/testsuite'
make[5]: Entering directory `/home/packages/binutils/binutils-2.18.50.20080323/builddir-single/gold'
if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../gold -I. -I../../gold -I../../gold/../include -I../../gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/i486-linux-gnu/bin\""    -W -Wall   -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT archive.o -MD -MP -MF ".deps/archive.Tpo" -c -o archive.o ../../gold/archive.cc; \
	then mv -f ".deps/archive.Tpo" ".deps/archive.Po"; else rm -f ".deps/archive.Tpo"; exit 1; fi
if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../gold -I. -I../../gold -I../../gold/../include -I../../gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/i486-linux-gnu/bin\""    -W -Wall   -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT binary.o -MD -MP -MF ".deps/binary.Tpo" -c -o binary.o ../../gold/binary.cc; \
	then mv -f ".deps/binary.Tpo" ".deps/binary.Po"; else rm -f ".deps/binary.Tpo"; exit 1; fi
if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../gold -I. -I../../gold -I../../gold/../include -I../../gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/i486-linux-gnu/bin\""    -W -Wall   -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o ../../gold/common.cc; \
	then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi
if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../gold -I. -I../../gold -I../../gold/../include -I../../gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/i486-linux-gnu/bin\""    -W -Wall   -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT compressed_output.o -MD -MP -MF ".deps/compressed_output.Tpo" -c -o compressed_output.o ../../gold/compressed_output.cc; \
	then mv -f ".deps/compressed_output.Tpo" ".deps/compressed_output.Po"; else rm -f ".deps/compressed_output.Tpo"; exit 1; fi
if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../gold -I. -I../../gold -I../../gold/../include -I../../gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/i486-linux-gnu/bin\""    -W -Wall   -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT defstd.o -MD -MP -MF ".deps/defstd.Tpo" -c -o defstd.o ../../gold/defstd.cc; \
	then mv -f ".deps/defstd.Tpo" ".deps/defstd.Po"; else rm -f ".deps/defstd.Tpo"; exit 1; fi
if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../gold -I. -I../../gold -I../../gold/../include -I../../gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/i486-linux-gnu/bin\""    -W -Wall   -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT dirsearch.o -MD -MP -MF ".deps/dirsearch.Tpo" -c -o dirsearch.o ../../gold/dirsearch.cc; \
	then mv -f ".deps/dirsearch.Tpo" ".deps/dirsearch.Po"; else rm -f ".deps/dirsearch.Tpo"; exit 1; fi
if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../gold -I. -I../../gold -I../../gold/../include -I../../gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/i486-linux-gnu/bin\""    -W -Wall   -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT dynobj.o -MD -MP -MF ".deps/dynobj.Tpo" -c -o dynobj.o ../../gold/dynobj.cc; \
	then mv -f ".deps/dynobj.Tpo" ".deps/dynobj.Po"; else rm -f ".deps/dynobj.Tpo"; exit 1; fi
In file included from ../../gold/dynobj.cc:30:
../../gold/script.h: In member function 'bool gold::Version_script_info::symbol_is_local(const char*) const':
../../gold/script.h:152: error: invalid use of incomplete type 'const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >'
/usr/include/c++/4.3/bits/stringfwd.h:56: error: declaration of 'const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >'
../../gold/script.h:153: error: invalid use of incomplete type 'const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >'
/usr/include/c++/4.3/bits/stringfwd.h:56: error: declaration of 'const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >'
../../gold/script.h: At global scope:
../../gold/script.h:247: error: field 'name_' has incomplete type
../../gold/script.h: In constructor 'gold::Symbol_assignment::Symbol_assignment(const char*, size_t, gold::Expression*, bool, bool)':
../../gold/script.h:206: error: class 'gold::Symbol_assignment' does not have any field named 'name_'
../../gold/script.h: At global scope:
../../gold/script.h:282: error: field 'message_' has incomplete type
../../gold/script.h: In constructor 'gold::Script_assertion::Script_assertion(gold::Expression*, const char*, size_t)':
../../gold/script.h:267: error: class 'gold::Script_assertion' does not have any field named 'message_'
../../gold/script.h: At global scope:
../../gold/script.h:376: error: field 'entry_' has incomplete type
make[5]: *** [dynobj.o] Error 1
make[5]: Leaving directory `/home/packages/binutils/binutils-2.18.50.20080323/builddir-single/gold'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/packages/binutils/binutils-2.18.50.20080323/builddir-single/gold'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/packages/binutils/binutils-2.18.50.20080323/builddir-single/gold'
make[2]: *** [all-gold] Error 2
make[2]: Leaving directory `/home/packages/binutils/binutils-2.18.50.20080323/builddir-single'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/packages/binutils/binutils-2.18.50.20080323/builddir-single'
make: *** [build-single-stamp] Error 2

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]