ID: 26361 User updated by: phresno at concept-factory dot com Reported By: phresno at concept-factory dot com Status: Open Bug Type: Compile Failure Operating System: Embedix 2.0 PHP Version: 4.3.4 New Comment:
On further note, if I compile with: ./configure \ --host=i386-slackware-linux \ --target=arm-linux \ --prefix=../opt \ --disable-short-tags \ --without-mysql \ --without-pear \ --disable-session (sessions fully disabled) It will compile with warnings, however, it will _always_ segfault after executing a script on the target system. Previous Comments: ------------------------------------------------------------------------ [2003-11-22 20:54:41] phresno at concept-factory dot com Note before I run commands, by not including --host and --target it will build for the host system which does work. If you look at my notes, I am building this for a target with a different CPU architecture. This will not fix the problem as i386 binaries CANNOT run on a StrongARM processor. Followed your suggested compilation script... Now I have a compiled i386 version, not an Arm version. ------------------------------------------------------------------------ [2003-11-22 20:43:38] [EMAIL PROTECTED] I'm very close to bogusing this since I believe it's not any PHP bug at all..we'd got hundreds of reports if it was by now. Anyway, try this: # rm config.cache # ./configure --disable-all # make clean && make (And EXACTLY and only that) ------------------------------------------------------------------------ [2003-11-22 18:20:19] phresno at concept-factory dot com Description: ------------ Target: arm-linux OS: Linux (Embedix 2.0) Kernel: 2.4.18-rmk7-pxa3-embedix Host: i386-slackware-linux OS: Linux (Slackware 9.1) Kernel: 2.4.20 ./configure \ --host=i386-slackware-linux \ --target=arm-linux \ --prefix=../opt \ --disable-short-tags \ --without-mysql \ --without-pear make -k On session.c I get multiple errors like this: ./development/zaurus/php-4.3.4/ext/session/session.c:121: parse error before `php_ps_globals' ./development/zaurus/php-4.3.4/ext/session/session.c:121: initializer element is not constant ./development/zaurus/php-4.3.4/ext/session/session.c:121: (near initialization for `ini_entries[0].mh_arg1') If i include pear I get other similar errors in main.c and other locations. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26361&edit=1
