Edit report at https://bugs.php.net/bug.php?id=55231&edit=1
ID: 55231 Updated by: fel...@php.net Reported by: php at dactar dot ch Summary: Unsatisfied symbols __sync_fetch_and_add_4 -Status: Assigned +Status: Analyzed Type: Bug Package: *Compile Issues Operating System: HP-UX 11.11 PHP Version: 5.3.7RC3 Assigned To: felipe Block user comment: N Private report: N New Comment: I've added a check for HP-UX, GCC seems not have implemented __sync_fetch_and_add_4 for all targets. Previous Comments: ------------------------------------------------------------------------ [2011-07-20 11:33:27] php at dactar dot ch Hello, Sorry, with : #elif (defined(__GNUC__) && (__GNUC__ > 4 || \ (__GNUC__ == 4 && (__GNUC_MINOR__ > 1 || (__GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ > 1))))) it doesn't work ( Unresolved symbol: __sync_fetch_and_add_4 (code) ) I don't have the problem with : #elif (defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2)) Thanks @++ JC ------------------------------------------------------------------------ [2011-07-19 18:12:07] fel...@php.net Automatic comment from SVN on behalf of felipe Revision: http://svn.php.net/viewvc/?view=revision&revision=313452 Log: - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) ------------------------------------------------------------------------ [2011-07-19 18:11:20] fel...@php.net Please try using this snapshot: http://snaps.php.net/php-trunk-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Such feature requires GCC >= 4.1.2, I've ajusted the check for the version. Can you test it? :) ------------------------------------------------------------------------ [2011-07-18 10:42:42] php at dactar dot ch Hello pajoye. I can't do that because I don't understand why the 97th line has changed on 24 may. I don't have low level system / compiler skills to be exactly sure what I'm doing and how to correct that properly. I can however test any patch and validate it. Thanks for your help, @++ JC ------------------------------------------------------------------------ [2011-07-18 08:54:21] paj...@php.net Thanks for your feedback. Please provide a patch (svn diff -u) and add a test for HPUX11 as well as this code is perfectly valid on other (almost all) platforms using gcc. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=55231 -- Edit this bug report at https://bugs.php.net/bug.php?id=55231&edit=1