[MacPorts] #64176: Some perl modules built with +universal only installed arm64 binaries
MacPorts
noreply at macports.org
Fri Dec 10 18:17:56 UTC 2021
#64176: Some perl modules built with +universal only installed arm64 binaries
-------------------------------------------------+-------------------------
Reporter: jgrg | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: arm64
Port: p5-math-random-isaac-xs p5-params- | x86_64 universal
validate p5-www-form-urlencoded-xs |
-------------------------------------------------+-------------------------
Comment (by jgrg):
Yes, it doesn't look like any attempt has been made to pass CFLAGS,
CPPFLAGS, CXXFLAGS, and LDFLAGS to `Module::Build`. I ''think'' that
`Module::Build` wasn't widely used until the i386 > x86_64 transition was
complete, so it may never have been used for building universal binaries.
The default `MakeMaker` config goes through and patches each `Makefile`
with `reinplace` to add CFLAGS and LDFLAGS.
Binary Perl modules are usually built using the CFLAGS and LDFLAGS that
were used to build `perl`, but it seems that MacPorts has some kind of
cunning mechanism that keeps whatever flags are needed for universal
builds out of the Perl config so that building a universal module doesn't
happen by default?
--
Ticket URL: <https://trac.macports.org/ticket/64176#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list