This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

-frepo usage?


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)



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