Edit report at http://bugs.php.net/bug.php?id=54371&edit=1
ID: 54371 Updated by: s...@php.net Reported by: wyatt at lle dot rochester dot edu Summary: Undefined symbol: __sync_fetch_and_add_4 -Status: Open +Status: Wont fix Type: Bug Package: Compile Failure Operating System: SunOS 5.10 Generic_14290 PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: Thanks for the feedback. Previous Comments: ------------------------------------------------------------------------ [2011-03-24 20:59:11] wyatt at lle dot rochester dot edu SIXD: I could try the Instant Client libraries but that would require a lot of work recompiling other supporting software that is in use. It's also not related to the problem at hand. Bug report 53310 looks like it might be related to this issue but I am using gcc 4.2.2. I should add that I was able to compile versions 5.3.1, 5.3.3, 5.3.4, and 5.3.5 with no problems using the same script (other than changing the prefix). SRINATAR: I thought I had tried -m32 by itself but clearly not because I tried again and it compiled successfully. Perhaps this would be a good thing to add to the README's. Thank you! ------------------------------------------------------------------------ [2011-03-24 19:19:34] srina...@php.net If you want to compile with 32-bit, you should be using -m32. unless, u know exactly what you are doing, please refrain from using -xarch/-mcpu flags. let the compiler figure it for you. export CFLAGS="-m32" ------------------------------------------------------------------------ [2011-03-24 19:00:35] s...@php.net Also see http://bugs.php.net/53310 ------------------------------------------------------------------------ [2011-03-24 18:50:59] s...@php.net Have you tried the free 64bit Oracle Instant Client libraries? http://www.oracle.com/technetwork/topics/sol64soft-085649.html ------------------------------------------------------------------------ [2011-03-24 16:12:22] wyatt at lle dot rochester dot edu This is the reported error: Undefined first referenced symbol in file __sync_fetch_and_add_4 ext/standard/.libs/php_crypt_r.o ld: fatal: Symbol referencing errors. No output written to sapi/cli/php collect2: ld returned 1 exit status gmake: *** [sapi/cli/php] Error 1 ------------------------------------------------------------------------ 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 http://bugs.php.net/bug.php?id=54371 -- Edit this bug report at http://bugs.php.net/bug.php?id=54371&edit=1