Port-amiga archive

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

Re: __sync_fetch_and_add_4 on m68k



On 4 paź 2011, at 11:25, John Klos wrote:

> How does one best get around the need for __sync_fetch_and_add_4 on m68k? 
> Trying to compile php 5.3.8 from pkgsrc:
> 
> ext/standard/php_crypt_r.o: In function `_crypt_extended_init_r':
> php_crypt_r.c:(.text+0x468): undefined reference to `__sync_fetch_and_add_4'


We don't have these atomic built-ins for m68k.

Try something similar to this: 
http://www.tuxxedo.net/phpdotnet/news/php.cvs/65572/

-- 
Best regards,
Radoslaw Kujawa






Home | Main Index | Thread Index | Old Index