This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: zero-alloc cache (was Re: [v3] Fix PR libstdc++/10276)


Carlo Wood writes:
 > On Fri, Apr 18, 2003 at 12:29:32AM -0400, Jerry Quinn wrote:
 > > What do you think?  Does this do the job for 3.3?
 > 
 > There seems to be a problem:
 > 
 > /usr/local/gcc-cvs-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../libstdc++.so: undefined reference to `std::basic_ios<wchar_t, std::char_traits<wchar_t> >::init(std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >*, std::__locale_cache<wchar_t>*)'
 > /usr/local/gcc-cvs-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../libstdc++.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*, std::__locale_cache<char>*)'
 > collect2: ld returned 1 exit status
 > 
 > -- 
 > Carlo Wood <carlo at alinoe dot com>

You need to completely rebuild the v3 library.  The following works
for me:

cd ~/gcc/build/i686-pc-linux-gnu/libstdc++-v3
rm -r include src
./config.status
make install

Someday if I finish up the various speedup-related stuff, maybe I'll
attempt to wade into the configury and figure out how to make the
dependencies work correctly <shiver/>

Jerry


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