This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Gold compilation problem with GCC 3.4.4
- From: "Remko Tronçon" <remko at el-tramo dot be>
- To: binutils at sourceware dot org
- Date: Tue, 8 Apr 2008 10:55:37 +0200
- Subject: Gold compilation problem with GCC 3.4.4
Hi,
When building today's gold CVS version with gcc-3.4.4, I run into an
unresolved symbol at the linking stage:
libgold.a(reloc.o)(.gnu.linkonce.t._ZNK4gold19Merged_symbol_valueILi32EE25value_from_output_sectionEPKNS_6RelobjEjj+0x2b):
In function `gold::Merged_symbol_value<32>::value_from_output_section(gold::Relobj
const*, unsigned int, unsigned int) const':
../../binutils/gold/reloc.cc:1134: undefined reference to
`gold::Object_merge_map::get_output_offset(gold::Merge_map const*,
unsigned int, int, int*)'
Removing the 'inline' from Object_merge_map::get_output_offset solves
the linker error.
cheers,
Remko