PHP 4.0 Bug #3597: -g and -fast incompatible for auto-inlining

From: Date: Wed, 23 Feb 2000 23:43:49 +0000
Subject: PHP 4.0 Bug #3597: -g and -fast incompatible for auto-inlining
Groups: php.dev 
Request: Send a blank email to php-dev+get-15916@lists.php.net to get a copy of this message
From: gerdts@cae.wisc.edu Operating system: Solaris 2.6, 7, Sun\'s cc PHP version: 4.0 Beta 4 Patch Level 1 PHP Bug Type: Compile Warning Bug description: -g and -fast incompatible for auto-inlining This assumes that the patch given in bug 3569 has been applied. env CC=cc CFLAGS=-fast ./configure && make ... Making all in Zend /bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/afs/engr.wisc.edu/src/gnu/include -I/afs/engr.wisc.edu/src/free/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -fast -g -c zend-scanner.c cc: Warning: -g conflicts with auto-inlining, auto-inlining turned off While this is not the correct fix, it does work... *** Zend/Makefile.orig Wed Feb 23 17:40:34 2000 --- Zend/Makefile Wed Feb 23 17:40:42 2000 *************** *** 66,72 **** CXX = CC CXXCPP = DLLTOOL = @DLLTOOL@ ! INLINE_CFLAGS = -fast -g LD = /usr/ccs/bin/ld LEX = flex LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent --- 66,72 ---- CXX = CC CXXCPP = DLLTOOL = @DLLTOOL@ ! INLINE_CFLAGS = -fast LD = /usr/ccs/bin/ld LEX = flex LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent I don't have a good grasp on how the configure script is generated, else I would supply a patch that makes it so that fixes the cause of the problem, not the result of the problem.

« previous php.dev (#15916) next »