php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76767 ‘asm’ operand has impossible constraints in zend_operators.h
Submitted: 2018-08-20 08:05 UTC Modified: 2018-08-22 11:58 UTC
From: ondrej@php.net Assigned: cmb (profile)
Status: Closed Package: Compile Failure
PHP Version: 7.3.0beta2 OS: Ubuntu 14.04 i386
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ondrej@php.net
New email:
PHP Version: OS:

 

 [2018-08-20 08:05 UTC] ondrej@php.net
Description:
------------
Compilation on Ubuntu 14.04 i386 ends with failure in asm code.

I don't have any builds between alpha4 and beta2, but alpha4 did succeed to build in the same environment.

I guess a similar patch to https://bugs.php.net/patch-display.php?bug_id=69896&patch=disable-asm-for-gcc-4.8&revision=latest

should be applied here as well.

Test script:
---------------
Just compile PHP 7.3.0beta2

Expected result:
----------------
Build to succeed.

Actual result:
--------------
In file included from /<<PKGBUILDDIR>>/Zend/zend.h:335:0,
                 from /<<PKGBUILDDIR>>/Zend/zend_execute.c:26:
/<<PKGBUILDDIR>>/Zend/zend_vm_execute.h: In function ‘ZEND_ADD_SPEC_CONST_CONST_HANDLER’:
/<<PKGBUILDDIR>>/Zend/zend_operators.h:575:2: error: ‘asm’ operand has impossible constraints
  __asm__ goto(
  ^

The full build log can be found here:
https://launchpadlibrarian.net/384278789/buildlog_ubuntu-trusty-i386.php7.3_7.3.0~beta2-2+ubuntu14.04.1+deb.sury.org+1_BUILDING.txt.gz

Patches

disable-assembly-with-gcc-4.8.patch (last revision 2018-08-20 08:09 UTC by ondrej@php.net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-20 08:09 UTC] ondrej@php.net
The following patch has been added/updated:

Patch Name: disable-assembly-with-gcc-4.8.patch
Revision:   1534752560
URL:        https://bugs.php.net/patch-display.php?bug=76767&patch=disable-assembly-with-gcc-4.8.patch&revision=1534752560
 [2018-08-22 11:58 UTC] cmb@php.net
Automatic comment on behalf of ondrej@sury.org
Revision: http://git.php.net/?p=php-src.git;a=commit;h=02b0bc8bb1f3fec949cea616f0092c3f9d8bdb4a
Log: Fix #76767: ‘asm’ operand has impossible constraints in zend_operators.h
 [2018-08-22 11:58 UTC] cmb@php.net
-Status: Open +Status: Closed
 [2018-08-22 11:58 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2018-08-22 11:58 UTC] cmb@php.net
Thanks, Ondřej!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC