Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99050 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55892 invoked from network); 15 May 2017 15:44:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2017 15:44:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=lists@rhsoft.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lists@rhsoft.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain rhsoft.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: lists@rhsoft.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Received: from [91.118.73.15] ([91.118.73.15:62893] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/FC-15531-CDCC9195 for ; Mon, 15 May 2017 11:44:29 -0400 Received: from rh.thelounge.net (Authenticated sender: h.reindl@thelounge.net) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 3wRPyd5VKKzXLR for ; Mon, 15 May 2017 17:44:25 +0200 (CEST) Cc: PHP internals References: <46d32889-2068-9ccb-85b2-e4cffc7db322@rhsoft.net> Message-ID: <824b8af4-a215-a6fb-9794-bf5cfb208b77@rhsoft.net> Date: Mon, 15 May 2017 17:44:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-CH Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] HYBRID VM From: lists@rhsoft.net ("lists@rhsoft.net") Am 15.05.2017 um 17:30 schrieb Sara Golemon: > On Mon, May 15, 2017 at 9:51 AM, lists@rhsoft.net wrote: >> Am 15.05.2017 um 16:43 schrieb Dmitry Stogov: >>> >>> php zend_vm_gen.php --with-vm-kind=HYBRID >>> >> shouldn't that be a ./configure option? >> calls like "php zend_vm_gen.php" are not self contained in a rpmbuild >> > atm, no. The VM gen is (and has been since 5.0) a development time > generator which is checked into GIT (because it requires PHP to be > built to run, and must run before PHP is built). rpmbuilders > (probably) never need worry about selecting alternate VMs, but if they > do there must be a means to patch codebases before building (distros > do this routinely), hooking into that should be a possibility. rpmbuilders are not only distributions people which optimize PHP for their hardware and with PGO profiling (like me) and anybody else building from source does himself a favour when build packages i looked at that script and found also ZEND_VM_KIND_GOTO not sure what and if that has to to with --enable-re2c-cgoto which is enabled here > That said, the only argument against adding it as a ./configure option > is that it's a bootstrap step (as mentioned above). I suppose we > could use the checked in version of the VM when the option isn't > specified, and error if one tried to specify the option without having > a PHP version already around. > > That's orthogonal to this thread, however. > > Dmitry; You've got my thumbs up. No need for an RFC for something > purely internal like this. ok