Subject: Re: "gnutls" under Darwin (was: CVS commit: pkgsrc/security/gnutls)
To: Matthias Scheler <firstname.lastname@example.org>
From: Min Sik Kim <minskim@NetBSD.org>
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
>>>> in their library e.g. function "a" which calls "b" which got
>>>> 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
>>> And yes, ELF has a lot more magic for that.
>> It seems to be a common problem which is related to using pure
>> 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.