delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/13/10:08:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Mysterious g++ link problems
Date: Wed, 13 Jul 2005 15:07:43 +0100
MIME-Version: 1.0
In-Reply-To: <uk6justks.fsf@boost-consulting.com>
Message-ID: <SERRANOx2f1AIjqr3SM0000050f@SERRANO.CAM.ARTIMI.COM>

----Original Message----
>From: David Abrahams
>Sent: 13 July 2005 14:51

> Here are the symptoms.

> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):: undefined
> reference to `___w32_sharedptr_terminate'

> This compiler was configured built and installed by me with
> --prefix=/usr/local/gcc-3.4.4 and has worked flawlessly up 'till now
> (and still works fine on other programs).

>   > cygcheck -c gcc
>   Cygwin Package Information
>   Package              Version        Status
>   gcc                  3.4.4-1        OK

> I think until recently /bin/gcc referred to gcc-3.3.3 on my system,
> but I guess a recent use of the Cygwin setup program updated it to
> 3.4.4.  Everything works fine if I use /bin/g++, so I guess I can just
> throw out the contents of /usr/local/gcc-3.4.4, but this is still a
> bit disturbing.


  Looks like a clash between the two compilers.  For some reason your
compiler in /usr/local/gcc-3.4.4 is finding and linking against the cygwin
compiler's libstdc in /usr/lib/gcc/.

  Googling for '__w32_sharedptr_terminate throws up....

http://gcc.gnu.org/ml/gcc/2004-04/msg00636.html

which is an inconclusive thread but may perhaps throw some light on the
problem

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019