php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63964 PHP 5.4.10 build with clang 3.2 failed
Submitted: 2013-01-11 07:38 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: hufeng1987 at gmail dot com Assigned:
Status: Open Package: *General Issues
PHP Version: 5.4.10 OS: CentOS 5.8
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-01-11 07:38 UTC] hufeng1987 at gmail dot com
Description:
------------
when i try to build PHP 5.4.10 using clang 3.2 , i got failed in the compile 
progress.

Actual result:
--------------
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x240): multiple 
definition of `strtod'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x0): first 
defined here
sapi/cli/php_cli_server.o: In function `strtof':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x2d0): multiple 
definition of `strtof'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x90): first 
defined here
sapi/cli/php_cli_server.o: In function `strtol':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x270): multiple 
definition of `strtol'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x30): first 
defined here
sapi/cli/php_cli_server.o: In function `strtold':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x300): multiple 
definition of `strtold'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0xc0): first 
defined here
sapi/cli/php_cli_server.o: In function `strtoll':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x390): multiple 
definition of `strtoll'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x150): 
first defined here
sapi/cli/php_cli_server.o: In function `strtoq':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x330): multiple 
definition of `strtoq'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0xf0): first 
defined here
sapi/cli/php_cli_server.o: In function `strtoul':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x2a0): multiple 
definition of `strtoul'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x60): first 
defined here
sapi/cli/php_cli_server.o: In function `strtoull':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x3c0): multiple 
definition of `strtoull'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x180): 
first defined here
sapi/cli/php_cli_server.o: In function `strtouq':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x360): multiple 
definition of `strtouq'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x120): 
first defined here
sapi/cli/php_cli_server.o: In function `tolower':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x910): multiple 
definition of `tolower'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x810): 
first defined here
sapi/cli/php_cli_server.o: In function `toupper':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x940): multiple 
definition of `toupper'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x840): 
first defined here
sapi/cli/php_cli_server.o: In function `vprintf':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x0): multiple definition 
of `vprintf'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x620): 
first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [sapi/cli/php] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-11 07:46 UTC] hufeng1987 at gmail dot com
./configure --enable-inline-optimization  --enable-mbstring --with-mysql --with-
zlib --with-pdo-pgsql --with-bz2 --enable-zip --enable-fpm --with-mcrypt --with-gd 
--with-openssl --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-pcre-dir --
with-curl --with-pear --with-freetype-dir=/usr/lib --without-pdo-sqlite --without-
sqlite3
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 05:01:32 2019 UTC