-frepo usage?
Todd Vierling
tvier@hesp.ea.xerox.com
Fri Sep 4 05:03:00 GMT 1998
OK, can someone post a sample usage of -frepo? I have tried it, and all I
get is linker errors (yes, collect2 is run as the frontend to ld). For
example, just some messages from my private source tree:
c++ -frepo -c test.cc
c++ -frepo -o test test.o
test.o: Undefined symbol `auto_var<basic_string<char, string_char_traits<char>, __default_alloc_template<0, 0> > > virtual table' referenced from text segment
test.o: Undefined symbol `auto_var<basic_string<char, string_char_traits<char>, __default_alloc_template<0, 0> > > virtual table' referenced from text segment
test.o: Undefined symbol `var<basic_string<char, string_char_traits<char>, __default_alloc_template<0, 0> > > virtual table' referenced from text segment
test.o: Undefined symbol `var<basic_string<char, string_char_traits<char>, __default_alloc_template<0, 0> > > virtual table' referenced from text segment
collect2: ld returned 1 exit status
The classes mentioned here are templates in header files that test.cc
includes. The test.rpo file is there, and has the relevant information,
but collect2 did nothing at all...?
Whether the link line has -frepo or not seems to make no difference.
--
-- Todd Vierling (tvier@hesp.ea.xerox.com - 8*475-2028 - tv@pobox.com)
More information about the Gcc
mailing list