Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99048 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52433 invoked from network); 15 May 2017 15:30:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2017 15:30:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 74.125.82.46 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 74.125.82.46 mail-wm0-f46.google.com Received: from [74.125.82.46] ([74.125.82.46:34912] helo=mail-wm0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/3C-15531-D79C9195 for ; Mon, 15 May 2017 11:30:06 -0400 Received: by mail-wm0-f46.google.com with SMTP id b84so89118903wmh.0 for ; Mon, 15 May 2017 08:30:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=8afkf8ZLjLWIC3LeuWVDQTz1FFkV/QiqkQQnzK7F6J4=; b=dfLoQoHLj7PLgDmkezZexAkdpFhFGJH+IrvPvJeqOaFk9HJVflDLfdrl91aZdf3aqJ MgZkLgg8k95HFf4qmqeLn5a496GlMrAWLh/Ig17UB2n/bhHJt4LKxC+1Jf8PonXad/On FdeoexFsqzUum5aBHWkFZly5yEeaF3mCnNv44SK1FZ5Si7dWJHVle1J8yM9PkymKrBrs QgKkzB/7p//nTzNhQ1LFEXdE4JqHLkie5lPee3pwHgwndSzSSh+aDK99wF8PEbqyeTZD UhnrgBHzlCRQmOLlqP+mC25R5PmnIE4bt/kUDZpzSjwhOioi4XIrZTypqHsKQz8aHEbr qnng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=8afkf8ZLjLWIC3LeuWVDQTz1FFkV/QiqkQQnzK7F6J4=; b=R+k4iTQctzNnajsj8cn3xN+pqFPqaoOxq0wehGUOTH7lCwnXSUexjpioIJtmIV5yym Gxf+Uexf+Fj6a/xVl7AiUh5xT9Pynzpyh2uizDcy03t4jdEAXZjQ2QbmLnzIMxRvCqQi u/ZMpN7wXlgKeaUHqAlF5BNATREIPBieynEl18oSZjv/660Fx55FzITMvdak+Z9PE1XR XOu6FfpBeM+Efrmrhp1NpJ7LPJvG9Ls+nfIg3aPQm/UbJIrMOsZVGz13EqaSWSOinoYK 5l8zcTNXBp6GYO3wU5fySBoi0dl71wJNaYILpETFef023AI4WKm9Z5Vcuc2hIsYDaV3k aXnA== X-Gm-Message-State: AODbwcAh/s0rzDxHH989pQY8thYDe78SKgeSA5j+zE1ZHg05cihejyzH Obz83yYYCv0OANh+JtIm3wvihLXegpUk X-Received: by 10.223.132.39 with SMTP id 36mr4376808wrf.179.1494862202389; Mon, 15 May 2017 08:30:02 -0700 (PDT) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.223.157.38 with HTTP; Mon, 15 May 2017 08:30:01 -0700 (PDT) X-Originating-IP: [73.9.224.155] In-Reply-To: <46d32889-2068-9ccb-85b2-e4cffc7db322@rhsoft.net> References: <46d32889-2068-9ccb-85b2-e4cffc7db322@rhsoft.net> Date: Mon, 15 May 2017 10:30:01 -0500 X-Google-Sender-Auth: m9C_saxqb07eL4_Nq6Ou_A3TATQ Message-ID: To: "lists@rhsoft.net" Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] HYBRID VM From: pollita@php.net (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. 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. -Sara