php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62293 0.9.2 build fails on PHP 5.4.3
Submitted: 2012-06-11 14:07 UTC Modified: 2017-10-24 08:25 UTC
Votes:3
Avg. Score:3.3 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: bugs dot php at lavoie dot sl Assigned:
Status: Suspended Package: xhprof (PECL)
PHP Version: 5.4.3 OS: Mac OSX 10.7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bugs dot php at lavoie dot sl
New email:
PHP Version: OS:

 

 [2012-06-11 14:07 UTC] bugs dot php at lavoie dot sl
Description:
------------
OS: Mac OSX 10.7
PHP: 5.4.3
phpinfo: http://pastebin.com/BbNu7q7h

Related: https://github.com/josegonzalez/homebrew-php/issues/118

Test script:
---------------
./configure
make

Actual result:
--------------
config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = doryphore.local
uname -m = x86_64
uname -r = 11.4.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-
1699.26.8~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
	 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-
1699.26.8~1/RELEASE_X86_64
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 8.00 gigabytes
Default processor set: 152 tasks, 847 threads, 2 processors
Load average: 2.66, Mach factor: 0.59
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11/bin
PATH: /usr/texbin
PATH: /Users/seb/ec2/bin
PATH: /Users/seb/android-sdks/tools
PATH: /Users/seb/android-sdks/platform-tools
PATH: /usr/local/flex/sdks/current/bin
PATH: /Users/seb/bin
PATH: /usr/local/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1877: checking for grep that handles long lines and -e
configure:1951: result: /usr/bin/grep
configure:1956: checking for egrep
configure:2034: result: /usr/bin/grep -E
configure:2039: checking for a sed that does not truncate output
configure:2093: result: /usr/local/bin/gsed
configure:2225: checking for cc
configure:2241: found /usr/bin/cc
configure:2252: result: cc
configure:2288: checking for C compiler version
configure:2295: cc --version >&5
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
configure:2298: $? = 0
configure:2305: cc -v >&5
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
configure:2308: $? = 0
configure:2315: cc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:2318: $? = 1
configure:2341: checking for C compiler default output file name
configure:2368: cc    conftest.c  >&5
configure:2371: $? = 0
configure:2409: result: a.out
configure:2426: checking whether the C compiler works
configure:2436: ./a.out
configure:2439: $? = 0
configure:2456: result: yes
configure:2463: checking whether we are cross compiling
configure:2465: result: no
configure:2468: checking for suffix of executables
configure:2475: cc -o conftest    conftest.c  >&5
configure:2478: $? = 0
configure:2502: result: 
configure:2508: checking for suffix of object files
configure:2534: cc -c   conftest.c >&5
configure:2537: $? = 0
configure:2560: result: o
configure:2564: checking whether we are using the GNU C compiler
configure:2593: cc -c   conftest.c >&5
configure:2599: $? = 0
configure:2616: result: yes
configure:2621: checking whether cc accepts -g
configure:2651: cc -c -g  conftest.c >&5
configure:2657: $? = 0
configure:2756: result: yes
configure:2773: checking for cc option to accept ISO C89
configure:2847: cc  -c -g -O2  conftest.c >&5
configure:2853: $? = 0
configure:2876: result: none needed
configure:2900: checking how to run the C preprocessor
configure:2940: cc -E  conftest.c
configure:2946: $? = 0
configure:2977: cc -E  conftest.c
conftest.c:8:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:2983: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3016: result: cc -E
configure:3045: cc -E  conftest.c
configure:3051: $? = 0
configure:3082: cc -E  conftest.c
conftest.c:8:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:3088: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3128: checking for icc
configure:3141: result: no
configure:3155: checking for suncc
configure:3168: result: no
configure:3186: checking whether cc understands -c and -o together
configure:3218: cc -c conftest.c -o conftest2.o >&5
configure:3221: $? = 0
configure:3227: cc -c conftest.c -o conftest2.o >&5
configure:3230: $? = 0
configure:3282: result: yes
configure:3298: checking for system library directory
configure:3313: result: lib
configure:3320: checking if compiler supports -R
configure:3349: cc -o conftest -g -O2   conftest.c -R /usr/lib  >&5
clang: warning: argument unused during compilation: '-R'
ld: in /usr/lib, can't map file, errno=22 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3355: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3374: result: no
configure:3379: checking if compiler supports -Wl,-rpath,
configure:3408: cc -o conftest -g -O2   conftest.c -Wl,-rpath,/usr/lib  >&5
configure:3414: $? = 0
configure:3433: result: yes
configure:3482: checking build system type
configure:3500: result: i386-apple-darwin11.4.0
configure:3522: checking host system type
configure:3537: result: i386-apple-darwin11.4.0
configure:3559: checking target system type
configure:3574: result: i386-apple-darwin11.4.0
configure:3683: checking for PHP prefix
configure:3685: result: /usr
configure:3687: checking for PHP includes
configure:3689: result: -I/usr/include/php -I/usr/include/php/main -
I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -
I/usr/include/php/ext/date/lib
configure:3691: checking for PHP extension directory
configure:3693: result: /usr/lib/php/extensions/no-debug-non-zts-20100525
configure:3695: checking for PHP installed headers prefix
configure:3697: result: /usr/include/php
configure:3700: checking if debug is enabled
configure:3730: result: no
configure:3733: checking if zts is enabled
configure:3763: result: no
configure:3834: checking for re2c
configure:3850: found /usr/local/bin/re2c
configure:3861: result: re2c
configure:3870: checking for re2c version
configure:3884: result: 0.13.5 (ok)
configure:3903: checking for gawk
configure:3920: found /usr/local/bin/gawk
configure:3931: result: gawk
configure:3979: checking whether to enable xhprof support
configure:4018: result: yes, shared
configure:4413: checking for ld used by cc
configure:4480: result: /usr/bin/ld
configure:4489: checking if the linker (/usr/bin/ld) is GNU ld
configure:4504: result: no
configure:4509: checking for /usr/bin/ld option to reload object files
configure:4516: result: -r
configure:4534: checking for BSD-compatible nm
configure:4583: result: /usr/bin/nm
configure:4587: checking whether ln -s works
configure:4591: result: yes
configure:4598: checking how to recognize dependent libraries
configure:4784: result: pass_all
configure:5021: checking for ANSI C header files
configure:5051: cc -c -g -O2  conftest.c >&5
configure:5057: $? = 0
configure:5156: cc -o conftest -g -O2   conftest.c  >&5
configure:5159: $? = 0
configure:5165: ./conftest
configure:5168: $? = 0
configure:5185: result: yes
configure:5209: checking for sys/types.h
configure:5230: cc -c -g -O2  conftest.c >&5
configure:5236: $? = 0
configure:5252: result: yes
configure:5209: checking for sys/stat.h
configure:5230: cc -c -g -O2  conftest.c >&5
configure:5236: $? = 0
configure:5252: result: yes
configure:5209: checking for stdlib.h
configure:5230: cc -c -g -O2  conftest.c >&5
configure:5236: $? = 0
configure:5252: result: yes
configure:5209: checking for string.h
configure:5230: cc -c -g -O2  conftest.c >&5
configure:5236: $? = 0
configure:5252: result: yes
configure:5209: checking for memory.h
configure:5230: cc -c -g -O2  conftest.c >&5
configure:5236: $? = 0
configure:5252: result: yes
configure:5209: checking for strings.h
configure:5230: cc -c -g -O2  conftest.c >&5
configure:5236: $? = 0
configure:5252: result: yes
configure:5209: checking for inttypes.h
configure:5230: cc -c -g -O2  conftest.c >&5
configure:5236: $? = 0
configure:5252: result: yes
configure:5209: checking for stdint.h
configure:5230: cc -c -g -O2  conftest.c >&5
configure:5236: $? = 0
configure:5252: result: yes
configure:5209: checking for unistd.h
configure:5230: cc -c -g -O2  conftest.c >&5
configure:5236: $? = 0
configure:5252: result: yes
configure:5279: checking dlfcn.h usability
configure:5296: cc -c -g -O2  conftest.c >&5
configure:5302: $? = 0
configure:5316: result: yes
configure:5320: checking dlfcn.h presence
configure:5335: cc -E  conftest.c
configure:5341: $? = 0
configure:5355: result: yes
configure:5383: checking for dlfcn.h
configure:5391: result: yes
configure:5416: checking the maximum length of command line arguments
configure:5528: result: 196608
configure:5540: checking command to parse /usr/bin/nm output from cc object
configure:5645: cc -c -g -O2  conftest.c >&5
configure:5648: $? = 0
configure:5652: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ 	]\([BCDEGRST]
[BCDEGRST]*\)[ 	][ 	]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:5655: $? = 0
cannot find nm_test_var in conftest.nm
configure:5645: cc -c -g -O2  conftest.c >&5
configure:5648: $? = 0
configure:5652: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ 	]\([BCDEGRST]
[BCDEGRST]*\)[ 	][ 	]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' \> 
conftest.nm
configure:5655: $? = 0
configure:5707: cc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:5710: $? = 0
configure:5748: result: ok
configure:5752: checking for objdir
configure:5767: result: .libs
configure:5859: checking for ar
configure:5875: found /usr/bin/ar
configure:5886: result: ar
configure:5955: checking for ranlib
configure:5971: found /usr/bin/ranlib
configure:5982: result: ranlib
configure:6051: checking for strip
configure:6067: found /usr/bin/strip
configure:6078: result: strip
configure:6335: checking for dsymutil
configure:6351: found /usr/bin/dsymutil
configure:6362: result: dsymutil
configure:6431: checking for nmedit
configure:6447: found /usr/bin/nmedit
configure:6458: result: nmedit
configure:6485: checking for -single_module linker flag
configure:6506: result: yes
configure:6508: checking for -exported_symbols_list linker flag
configure:6524: cc -o conftest -g -O2   -Wl,-exported_symbols_list,conftest.sym 
conftest.c  >&5
configure:6527: $? = 0
configure:6541: result: yes
configure:6659: checking if cc supports -fno-rtti -fno-exceptions
configure:6677: cc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
configure:6681: $? = 0
configure:6694: result: yes
configure:6709: checking for cc option to produce PIC
configure:6949: result: -fno-common
configure:6957: checking if cc PIC flag -fno-common works
configure:6975: cc -c -g -O2  -fno-common -DPIC conftest.c >&5
configure:6979: $? = 0
configure:6992: result: yes
configure:7020: checking if cc static flag -static works
configure:7048: result: no
configure:7058: checking if cc supports -c -o file.o
configure:7079: cc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:7083: $? = 0
configure:7105: result: yes
configure:7131: checking whether the cc linker (/usr/bin/ld) supports shared 
libraries
configure:8063: result: yes
configure:8130: checking dynamic linker characteristics
configure:8732: result: darwin11.4.0 dyld
configure:8756: checking how to hardcode library paths into programs
configure:8781: result: immediate
configure:8795: checking whether stripping libraries is possible
configure:8809: result: yes
configure:9602: checking if libtool supports shared libraries
configure:9604: result: yes
configure:9607: checking whether to build shared libraries
configure:9628: result: yes
configure:9631: checking whether to build static libraries
configure:9635: result: no
configure:9730: result:
creating libtool
configure:13429: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on doryphore.local

