Subject: Re: "gnutls" under Darwin (was: CVS commit: pkgsrc/security/gnutls)
To: None <email@example.com>
From: Joerg Sonnenberger <firstname.lastname@example.org>
Date: 01/23/2007 13:38:52
On Tue, Jan 23, 2007 at 09:01:42AM +0000, Matthias Scheler wrote:
> > According to the gnutls maintainer, the C++ compiler on Darwin is
> > probably broken.
> And I bet he is wrong. My guess is that they have an undefined symbol
> in their library e.g. function "a" which calls "b" which got removed.
> ELF linkers don't complain about such problems while linking shared
> libraries. But the Mac OS X linker does complain.
A good candidate is (not) inlining esp. in combination with templates.
And yes, ELF has a lot more magic for that. I'd like to see an option
for the libtool wrapper to force -no-undefined, any takers?