[MacPorts] #62022: php73 modules: error: expected '(' after 'asm' (was: php74-curl @7.4.13: error: expected '(' after 'asm')
MacPorts
noreply at macports.org
Thu Jun 10 12:50:07 UTC 2021
#62022: php73 modules: error: expected '(' after 'asm'
----------------------+------------------------
Reporter: jvmyers | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: elcapitan
Port: php |
----------------------+------------------------
Comment (by ryandesign):
Ah... At the time this ticket was filed there was
[https://bugs.php.net/bug.php?id=80376 a php bug] that required us to
compile php 7.3 and later with a newer MacPorts compiler on El Capitan
only. That newer MacPorts clang supports `__asm__ goto` so that result was
recorded in php's php_config.h. But those results were wrong when later
compiling php extensions with Xcode clang.
After this ticket was filed the php bug was fixed in php 7.4 and later but
because it was not a security bug and php 7.3 is receiving security fixes
only the fix will never be backported to php 7.3 so we will forever need
to compile php 7.3 with a newer MacPorts clang.
I suppose the lesson is that we should ensure that php modules get
compiled with the same compiler that php was compiled with. So any
compiler blacklisting should probably be moved or copied from the php
portfile into the php-1.1 portgroup.
--
Ticket URL: <https://trac.macports.org/ticket/62022#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list