php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: techsup at pab dot eu
New email:
PHP Version: OS:

 

 [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)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-17 00:05 UTC] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=316886
Log: - Fixed bug #55707 (undefined reference to `__sync_fetch_and_add_4' on Linux parisc)
 [2011-09-17 00:05 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
 [2011-09-17 00:05 UTC] felipe@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC