[ANNOUNCEMENT] New experimental package: gcc4-4.3.0-1

Yaakov (Cygwin Ports) yselkowitz@users.sourceforge.net
Fri Sep 12 22:29:00 GMT 2008


-----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/



More information about the Cygwin mailing list