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]

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


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