php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64969 Failure crosscompiling with fpm for ARM
Submitted: 2013-06-04 13:28 UTC Modified: 2021-08-08 04:22 UTC
Votes:2
Avg. Score:2.0 ± 1.0
Reproduced:0 of 1 (0.0%)
From: hardware at fabatsa dot com dot mx Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.4.15 OS: Ubuntu 11.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hardware at fabatsa dot com dot mx
New email:
PHP Version: OS:

 

 [2013-06-04 13:28 UTC] 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$ 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-06 21:52 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: fat
 [2017-10-24 07:45 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: fat +Assigned To:
 [2021-07-28 15:23 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-28 15:23 UTC] cmb@php.net
Is that still an issue for you with any of the actively supported
PHP versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-08-08 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: Tue Nov 05 23:01:28 2024 UTC