ID: 4630
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Compile Failure
Operating system: AIX 4.3.3
PHP Version: 4.0.5
Description: Segmentation fault(coredump) in apache startup

I've tried compiling with the latest CVS. This is my environment:

AIX 4.3.3
IBM VisualAge C 5.0.1.3

export CC="cc_r"
export CFLAGS="-g -ma"
export LDFLAGS=""

configure --enable-c9x-inline \
--prefix=/local/www/php \
--with-apxs=/local/www/bin/apxs \
--with-config-file-path=/local/www/php \
--without-mysql


Here are the results:

$ make
...
Making all in .
        /bin/sh /home/dshafer/src/php/php4/libtool --silent --mode=link cc_r  -I. 
-I/home/dshafer/src/php/php4/ -I/home/dshafer/src/php/php4/main 
-I/home/dshafer/src/php/php4 -I/local/www/include -I/home/dshafer/src/php/php4/Zend 
-I/home/dshafer/src/php/php4/ext/xml/expat -I/home/dshafer/src/php/php4/TSRM  -DAIX=43 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -DXML_BYTE_ORDER=21 -g -ma -prefer-pic  
 -o libphp4.la -rpath /home/dshafer/src/php/php4/libs -avoid-version   stub.lo  
Zend/libZend.la  sapi/apache/libsapi.la  main/libmain.la  regex/libregex.la  
ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la 
ext/standard/libstandard.la ext/xml/libxml.la  TSRM/libtsrm.la -ldl -lcrypt -lbind -lm 
-ldl
cc_r: 1501-218 file .libs/libphp4.lax/libZend.al/zend_language_parser.lo contains an 
incorrect file suffix
cc_r: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini_parser.lo contains an 
incorrect file suffix
cc_r: 1501-218 file .libs/libphp4.lax/libZend.al/zend_alloc.lo contains an incorrect 
file suffix
...
cc_r: 1501-218 file TSRM/.libs/libtsrm.al contains an incorrect file suffix
ld: 0711-317 ERROR: Undefined symbol: ap_block_alarms
ld: 0711-317 ERROR: Undefined symbol: ap_unblock_alarms
ld: 0711-317 ERROR: Undefined symbol: .ap_register_cleanup
ld: 0711-317 ERROR: Undefined symbol: .ap_pstrdup
ld: 0711-317 ERROR: Undefined symbol: .ap_table_get
ld: 0711-317 ERROR: Undefined symbol: .ap_getword
ld: 0711-317 ERROR: Undefined symbol: .ap_uudecode
ld: 0711-317 ERROR: Undefined symbol: .ap_getword_nulls_nc
ld: 0711-317 ERROR: Undefined symbol: .ap_block_alarms
ld: 0711-317 ERROR: Undefined symbol: .ap_unblock_alarms
ld: 0711-317 ERROR: Undefined symbol: .ap_log_error
ld: 0711-317 ERROR: Undefined symbol: ap_user_name
ld: 0711-317 ERROR: Undefined symbol: ap_user_id
ld: 0711-317 ERROR: Undefined symbol: ap_group_id
ld: 0711-317 ERROR: Undefined symbol: ap_max_requests_per_child
ld: 0711-317 ERROR: Undefined symbol: ap_server_root
ld: 0711-317 ERROR: Undefined symbol: top_module
ld: 0711-317 ERROR: Undefined symbol: .ap_child_terminate
ld: 0711-317 ERROR: Undefined symbol: .ap_sub_req_lookup_uri
ld: 0711-317 ERROR: Undefined symbol: .ap_destroy_sub_req
ld: 0711-317 ERROR: Undefined symbol: .ap_table_set
ld: 0711-317 ERROR: Undefined symbol: .ap_run_sub_req
ld: 0711-317 ERROR: Undefined symbol: .ap_rflush
ld: 0711-317 ERROR: Undefined symbol: .ap_rwrite
ld: 0711-317 ERROR: Undefined symbol: .ap_add_version_component
ld: 0711-317 ERROR: Undefined symbol: .ap_setup_client_block
ld: 0711-317 ERROR: Undefined symbol: .ap_update_mtime
ld: 0711-317 ERROR: Undefined symbol: .ap_set_last_modified
ld: 0711-317 ERROR: Undefined symbol: .ap_set_etag
ld: 0711-317 ERROR: Undefined symbol: .ap_hard_timeout
ld: 0711-317 ERROR: Undefined symbol: .ap_add_common_vars
ld: 0711-317 ERROR: Undefined symbol: .ap_add_cgi_vars
ld: 0711-317 ERROR: Undefined symbol: .ap_kill_timeout
ld: 0711-317 ERROR: Undefined symbol: .ap_send_http_header
ld: 0711-317 ERROR: Undefined symbol: .ap_table_add
ld: 0711-317 ERROR: Undefined symbol: .ap_signal
ld: 0711-317 ERROR: Undefined symbol: .ap_get_client_block
ld: 0711-317 ERROR: Undefined symbol: .ap_reset_timeout
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.

Previous Comments:
---------------------------------------------------------------------------

[2001-05-18 18:25:03] [EMAIL PROTECTED]
I've committed a fix to CVS. Please give it a try and let us know whether it works for 
you.

---------------------------------------------------------------------------

[2001-05-09 11:21:57] [EMAIL PROTECTED]
Marked as to be fixed before 4.0.6

--Jani


---------------------------------------------------------------------------

[2001-05-03 15:01:26] [EMAIL PROTECTED]
Still happening as of 4.0.5.

---------------------------------------------------------------------------

[2001-04-26 17:05:24] [EMAIL PROTECTED]
Still happening as of 4.0.4pl1. It seems like there's enough information to fix the 
problem, for somebody who knows the source code. Would someone be able to look at 
this? Is there any more information you need?

---------------------------------------------------------------------------

[2001-02-15 15:10:36] [EMAIL PROTECTED]
The segfault still occurs as of php4-200102131445.

---------------------------------------------------------------------------

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=4630


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to