Current git changes
shea at shealevy.com
shea at shealevy.com
Thu Nov 20 02:18:11 CET 2014
FWIW, the attached patch is how I fixed this for my OS X 10.10 build.
On 2014-11-19 11:04, Werner Koch wrote:
> On Sat, 15 Nov 2014 17:47, patrick at enigmail.net said:
>
>> The only remaining issue when building on OS X is in common/. The
>> build
>> fails with this error when linking libcommon:
>>
>> Undefined symbols for architecture x86_64:
>> "_default_errsource", referenced from:
>> _parse_ber_header in libcommon.a(libcommon_a-tlv.o)
>
>
>> I suppose that the default ld on OS X (which seems to stem from LLVM
>> 3.5) behaves differently than other variants of ld
>
> Can you please test wether it helps to chnage in common/init.c
>
> /* The default error source of the application. This is different
> from GPG_ERR_SOURCE_DEFAULT in that it does not depend on the
> source file and thus is usable in code shared by applications.
> */
> gpg_err_source_t default_errsource;
>
> to
>
> gpg_err_source_t default_errsource = 0;
>
> and thus moving this variable from BSS to DATA?
>
>
> Shalom-Salam,
>
> Werner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcommon-darwin.patch
Type: application/octet-stream
Size: 585 bytes
Desc: not available
URL: </pipermail/attachments/20141119/7d82aa35/attachment.obj>
More information about the Gnupg-devel
mailing list