[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [PATCH] intl: fix build targetting 10.6 with newer SDK's

From: Andoni Morales
Subject: [bug-gettext] [PATCH] intl: fix build targetting 10.6 with newer SDK's
Date: Tue, 7 May 2013 13:43:23 +0200

Building libintl targeting the 10.6 SDK with a newer SDK (10.7 or 10.8) leads to the following abort in Snow Leopard:
libSystem.B.dylib                   0x00007fff872940b6 __kill + 10
libSystem.B.dylib                   0x00007fff873349f6 abort + 83
libintl.8.dylib                           0x000000010072148d _nl_load_domain + 3802
libintl.8.dylib                           0x000000010072050e _nl_find_domain + 460
libintl.8.dylib                           0x00000001007230ed libintl_dcigettext + 1132

In 10.7 and 10.8 pthread.h defines unconditionally PTHREAD_RECURSIVE_MUTEX_INITIALIZER, which is undefined in 10.6. So building with -mmacosx-version-min=10.6 using a newer SDK causes the above error when used in Snow Leopard.


Andoni Morales Alastruey

LongoMatch:The Digital Coach

Attachment: 0001-intl-fix-build-targetting-10.6-with-the-10.7-or-10.8.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]