This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-frepo usage?
- To: egcs at cygnus dot com
- Subject: -frepo usage?
- From: Todd Vierling <tvier at hesp dot ea dot xerox dot com>
- Date: Thu, 3 Sep 1998 13:23:04 PDT
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)