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]

Re: linux libstc++ pthread mystery solved!




  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




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