Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87101 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70910 invoked from network); 10 Jul 2015 20:11:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2015 20:11:47 -0000 Authentication-Results: pb1.pair.com header.from=bishop.bettini@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bishop.bettini@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.44 as permitted sender) X-PHP-List-Original-Sender: bishop.bettini@gmail.com X-Host-Fingerprint: 209.85.215.44 mail-la0-f44.google.com Received: from [209.85.215.44] ([209.85.215.44:36698] helo=mail-la0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/99-48996-FF620A55 for ; Fri, 10 Jul 2015 16:11:44 -0400 Received: by lagc2 with SMTP id c2so268570392lag.3 for ; Fri, 10 Jul 2015 13:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:date:message-id:subject:from:to :content-type; bh=xn0pDJQ3tTs7MzWL/9S2I3p/CFGAJjKB6dENHDdJkTs=; b=Ryt3mxUWlB1Szn0XXIzLkzpQxqp9vmtIusbj08ypuwy78rnnTJqEVGesjCXESiRCmL IeRhZMDF2mMmEP6l1rQq2GJhHW9vYmOJdx1kTXVIhxvL7OAm+JvJCY74wD+WEL3nJr7S 7iMDwY7L2735QNU21GmorWTf9G1UP7KfpTCHVStc0ZQ76ADOjvkp5grUEpyNL4XR7Hff v74UI9Jx/HqgESwO5bZ/B/9GQyf3ypY19hipk34KQONnMXXZk955Mxx7iSb+ts/SxP8k AFYdWkrjCsLpAAZVtQtoRijd6XxQlrFEER8pVSxT2+GWhHyd0ZZnvM2VzQu4mAW18/Cv ZiiQ== MIME-Version: 1.0 X-Received: by 10.152.88.77 with SMTP id be13mr21076858lab.112.1436559100028; Fri, 10 Jul 2015 13:11:40 -0700 (PDT) Reply-To: bishop@php.net Sender: bishop.bettini@gmail.com Received: by 10.152.6.137 with HTTP; Fri, 10 Jul 2015 13:11:39 -0700 (PDT) Date: Fri, 10 Jul 2015 16:11:39 -0400 X-Google-Sender-Auth: yJDRKhzgJ8tKcyS0YFaPeqNEpKA Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=001a11c35178db2e27051a8afaa5 Subject: Compiling with gcc -m32 on x86_64 From: bishop@php.net (Bishop Bettini) --001a11c35178db2e27051a8afaa5 Content-Type: text/plain; charset=UTF-8 Hi! Is it expected that compiling as 32-bit on 64-bit will succeed? I'm seeing "EXTRA_CFLAGS=-m32 make" bomb in ext/opcache/zend_accelerator_util_funcs.c. One problem I notice is that one definition of accel_xlat_get() takes one argument, another takes two. (Source. ) Only the one argument version is used. (Source. ) The two argument version is never used. (And that second argument is passed as the fourth formal argument and the return value of zend_hash_str_find_ptr, which only takes 3 arguments and returns void.) There are other problems though. Before I go down this path, I wanted to check if -m32 was meant to be used. Thanks, bishop --001a11c35178db2e27051a8afaa5--