ID:               22819
 User updated by:  Information-Cascade at ntlworld dot com
 Reported By:      Information-Cascade at ntlworld dot com
-Status:           Bogus
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Linux
 PHP Version:      4.3.2RC1
 New Comment:

5534 / 22526 = 25% of PHP resolutions are bogus.

Blame it on GCC 
Blame it on Binutils
Blame it on OS/machine.

It's not configure that is outsmarted.


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

[2003-03-21 16:55:54] [EMAIL PROTECTED]

And using experimental GCC version..well..that's what you
get.


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

[2003-03-21 16:55:19] [EMAIL PROTECTED]

Either broken GCC installation, mismatching binutils, or 
just broken OS/machine. But definately not PHP bug.
I've never heard of Linux-4.2.19 either..

And don't try outsmarting the configure with setting
those CXXFLAGS/CFLAGS



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

[2003-03-21 15:36:10] Information-Cascade at ntlworld dot com

No, I havent tried it with a new CVS checkout, 
but I have tried it with 4.3.1 - exact same

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

[2003-03-21 15:10:28] [EMAIL PROTECTED]

Did you try it with a fresh checkout/source tree?
You ay also try ./cvsclean ; ./buildconf ; ./configure ; make

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

[2003-03-21 13:20:38] Information-Cascade at ntlworld dot com

Lots of things compile OK, but then libtool compile gcc fails with:

main/internal_functions_cli.c:41:

41: error: `phpext_xml_ptr' undeclared here (not in a function)
41: error: initializer element is not constant
41: error: (near initialization for `php_builtin_extensions[0]')

Ditto for:
        phpext_xml_ptr
        phpext_tokenizer_ptr
        phpext_standard_ptr
        phpext_session_ptr
        phpext_posix_ptr
        phpext_pcre_ptr
        phpext_overload_ptr
        phpext_mysql_ptr
        phpext_ctype_ptr

The build environment is 

        gcc (GCC) 3.3 20020916 (experimental)
        binutils-2.13
        apache-1.3.27
        Linux-4.2.19 i586

config.nice edited to multiline says: 
( I know its an absurd CFLAGS, but it is otherwise OK)

CFLAGS='-g -O2 
        -L/tools/2003/www/lib
        -Wl,--rpath=/tools/2003/www/lib
        -I/tools/2003/www/include

        -L/tools/2003/libs/lib
        -Wl,--rpath=/tools/2003/libs/lib
        -I/tools/2003/libs/include

        -L/tools/2003/mysql/lib
        -Wl,--rpath=/tools/2003/mysql/lib
        -I/tools/2003/mysql/include

        -L/tools/2003/pgsql/lib
        -Wl,--rpath=/tools/2003/pgsql/lib
        -I/tools/2003/pgsql/include

        -L/tools/2003/xml/lib
        -Wl,--rpath=/tools/2003/xml/lib
        -I/tools/2003/xml/include' \                                          
  

CXXFLAGS='-g -O2' \                                                    
        

'/tools/2003_src/www/php-4.3.2RC1/configure' \                         
        
'--prefix=/tools/2003/www' \                                           
        
'--with-apxs=/tools/2003/www/bin/apxs' \                               
        
'--with-config-file-path=/tools/2003/www' \                            
        
"$@"                                                                   
        
  
Graham

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


-- 
Edit this bug report at http://bugs.php.net/?id=22819&edit=1

Reply via email to