This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: linux libstc++ pthread mystery solved!
- To: Neal Becker <neal at ctd dot comsat dot com>
- Subject: Re: linux libstc++ pthread mystery solved!
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 19 Oct 1997 19:32:26 -0600
- cc: egcs at cygnus dot com, drepper at cygnus dot com
- Reply-To: law at cygnus dot com
In message <u93elzb1yd.fsf@neal.ctd.comsat.com>you write:
> I finally got my problem fixed, that libstc++ had undefined pthread
> symbols, even after recompiling.
>
> The problem was that make clean did not remove all the old .o files!
> In library/libio there were some left. I think it was osform.o that
> was the problem, if I recall correctly.
>
> find -name '*.o' | xarg rm; make distclean; configure; make fixed it.
Ulrich & I'd really like to know how that could happen :-)
Strange. libraries/libio/Makefile contains
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
do-clean: do-clean-dvi
rm -rf *.o pic stamp-picdir core iostream.list _G_config.h *.a
clean: do-clean
@$(MAKE) $(FLAGS_TO_PASS) "DODIRS=$(SUBDIRS)" DO=clean subdir_do
@$(MULTICLEAN) multi-clean DO=clean