[MacPorts] #64542: groff fails to build for ppc on 10.6.8 (Rosetta): Invalid mnemonic 'fnstcw', 'fldcw' (upd: fix found)
MacPorts
noreply at macports.org
Sat Jan 29 08:46:57 UTC 2022
#64542: groff fails to build for ppc on 10.6.8 (Rosetta): Invalid mnemonic
'fnstcw', 'fldcw' (upd: fix found)
---------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: powerpc, snowleopard, rosetta
Port: groff |
---------------------------+-------------------------------------------
Comment (by barracuda156):
Replying to [comment:3 ryandesign]:
> The fix you proposed is obviously unacceptable for inclusion in MacPorts
due to the gcc / PowerPC / Mac OS X 10.6 specifics you've used. If you
want to help us fix this problem for everyone, please submit fixes that
will work on all OS versions and processors.
I recon it is required only on 10.6.8 when using Rosetta (on 10.5.8 PPC
and 10.6 PPC it builds fine as-is).
Like I asked in other ticket, can this be added conditionally?
if {${os.major} == 10 && ${configure.build_arch} eq "ppc"} {
configure.args-append CC_FOR_BUILD="gcc-4.2 -arch ppc" \
CFLAGS_FOR_BUILD="-arch ppc" \
--build=powerpc-apple-darwin10 \
--with-ld=/usr/bin/ld \
--with-as=/usr/bin/as
}
https://trac.macports.org/ticket/64486
(Probably `ld` and `as` are redundant, I can test what is the minimal
addition that helps, if solution gets accepted in principle.)
--
Ticket URL: <https://trac.macports.org/ticket/64542#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list