Custom Query (272 matches)
Results (1 - 3 of 272)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #178 | fixed | mmap crashing php | moo | xsawyerx@… |
| Description |
When using xcache, if the kernel does not support enough size for xcache to use (mmap) and php defines it should indeed use that certain amount of size which is insufficient, it will cause a segmentation fault when PHP binary starts. Also, there's a spelling error on mmap.c (line 209) in which it says "mappping" instead of "mapping" :) |
|||
| #271 | fixed | Support for PHP 5.4 | moo | xenji |
| Description |
on fedora core 16 with php 5.4.0 cc -I. -I/home/mmueller/Downloads/xcache-trunk -DPHP_ATOM_INC -I/home/mmueller/Downloads/xcache-trunk/include -I/home/mmueller/Downloads/xcache-trunk/main -I/home/mmueller/Downloads/xcache-trunk -I/opt/local/php/versions/5.4.0/include/php -I/opt/local/php/versions/5.4.0/include/php/main -I/opt/local/php/versions/5.4.0/include/php/TSRM -I/opt/local/php/versions/5.4.0/include/php/Zend -I/opt/local/php/versions/5.4.0/include/php/ext -I/opt/local/php/versions/5.4.0/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -E /home/mmueller/Downloads/xcache-trunk/includes.c -o ./includes.i
./structinfo.m4 is optional if XCache test is not enabled, feel free if it awk failed to produce it
LANG=C /bin/gawk -f /home/mmueller/Downloads/xcache-trunk/mkstructinfo.awk < ./includes.i > ./structinfo.m4.tmp && mv ./structinfo.m4.tmp ./structinfo.m4
/usr/bin/m4 -B 102400 -D srcdir='`'"/home/mmueller/Downloads/xcache-trunk'" -D builddir='`'".'" /home/mmueller/Downloads/xcache-trunk/processor/main.m4 > ./processor.out.tmp
/usr/bin/m4: warning: `m4 -B' may be removed in a future release
AUTOCHECK INFO: runtime autocheck Disabled (optimized build)
AUTOCHECK INFO: zend_compiled_variable: processor looks good
AUTOCHECK INFO: zend_try_catch_element: processor looks good
AUTOCHECK INFO: zend_brk_cont_element: processor looks good
AUTOCHECK INFO: HashTable: processor looks good
AUTOCHECK INFO: zval: processor looks good
AUTOCHECK INFO: zend_arg_info: processor looks good
AUTOCHECK INFO: zend_constant: processor looks good
AUTOCHECK INFO: zend_property_info: processor looks good
AUTOCHECK INFO: zend_class_entry: processor looks good
AUTOCHECK INFO: znode: processor looks good
AUTOCHECK INFO: zend_op: processor looks good
AUTOCHECK INFO: zend_literal: processor looks good
AUTOCHECK INFO: zend_op_array: processor looks good
AUTOCHECK INFO: xc_constinfo_t: processor looks good
AUTOCHECK INFO: xc_op_array_info_t: processor looks good
AUTOCHECK INFO: xc_funcinfo_t: processor looks good
AUTOCHECK INFO: xc_classinfo_t: processor looks good
AUTOCHECK WARN: xc_autoglobal_t: missing structinfo, dont panic
AUTOCHECK INFO: xc_compilererror_t: processor looks good
AUTOCHECK INFO: xc_entry_data_php_t: processor looks good
AUTOCHECK INFO: xc_entry_data_var_t: processor looks good
AUTOCHECK INFO: xc_entry_t: processor looks good
mv ./processor.out.tmp ./processor.out
/bin/grep "export: " ./processor.out | /bin/sed "s/.*export:\(.*\):export.*/\1/g" > ./processor.h
cat < ./processor.h > ./processor.h.tmp && mv ./processor.h.tmp ./processor.h
cp ./processor.out ./processor_real.c
cat < ./processor.out > ./processor_real.c.tmp && mv ./processor_real.c.tmp ./processor_real.c
/bin/sh /home/mmueller/Downloads/xcache-trunk/libtool --mode=compile cc -I. -I/home/mmueller/Downloads/xcache-trunk -DPHP_ATOM_INC -I/home/mmueller/Downloads/xcache-trunk/include -I/home/mmueller/Downloads/xcache-trunk/main -I/home/mmueller/Downloads/xcache-trunk -I/opt/local/php/versions/5.4.0/include/php -I/opt/local/php/versions/5.4.0/include/php/main -I/opt/local/php/versions/5.4.0/include/php/TSRM -I/opt/local/php/versions/5.4.0/include/php/Zend -I/opt/local/php/versions/5.4.0/include/php/ext -I/opt/local/php/versions/5.4.0/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/mmueller/Downloads/xcache-trunk/processor.c -o processor.lo
mkdir .libs
cc -I. -I/home/mmueller/Downloads/xcache-trunk -DPHP_ATOM_INC -I/home/mmueller/Downloads/xcache-trunk/include -I/home/mmueller/Downloads/xcache-trunk/main -I/home/mmueller/Downloads/xcache-trunk -I/opt/local/php/versions/5.4.0/include/php -I/opt/local/php/versions/5.4.0/include/php/main -I/opt/local/php/versions/5.4.0/include/php/TSRM -I/opt/local/php/versions/5.4.0/include/php/Zend -I/opt/local/php/versions/5.4.0/include/php/ext -I/opt/local/php/versions/5.4.0/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/mmueller/Downloads/xcache-trunk/processor.c -fPIC -DPIC -o .libs/processor.o
In file included from /home/mmueller/Downloads/xcache-trunk/processor_real.c:11:0,
from /home/mmueller/Downloads/xcache-trunk/processor.c:1:
/home/mmueller/Downloads/xcache-trunk/xcache.h:113:15: error: conflicting types for ‘znode_op’
/opt/local/php/versions/5.4.0/include/php/Zend/zend_compile.h:84:3: note: previous declaration of ‘znode_op’ was here
In file included from /home/mmueller/Downloads/xcache-trunk/processor.c:1:0:
/home/mmueller/Downloads/xcache-trunk/processor_real.c: In function ‘xc_calc_zend_class_entry’:
/home/mmueller/Downloads/xcache-trunk/processor_real.c:4816:19: error: ‘zend_class_entry’ has no member named ‘default_properties’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:4875:9: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:4902:18: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:5218:9: error: ‘zend_class_entry’ has no member named ‘filename’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:5224:42: error: ‘zend_class_entry’ has no member named ‘filename’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:5224:73: error: ‘zend_class_entry’ has no member named ‘filename’
/home/mmueller/Downloads/xcache-trunk/processor_real.c: In function ‘xc_calc_zend_op’:
/home/mmueller/Downloads/xcache-trunk/processor_real.c:6043:2: warning: passing argument 2 of ‘xc_calc_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:5593:28: note: expected ‘const struct znode * const’ but argument is of type ‘const union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:6075:2: warning: passing argument 2 of ‘xc_calc_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:5593:28: note: expected ‘const struct znode * const’ but argument is of type ‘const union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:6107:2: warning: passing argument 2 of ‘xc_calc_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:5593:28: note: expected ‘const struct znode * const’ but argument is of type ‘const union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c: In function ‘xc_calc_zend_op_array’:
/home/mmueller/Downloads/xcache-trunk/processor_real.c:6452:3: warning: passing argument 1 of ‘xc_zstrlen_char’ discards ‘const’ qualifier from pointer target type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:690:19: note: expected ‘zstr’ but argument is of type ‘const char * const’
/home/mmueller/Downloads/xcache-trunk/processor_real.c: In function ‘xc_store_zend_class_entry’:
/home/mmueller/Downloads/xcache-trunk/processor_real.c:14697:5: error: ‘zend_class_entry’ has no member named ‘builtin_functions’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:14697:30: error: ‘zend_class_entry’ has no member named ‘builtin_functions’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:14719:19: error: ‘zend_class_entry’ has no member named ‘default_properties’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:14719:46: error: ‘zend_class_entry’ has no member named ‘default_properties’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:14777:9: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:14795:6: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:14811:18: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:14811:40: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:14820:5: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:14820:117: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15136:9: error: ‘zend_class_entry’ has no member named ‘filename’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15143:6: error: ‘zend_class_entry’ has no member named ‘filename’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15143:19: error: ‘zend_class_entry’ has no member named ‘filename’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15143:19: error: ‘zend_class_entry’ has no member named ‘filename’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15146:5: error: ‘zend_class_entry’ has no member named ‘filename’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15146:106: error: ‘zend_class_entry’ has no member named ‘filename’
/home/mmueller/Downloads/xcache-trunk/processor_real.c: In function ‘xc_store_zend_op’:
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15832:2: warning: passing argument 2 of ‘xc_store_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15521:28: note: expected ‘struct znode *’ but argument is of type ‘union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15832:2: warning: passing argument 3 of ‘xc_store_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15521:28: note: expected ‘const struct znode * const’ but argument is of type ‘const union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15864:2: warning: passing argument 2 of ‘xc_store_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15521:28: note: expected ‘struct znode *’ but argument is of type ‘union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15864:2: warning: passing argument 3 of ‘xc_store_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15521:28: note: expected ‘const struct znode * const’ but argument is of type ‘const union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15896:2: warning: passing argument 2 of ‘xc_store_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15521:28: note: expected ‘struct znode *’ but argument is of type ‘union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15896:2: warning: passing argument 3 of ‘xc_store_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:15521:28: note: expected ‘const struct znode * const’ but argument is of type ‘const union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c: In function ‘xc_store_zend_op_array’:
/home/mmueller/Downloads/xcache-trunk/processor_real.c:16282:3: warning: passing argument 1 of ‘xc_zstrlen_char’ discards ‘const’ qualifier from pointer target type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:690:19: note: expected ‘zstr’ but argument is of type ‘const char * const’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:16707:5: error: ‘zend_op_array’ has no member named ‘size’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:16820:5: error: ‘zend_op_array’ has no member named ‘size_var’
/home/mmueller/Downloads/xcache-trunk/processor_real.c: In function ‘xc_restore_zend_class_entry’:
/home/mmueller/Downloads/xcache-trunk/processor_real.c:24602:5: error: ‘zend_class_entry’ has no member named ‘builtin_functions’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:24602:30: error: ‘zend_class_entry’ has no member named ‘builtin_functions’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:24625:19: error: ‘zend_class_entry’ has no member named ‘default_properties’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:24625:46: error: ‘zend_class_entry’ has no member named ‘default_properties’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:24682:9: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:24699:4: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:24711:18: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:24711:40: error: ‘zend_class_entry’ has no member named ‘static_members’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25062:5: error: ‘zend_class_entry’ has no member named ‘filename’
/home/mmueller/Downloads/xcache-trunk/processor_real.c: In function ‘xc_restore_zend_op’:
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25741:2: warning: passing argument 2 of ‘xc_restore_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25430:28: note: expected ‘struct znode *’ but argument is of type ‘union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25741:2: warning: passing argument 3 of ‘xc_restore_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25430:28: note: expected ‘const struct znode * const’ but argument is of type ‘const union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25773:2: warning: passing argument 2 of ‘xc_restore_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25430:28: note: expected ‘struct znode *’ but argument is of type ‘union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25773:2: warning: passing argument 3 of ‘xc_restore_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25430:28: note: expected ‘const struct znode * const’ but argument is of type ‘const union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25805:2: warning: passing argument 2 of ‘xc_restore_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25430:28: note: expected ‘struct znode *’ but argument is of type ‘union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25805:2: warning: passing argument 3 of ‘xc_restore_znode’ from incompatible pointer type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:25430:28: note: expected ‘const struct znode * const’ but argument is of type ‘const union znode_op *’
/home/mmueller/Downloads/xcache-trunk/processor_real.c: In function ‘xc_restore_zend_op_array’:
/home/mmueller/Downloads/xcache-trunk/processor_real.c:26260:7: error: ‘znode_op’ has no member named ‘u’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:26260:52: error: ‘znode_op’ has no member named ‘u’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:26270:7: error: ‘znode_op’ has no member named ‘u’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:26270:52: error: ‘znode_op’ has no member named ‘u’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:26412:4: warning: passing argument 1 of ‘xc_zstrlen_char’ discards ‘const’ qualifier from pointer target type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:690:19: note: expected ‘zstr’ but argument is of type ‘const char * const’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:26807:5: error: ‘zend_op_array’ has no member named ‘size’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:26914:5: error: ‘zend_op_array’ has no member named ‘size_var’
/home/mmueller/Downloads/xcache-trunk/processor_real.c:27575:6: warning: passing argument 1 of ‘xc_zstrlen_char’ discards ‘const’ qualifier from pointer target type [enabled by default]
/home/mmueller/Downloads/xcache-trunk/processor_real.c:690:19: note: expected ‘zstr’ but argument is of type ‘const char * const’
|
|||
| #136 | invalid | xcache wont compile | moo | xcache.lighttpd@… |
| Description |
tss# phpize --clean && phpize
Cleaning..
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
tss# ./configure --help
`configure' configures this package to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-xcache Include XCache support.
--enable-xcache-constant XCache: Handle new constants made by php compiler (e.g.: for __halt_compiler)
--enable-xcache-optimizer XCache: (N/A)
--enable-xcache-coverager XCache: Enable code coverage dumper, useful for testing php scripts
--enable-xcache-assembler XCache: (N/A)
--enable-xcache-disassembler XCache: Enable opcode to php variable dumper, NOT for production server
--enable-xcache-encoder XCache: (N/A)
--enable-xcache-decoder XCache: (N/A)
--enable-xcache-test XCache: Enable self test - FOR DEVELOPERS ONLY!!
--enable-xcache-dprint XCache: Enable debug print functions - FOR DEVELOPERS ONLY!!
--enable-shared=PKGS build shared libraries default=yes
--enable-static=PKGS build static libraries default=yes
--enable-fast-install=PKGS optimize for fast installation default=yes
--disable-libtool-lock avoid locking (might break parallel builds)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-libdir=NAME Look for libraries in .../NAME rather than .../lib
--with-php-config=PATH Path to php-config php-config
--with-gnu-ld assume the C compiler uses GNU ld default=no
--with-pic try to use only PIC/non-PIC objects default=use both
--with-tags=TAGS include additional configurations automatic
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
CXXCPP C++ preprocessor
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
tss# ./configure --enable-xcache
tss#
|
|||
Note: See TracQuery
for help on using queries.

