Gold compilation problem with GCC 3.4.4

Remko Tronçon remko@el-tramo.be
Tue Apr 8 08:55:00 GMT 2008


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



More information about the Binutils mailing list