Re: PHP 4.0.7

From: Date: Wed, 08 Aug 2001 19:22:16 +0000
Subject: Re: PHP 4.0.7
References: 1 2  Groups: php.dev php.qa 
Request: Send a blank email to php-dev+get-62620@lists.php.net to get a copy of this message
Well it's actually libtool 1.4 combined with automake that creates the issue Automake needs the libtool mode=compile prefer-pic,prefer-non-pic flags added to CFLAGS so that it gets added to the compile line. The problem is that CFLAGS is passed in linking phase as well. If we moved back to libtool 1.3 and/or removed the pic options everything would work fine. Do we want to do this though? -Jason ----- Original Message ----- From: "Andi Gutmans" <andi@zend.com> To: "Jason Greene" <jason@php.net>; <php-dev@lists.php.net>; <php-qa@lists.php.net>; "Zeev Suraski" <zeev@zend.com> Sent: Wednesday, August 08, 2001 2:18 PM Subject: Re: [PHP-DEV] PHP 4.0.7 > At 02:01 PM 8/8/2001 -0500, Jason Greene wrote: > >There is one issue with 4.0.7 that probably should be fixed before branch. > >The build > >system currently adds a libtool flag into CFLAGS whether libtool is in > >link or compile mode. > >Since this option is only valid in compile, it gets passed to the > >compiler. This causes a > >warning with gcc, but for other compilers (a la SUN CC) they fail > > > >I emailed Sascha about this, and he said that these options have to be > >added to CFLAGS, > >in order to allow automake to still function correctly. So far it looks > >like the only solutions, > >is to get rid of automake, and if that is done, I would think that it > >should occur before branch. > > It used to work. Can't we just rollback to the automake version which worked? > > Andi > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#62620) next »