From: James D. <j-d...@us...> - 2001-04-03 03:50:20
|
Hi, I downloaded Zoolib yesterday and compiled the demos on Linux 2.4.2 (Intel) and Solaris 8 (UltraSPARC). The demos run (ostensibly) fine under Linux but crash (Segmentation fault) under Solaris. The problem seems to be when ZAtomic_Add tries to acquire the sMutexNR lock: the acquisition routine calls ZAtomic_Add...infinite recursion. It would seem that when compiled on an Intel platform the ASM is used and is correct (so the Linux build worked) but the C++ for non-PPC and non-Intel platforms is incorrect (so the Solaris build failed). |