[MacPorts] #66450: xscorch fails to install - unknown argument: '-fthread-jumps'
MacPorts
noreply at macports.org
Sun Dec 11 22:47:05 UTC 2022
#66450: xscorch fails to install - unknown argument: '-fthread-jumps'
-----------------------------+---------------------
Reporter: programmingkidx | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: xscorch
-----------------------------+---------------------
Building xscorch fails to build on Mac OS 10.6. This is the error I saw in
the log: \\
:info:build clang: error: unknown argument: '-fthread-jumps'
Here is a description of the option for GCC 3.4 found here:
https://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Optimize-Options.html:
{{{
-fthread-jumps
Perform optimizations where we check to see if a jump branches to a
location where another comparison subsumed by the first is found. If so,
the first branch is redirected to either the destination of the second
branch or a point immediately following it, depending on whether the
condition is known to be true or false.
Enabled at levels -O, -O2, -O3, -Os.
}}}
I could not find a reference to -fthread-jumps working with clang.
This issue talks about how clang does not recognize a lot of flags
(fthread-jumps included): https://github.com/pcsx2/pcsx2/issues/295
My guess is xscorch is meant to be built with GCC instead of Clang.
--
Ticket URL: <https://trac.macports.org/ticket/66450>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list