From:
Operating system: Linux Debian 5.0.6
PHP version: 5.3.8
Package: Compile Failure
Bug Type: Bug
Bug description:undefined reference to `__sync_fetch_and_add_4' on Linux parisc
Description:
------------
same as Bug #55231 , with Linux instead of HP-UX,
gcc-4.3 on PA-RISC 2.0 CPU family,
undefined reference to `__sync_fetch_and_add_4'
Test script:
---------------
./configure --prefix=/vrumm/php5 \
--with-apxs2=/vrumm/apache/bin/apxs \
--with-pdo-mysql \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--enable-zip \
--with-zlib-dir=/usr/lib/ \
--with-gd \
--enable-gd-native-ttf \
--with-gettext \
--enable-calendar \
--enable-exif \
--with-iconv \
--enable-mbstring \
--with-openssl \
--with-pear
Expected result:
----------------
results in error at link stage:
ext/standard/.libs/php_crypt_r.o: In function `_crypt_extended_init_r':
/usr/local/src/php-5.3.8/ext/standard/php_crypt_r.c:99: undefined reference
to `__sync_fetch_and_add_4'
--
Edit bug report at https://bugs.php.net/bug.php?id=55707&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=55707&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=55707&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=55707&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=55707&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=55707&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=55707&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=55707&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=55707&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=55707&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=55707&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=55707&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=55707&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=55707&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=55707&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=55707&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55707&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=55707&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=55707&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=55707&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=55707&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=55707&r=mysqlcfg