[tlbuild] problems with solaris & ICU

Mojca Miklavec mojca.miklavec.lists at gmail.com
Wed Mar 13 01:45:20 CET 2013


Hello everyone,

Just to let you know before you start scratching the head about
compilation issues on Sparc Solaris:

(I didn't play with optimization yet.)

On Tue, Mar 12, 2013 at 4:51 PM, Dagobert Michelsen wrote:
> Am 12.03.2013 um 16:37 schrieb Mojca Miklavec:
>>
>> while testing XeTeX on Solaris Sparc 9, I came across
>> the following problem (a failure in ICU 51):
>>
>> Undefined                       first referenced
>> symbol                             in file
>> __sync_sub_and_fetch_4              ../../lib/libicuuc.a(umutex.ao)
>> __sync_add_and_fetch_4              ../../lib/libicuuc.a(umutex.ao)
>
> The problem is that gcc uses assembly instructions not available on the selected ISA:
>   http://wiki.opencsw.org/porting-faq#toc7
> You can consider this a bug in gcc.
>
> The solution is to either decrease optimization or use a newer ISA, e.g. the flags
> for pentium_pro are
>   http://sourceforge.net/apps/trac/gar/browser/csw/mgar/gar/v2/gar.conf.mk#L350
>
> Best regards
>
>   -- Dago


More information about the tlbuild mailing list