Bug #60513 [NEW]: Unable to compile php-5.3.8 with gcc 3.3.6 [uClibc 0.9.27]
| From: | tals1975 at gmail dot com | Date: | Tue, 13 Dec 2011 16:30:21 +0000 |
| Subject: | Bug #60513 [NEW]: Unable to compile php-5.3.8 with gcc 3.3.6 [uClibc 0.9.27] | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-165841@lists.php.net to get a copy of this message | ||
From:
Operating system: Linux 2.4.28 (LFS)
PHP version: 5.3.8
Package: Compile Failure
Bug Type: Bug
Bug description:Unable to compile php-5.3.8 with gcc 3.3.6 [uClibc 0.9.27]
Description:
------------
Unable to compile with gcc 3.3.6 [uClibc 0.9.27].
ERROR:
=======
/sources/php-5.3.8/ext/standard/php_crypt_r.c:101: undefined reference to
`membar_producer'
/sources/php-5.3.8/ext/standard/php_crypt_r.c:102: undefined reference to
`atomic_add_int'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
php-5.3.8 CONFIGURATION: + apache-2.0.50 + sqlite-3.7.9
========================
./configure --with-apxs2=/mnt/C/sys/apache2/bin/apxs --program-prefix=
--prefix=/mnt/C/sys --exec-prefix=/mnt/C/sys --bindir=/mnt/C/sys/bin
--sbindir=/mnt/C/sys/sbin --sysconfdir=/mnt/C/sys/etc --enable-cgi
--enable-debug --with-bz2 --without-curl --without-gettext --without-gmp
--with-openssl --without-pspell --with-regex=system --with-zlib
--enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes
--disable-safe-mode --enable-sockets --enable-sqlite-utf8 --without-oci8
--with-gd --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib
--sysconfdir=/mnt/C/sys/etc --with-pear=/mnt/C/sys/lib/php --with-readline
--without-mssql --without-mysql --with-libxml-dir=/mnt/C/sys
GCC VERSION:
===========
gcc -v
Using built-in specs.
Configured with: /opt/buildroot/toolchain_build_i386/gcc-3.3.6/configure
--prefix=/usr --build=i386-pc-linux-gnu --host=i386-linux-uclibc
--target=i386-linux-uclibc --enable-languages=c,c++,objc --enable-shared
--with-gxx-include-dir=/usr/include/c++ --disable-__cxa_atexit
--enable-target-optspace --with-gnu-ld --disable-nls --enable-multilib :
(reconfigured) /opt/buildroot/toolchain_build_i386/gcc-3.3.6/configure
--prefix=/usr --build=i386-pc-linux-gnu --host=i386-linux-uclibc
--target=i386-linux-uclibc --enable-languages=c,c++,objc --enable-shared
--with-gxx-include-dir=/usr/include/c++ --disable-__cxa_atexit
--enable-target-optspace --with-gnu-ld --disable-nls --enable-multilib :
(reconfigured)
/home/user/CR/opt/buildroot/toolchain_build_i386/gcc-3.3.6/configure
--prefix=/usr --build=i386-pc-linux-gnu --host=i386-linux-uclibc
--target=i386-linux-uclibc --enable-languages=c,c++,objc --enable-shared
--with-gxx-include-dir=/usr/include/c++ --disable-__cxa_atexit
--enable-target-optspace --with-gnu-ld --disable-nls --enable-multilib
Thread model: posix
gcc version 3.3.6
--
Edit bug report at https://bugs.php.net/bug.php?id=60513&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60513&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60513&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60513&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=60513&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60513&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=60513&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=60513&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=60513&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=60513&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=60513&r=support
Expected behavior: https://bugs.php.net/fix.php?id=60513&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=60513&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=60513&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=60513&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60513&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60513&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=60513&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=60513&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=60513&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=60513&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=60513&r=mysqlcfg