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: 2021-10-17 04:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: hufeng1987 at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: *General Issues
PHP Version: 5.4.10 OS: CentOS 5.8
Private report: No CVE-ID: None
 [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

Pull Requests

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
 [2021-10-04 14:10 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-10-04 14:10 UTC] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-10-17 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC