Subject: Re: "gnutls" under Darwin (was: CVS commit: pkgsrc/security/gnutls)
To: Matthias Scheler <>
From: Min Sik Kim <>
List: tech-pkg
Date: 01/24/2007 10:02:09
On Jan 24, 2007, at 8:00 AM, Matthias Scheler wrote:

> On Wed, Jan 24, 2007 at 01:47:52PM +0000, Matthias Scheler wrote:
>> On Tue, Jan 23, 2007 at 01:38:52PM +0100, Joerg Sonnenberger wrote:
>>>> 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.
>> I stand corrected. It *is* Mac OS X compiler bug.
>>> A good candidate is (not) inlining esp. in combination with  
>>> templates.
>>> And yes, ELF has a lot more magic for that.
>> It seems to be a common problem which is related to using pure  
>> virtual
>> method in a constructor or destructor, see here:
>> The fix in this case is to inline the copy constructor. I'm currently
>> testing a patch which do that (only under Mac OS X to avoid breaking
>> the binary ABI).
> I've committed the above fix. Could somebody please have a look at it
> ("patch-aa" and "patch-ac") before I submit it to the maintainers?

Looks good to me.  Thank you for fixing this.