undefined reference to `__sync_fetch_and_add_4' on Linux parisc

Bug #55707 undefined reference to `__sync_fetch_and_add_4' on Linux parisc
Submitted: 2011-09-16 09:03 UTC Modified: 2011-09-17 00:05 UTC
From: techsup at pab dot eu Assigned: felipe (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.3.8 OS: Linux Debian 5.0.6
Private report: No CVE-ID: None

 [2011-09-16 09:03 UTC] techsup at pab dot eu

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'


Patches

hppa_sync_fetch_and_add_4 (last revision 2011-09-16 09:37 UTC by techsup at pab dot eu)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2011-09-17 00:05 UTC] felipe@php.net

-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe