Edit report at https://bugs.php.net/bug.php?id=64969&edit=1
ID: 64969 Updated by: fel...@php.net Reported by: hardware at fabatsa dot com dot mx Summary: Failure crosscompiling with fpm for ARM -Status: Open +Status: Assigned Type: Bug Package: Compile Failure Operating System: Ubuntu 11.04 PHP Version: 5.4.15 -Assigned To: +Assigned To: fat Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2013-06-04 13:28:07] hardware at fabatsa dot com dot mx Description: ------------ I've tryed to congigure and compile PHP in order to use fpm, since I have a Monkey Web server that Works with fastcgi. During the make commmand I got a message "Unsupported processor, please open a bug report". I have already crooscompiled libxml2. Test script: --------------- ./configure --host=arm-unknown-linux-gnueabi --prefix=/home/user/php-5-4-15Installer --enable-fpm --enable-libxml --with-libxml-dir=/home/user/opt/crosstool/gcc-4.2.3-glibc-2.7/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi --with-sqlite3 --disable-all make make install Expected result: ---------------- I want to have a crosscompiled version of PHP that Works with my already crosscompiled Monkey Web server Actual result: -------------- user@ubuntu:~/php-5.4.15$ make /bin/bash /home/user/php-5.4.15/libtool --silent --preserve-dup-deps --mode=compile arm-unknown-linux-gnueabi-gcc -Iext/standard/ -I/home/user/php-5.4.15/ext/standard/ -DPHP_ATOM_INC -I/home/user/php-5.4.15/include -I/home/user/php-5.4.15/main -I/home/user/php-5.4.15 -I/home/user/php-5.4.15/ext/date/lib -I/home/user/php-5.4.15/ext/ereg/regex -I/home/user/lixml2Installer/include/libxml2 -I/home/user/php-5.4.15/TSRM -I/home/user/php-5.4.15/Zend -g -O2 -fvisibility=hidden -c /home/user/php-5.4.15/ext/standard/info.c -o ext/standard/info.lo /bin/bash /home/user/php-5.4.15/libtool --silent --preserve-dup-deps --mode=compile arm-unknown-linux-gnueabi-gcc -Imain/ -I/home/user/php-5.4.15/main/ -DPHP_ATOM_INC -I/home/user/php-5.4.15/include -I/home/user/php-5.4.15/main -I/home/user/php-5.4.15 -I/home/user/php-5.4.15/ext/date/lib -I/home/user/php-5.4.15/ext/ereg/regex -I/home/user/lixml2Installer/include/libxml2 -I/home/user/php-5.4.15/TSRM -I/home/user/php-5.4.15/Zend -g -O2 -fvisibility=hidden -c main/internal_functions_cli.c -o main/internal_functions_cli.lo /bin/bash /home/user/php-5.4.15/libtool --silent --preserve-dup-deps --mode=link arm-unknown-linux-gnueabi-gcc -export-dynamic -g -O2 -fvisibility=hidden -L/home/user/lixml2Installer/lib -R /home/user/lixml2Installer/lib ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo ext/date/lib/parse_iso_intervals.lo ext/date/lib/interval.lo ext/ereg/ereg.lo ext/ereg/regex/regcomp.lo ext/ereg/regex/regexec.lo ext/ereg/regex/regerror.lo ext/ereg/regex/regfree.lo ext/libxml/libxml.lo ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucd.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_newline.lo ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/sqlite3/sqlite3.lo ext/sqlite3/libsqlite/sqlite3.lo ext/reflection/php_reflection.lo ext/spl/php_spl.lo ext/spl/spl_functions.lo ext/spl/spl_engine.lo ext/spl/spl_iterators.lo ext/spl/spl_array.lo ext/spl/spl_directory.lo ext/spl/spl_exceptions.lo ext/spl/spl_observer.lo ext/spl/spl_dllist.lo ext/spl/spl_heap.lo ext/spl/spl_fixedarray.lo ext/standard/crypt_freesec.lo ext/standard/crypt_blowfish.lo ext/standard/crypt_sha512.lo ext/standard/crypt_sha256.lo ext/standard/php_crypt_r.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/sha1.lo ext/standard/user_filters.lo ext/standard/uuencode.lo ext/standard/filters.lo ext/standard/proc_open.lo ext/standard/streamsfuncs.lo ext/standard/http.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/getopt.lo main/streams/streams.lo main/streams/cast.lo main/streams/memory.lo main/streams/filter.lo main/streams/plain_wrapper.lo main/streams/userspace.lo main/streams/transports.lo main/streams/xp_socket.lo main/streams/mmap.lo main/streams/glob_wrapper.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_dtrace.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo Zend/zend_float.lo Zend/zend_string.lo Zend/zend_signal.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_execute.lo main/internal_functions_cli.lo sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo sapi/cli/php_cli_server.lo -lcrypt -lcrypt -lm -lrt -lxml2 -lz -lm -lcrypt -lcrypt -o sapi/cli/php /bin/bash /home/user/php-5.4.15/libtool --silent --preserve-dup-deps --mode=compile arm-unknown-linux-gnueabi-gcc -I/home/user/php-5.4.15/sapi/fpm -Isapi/fpm/ -I/home/user/php-5.4.15/sapi/fpm/ -DPHP_ATOM_INC -I/home/user/php-5.4.15/include -I/home/user/php-5.4.15/main -I/home/user/php-5.4.15 -I/home/user/php-5.4.15/ext/date/lib -I/home/user/php-5.4.15/ext/ereg/regex -I/home/user/lixml2Installer/include/libxml2 -I/home/user/php-5.4.15/TSRM -I/home/user/php-5.4.15/Zend -g -O2 -fvisibility=hidden -c /home/user/php-5.4.15/sapi/fpm/fpm/fastcgi.c -o sapi/fpm/fpm/fastcgi.lo /bin/bash /home/user/php-5.4.15/libtool --silent --preserve-dup-deps --mode=compile arm-unknown-linux-gnueabi-gcc -I/home/user/php-5.4.15/sapi/fpm -Isapi/fpm/ -I/home/user/php-5.4.15/sapi/fpm/ -DPHP_ATOM_INC -I/home/user/php-5.4.15/include -I/home/user/php-5.4.15/main -I/home/user/php-5.4.15 -I/home/user/php-5.4.15/ext/date/lib -I/home/user/php-5.4.15/ext/ereg/regex -I/home/user/lixml2Installer/include/libxml2 -I/home/user/php-5.4.15/TSRM -I/home/user/php-5.4.15/Zend -g -O2 -fvisibility=hidden -c /home/user/php-5.4.15/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo In file included from /home/user/php-5.4.15/sapi/fpm/fpm/fpm_scoreboard.h:15, from /home/user/php-5.4.15/sapi/fpm/fpm/fpm.c:21: /home/user/php-5.4.15/sapi/fpm/fpm/fpm_atomic.h:142:2: error: #error Unsupported processor. Please open a bug report (bugs.php.net). In file included from /home/user/php-5.4.15/sapi/fpm/fpm/fpm_scoreboard.h:15, from /home/user/php-5.4.15/sapi/fpm/fpm/fpm.c:21: /home/user/php-5.4.15/sapi/fpm/fpm/fpm_atomic.h:146: error: expected ')' before '*' token In file included from /home/user/php-5.4.15/sapi/fpm/fpm/fpm.c:21: /home/user/php-5.4.15/sapi/fpm/fpm/fpm_scoreboard.h:22: error: expected specifier-qualifier-list before 'atomic_t' /home/user/php-5.4.15/sapi/fpm/fpm/fpm_scoreboard.h:51: error: expected specifier-qualifier-list before 'atomic_t' make: *** [sapi/fpm/fpm/fpm.lo] Error 1 user@ubuntu:~/php-5.4.15$ ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64969&edit=1