Bug #63964 [NEW]: PHP 5.4.10 build with clang 3.2 failed
| From: | hufeng1987 at gmail dot com | Date: | Fri, 11 Jan 2013 07:38:21 +0000 |
| Subject: | Bug #63964 [NEW]: PHP 5.4.10 build with clang 3.2 failed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-175946@lists.php.net to get a copy of this message | ||
From: hufeng1987 at gmail dot com
Operating system: CentOS 5.8
PHP version: 5.4.10
Package: *General Issues
Bug Type: Bug
Bug description:PHP 5.4.10 build with clang 3.2 failed
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
--
Edit bug report at https://bugs.php.net/bug.php?id=63964&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63964&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63964&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63964&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63964&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63964&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63964&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63964&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63964&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63964&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63964&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=63964&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=63964&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63964&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63964&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63964&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63964&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63964&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63964&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63964&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63964&r=mysqlcfg