X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <48CADC55.90003@users.sourceforge.net> Date: Fri, 12 Sep 2008 16:17:09 -0500 From: "Yaakov (Cygwin Ports)" User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] New experimental package: gcc4-4.3.0-1 References: <48C8FE4D DOT 1090103 AT users DOT sourceforge DOT net> <013401c9140b$22b569c0$9601a8c0 AT CAM DOT ARTIMI DOT COM> <48CA2107 DOT FE8D0CB2 AT dessent DOT net> <01cb01c914db$53d34d80$9601a8c0 AT CAM DOT ARTIMI DOT COM> In-Reply-To: <01cb01c914db$53d34d80$9601a8c0@CAM.ARTIMI.COM> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Dave Korn wrote: > OK. Suits me. While you're at it, I would override LIBINTL and LIBICONV with their dynamic counterparts. > The problem is the major difference between ELF DSOs and PE DLLS: DLLs have > to be fully resolved at link-time, not load-time. So, when you're building > libstdc++ all those internal references to operator new have to be resolved > somewhere, and as the weakref is the only definition available that's where > they get linked to. Permanently and forever. > > If they were instead resolved to some kind of thunk that could do a lookup > at runtime for non-weak versions of the same symbol, we'd be golden. Well, > we'd need to make sure the non-weak versions were all declspecced dllexport > somehow, but that would do it for us. FWIW, this doesn't just affect C++; linking XWin against a dynamic libXfont has the same problem, causing the former not to work, and hence requires a static link. Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjK3FQACgkQpiWmPGlmQSM+KwCgutTD0WG53ZeGxT+AN8YPXtsm tOwAnixQMnvtOpauNiFuFe7F6YrMQ38p =tSNx -----END PGP SIGNATURE----- -- 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/