config.status:515: creating config.h
config.status:663: config.h is unchanged

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-apple-darwin11.4.0
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i386-apple-darwin11.4.0
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='cc -E'
ac_cv_prog_RE2C=re2c
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
ac_cv_prog_ac_ct_NMEDIT=nmedit
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_cc_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_target=i386-apple-darwin11.4.0
lt_cv_apple_cc_single_mod=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_exported_symbols_list=yes
lt_cv_ld_reload_flag=-r
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM=/usr/bin/nm
lt_cv_path_SED=/usr/local/bin/gsed
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=yes
lt_cv_prog_compiler_static_works=no
lt_cv_prog_gnu_ld=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ 	]\([BCDEGRST]
[BCDEGRST]*\)[ 	][ 	]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  
{\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", 
(lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int 
\1;/p'\'''
lt_cv_sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
lt_cv_sys_lib_search_path_spec='/usr/lib/clang/3.1 /usr/local/lib'
lt_cv_sys_max_cmd_len=196608
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ 	]\\([BCDEGRST]
[BCDEGRST]*\\)[ 	][ 	]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 
\\2/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/  
{\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/  
{\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int 
\\1;/p'\''"'
php_cv_cc_dashr=no
php_cv_cc_rpath=yes
php_cv_re2c_version='0.13.5 (ok)'

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AWK='gawk'
CC='cc'
CFLAGS='-g -O2'
CONFIGURE_COMMAND=' '\''./configure'\'' '
CONFIGURE_OPTIONS=''
CPP='cc -E'
CPPFLAGS=' -DHAVE_CONFIG_H'
DEFS='-DHAVE_CONFIG_H'
DSYMUTIL='dsymutil'
ECHO='/bin/echo'
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
GREP='/usr/bin/grep'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBOBJS=''
NMEDIT='nmedit'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RE2C='re2c'
SED='/usr/local/bin/gsed'
SHELL='/bin/sh'
SHLIB_DL_SUFFIX_NAME='so'
SHLIB_SUFFIX_NAME='dylib'
STRIP='strip'
ac_ct_CC='cc'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin11.4.0'
build_alias=''
build_cpu='i386'
build_os='darwin11.4.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='$(prefix)'
host='i386-apple-darwin11.4.0'
host_alias='i386-apple-darwin11.4.0'
host_cpu='i386'
host_os='darwin11.4.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-apple-darwin11.4.0'
target_alias=''
target_cpu='i386'
target_os='darwin11.4.0'
target_vendor='apple'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define COMPILE_DL_XHPROF 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1

configure: exit 0








./configure output:


checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i386-apple-darwin11.4.0
checking host system type... i386-apple-darwin11.4.0
checking target system type... i386-apple-darwin11.4.0
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -
I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -
I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-
20100525
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking whether to enable xhprof support... yes, shared
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from cc object... rm: conftest.dSYM: 
is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged









make output:


/bin/sh /var/php/src/xhprof-0.9.2/extension/libtool --mode=compile cc  -I. -
I/var/php/src/xhprof-0.9.2/extension -DPHP_ATOM_INC -I/var/php/src/xhprof-
0.9.2/extension/include -I/var/php/src/xhprof-0.9.2/extension/main -
I/var/php/src/xhprof-0.9.2/extension -I/usr/include/php -I/usr/include/php/main -
I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -
I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/php/src/xhprof-
0.9.2/extension/xhprof.c -o xhprof.lo 
 cc -I. -I/var/php/src/xhprof-0.9.2/extension -DPHP_ATOM_INC -
I/var/php/src/xhprof-0.9.2/extension/include -I/var/php/src/xhprof-
0.9.2/extension/main -I/var/php/src/xhprof-0.9.2/extension -I/usr/include/php -
I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -
I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c 
/var/php/src/xhprof-0.9.2/extension/xhprof.c  -fno-common -DPIC -o .libs/xhprof.o
/var/php/src/xhprof-0.9.2/extension/xhprof.c:635:5: warning: implicit declaration 
of function 'restore_cpu_affinity' is invalid in C99 [-Wimplicit-function-
declaration]
    restore_cpu_affinity(&hp_globals.prev_mask);
    ^
/var/php/src/xhprof-0.9.2/extension/xhprof.c:639:3: warning: implicit declaration 
of function 'bind_to_cpu' is invalid in C99 [-Wimplicit-function-declaration]
  bind_to_cpu((int) (rand() % hp_globals.cpu_num));
  ^
/var/php/src/xhprof-0.9.2/extension/xhprof.c:898:10: warning: assigning to 'char 
*' from 'const char *' discards qualifiers [-Wincompatible-pointer-types]
    func = curr_func->common.function_name;
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/php/src/xhprof-0.9.2/extension/xhprof.c:909:13: warning: assigning to 'char 
*' from 'const char *' discards qualifiers [-Wincompatible-pointer-types]
        cls = curr_func->common.scope->name;
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/php/src/xhprof-0.9.2/extension/xhprof.c:911:13: warning: assigning to 'char 
*' from 'const char *' discards qualifiers [-Wincompatible-pointer-types]
        cls = Z_OBJCE(*data->object)->name;
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/php/src/xhprof-0.9.2/extension/xhprof.c:930:35: error: no member named 'u' 
in 'union _znode_op'
      curr_op = data->opline->op2.u.constant.value.lval;
                ~~~~~~~~~~~~~~~~~ ^
/var/php/src/xhprof-0.9.2/extension/xhprof.c:963:41: warning: passing 'const char 
*' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-
types]
        filename = hp_get_base_filename((curr_func->op_array).filename);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/php/src/xhprof-0.9.2/extension/xhprof.c:856:41: note: passing argument to 
parameter 'filename' here
static char *hp_get_base_filename(char *filename) {
                                        ^
/var/php/src/xhprof-0.9.2/extension/xhprof.c:1206:7: warning: implicit 
declaration of function 'thread_policy_set' is invalid in C99 [-Wimplicit-
function-declaration]
  if (SET_AFFINITY(0, sizeof(cpu_set_t), &new_mask) < 0) {
      ^
/var/php/src/xhprof-0.9.2/extension/xhprof.c:60:9: note: expanded from macro 
'SET_AFFINITY'
        thread_policy_set(mach_thread_self(), THREAD_AFFINITY_POLICY, mask, \
        ^
/var/php/src/xhprof-0.9.2/extension/xhprof.c:1650:44: error: no member named 'u' 
in 'union _znode_op'
                       EX_T(opline->result.u.var).var.ptr,
                       ~~~~~~~~~~~~~~~~~~~~^~~~~~
/var/php/src/xhprof-0.9.2/extension/xhprof.c:1624:60: note: expanded from macro 
'EX_T'
#define EX_T(offset) (*(temp_variable *)((char *) EX(Ts) + offset))
                                                           ^
/var/php/src/xhprof-0.9.2/extension/xhprof.c:1683:35: warning: passing 'const 
char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-
pointer-types]
  filename = hp_get_base_filename(file_handle->filename);
                                  ^~~~~~~~~~~~~~~~~~~~~
/var/php/src/xhprof-0.9.2/extension/xhprof.c:856:41: note: passing argument to 
parameter 'filename' here
static char *hp_get_base_filename(char *filename) {
                                        ^
8 warnings and 2 errors generated.
make: *** [xhprof.lo] Error 1





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-11 14:14 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: kannan
 [2012-06-12 17:58 UTC] sixd@php.net
-Assigned To: kannan +Assigned To: scottmac
 [2012-06-19 12:42 UTC] bugs dot php at lavoie dot sl
Actually, build succeeds on master of https://github.com/facebook/xhprof

Consider packaging a new version for PECL
 [2017-10-24 06:11 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: scottmac +Assigned To:
 [2017-10-24 08:25 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 08:25 UTC] kalle@php.net
This package has not had a release for over 4 years, and the last bit of git activity was over 2 years ago, so I think its safe to say this extension is no longer in active development. If development picks back up, then please re-open this report
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC