Bug #74187 [NEW]: __clzdi2 ld: fatal: symbol referencing errors
| From: | fabulousfateh at gmail dot com | Date: | Wed, 01 Mar 2017 05:31:37 +0000 |
| Subject: | Bug #74187 [NEW]: __clzdi2 ld: fatal: symbol referencing errors | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-207618@lists.php.net to get a copy of this message | ||
From: fabulousfateh at gmail dot com
Operating system: Solaris 11.3 Sparc
PHP version: 7.1.2
Package: Compile Failure
Bug Type: Bug
Bug description:__clzdi2 ld: fatal: symbol referencing errors
Description:
------------
I got an error during compiling Make PHP. This should be a bug from PHP
7.1.2 and MySQL Enterprise Server - Advanced Edition (Commercial) Ver
5.7.17
Test script:
---------------
export CC="gcc -m64"
export CFLAGS="-std=gnu99"
./configure --prefix=/opt/app/php --with-openssl=/opt/app/openssl
--datadir=/opt/app/php --enable-fpm --with-fpm-user=apache
--with-fpm-group=apache --with-pcre-regex=/opt/app/pcre
--with-apxs2=/opt/app/apache/bin/apxs
--with-mysqli=/opt/app/mysql/mysql/bin/mysql_config
--with-mysql-sock=/opt/app/mysql/mysql/socket/mysql.sock
--with-libxml-dir=/opt/app/libxml2 --with-bz2 --with-zlib
gmake
Expected result:
----------------
gmake successfully compile.
Actual result:
--------------
ld: warning: file
/usr/gcc/4.8/lib/gcc/sparc-sun-solaris2.11/4.8.2/libgcc.a(_clzdi2.o):
wrong ELF class: ELFCLASS32
Undefined first referenced
symbol in file
__clzdi2 Zend/.libs/zend_alloc.o (symbol
belongs to implicit dependency /opt/app/mysql/mysql/lib/libgcc_s.so.1)
__ctzdi2 Zend/.libs/zend_alloc.o (symbol
belongs to implicit dependency /opt/app/mysql/mysql/lib/libgcc_s.so.1)
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
gmake: *** [sapi/cli/php] Error 1
--
Edit bug report at https://bugs.php.net/bug.php?id=74187&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74187&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74187&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74187&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74187&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74187&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74187&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74187&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74187&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74187&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74187&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74187&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74187&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74187&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74187&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74187&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74187&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74187&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74187&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74187&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74187&r=mysqlcfg