Opened 2 years ago

Closed 10 months ago

#66450 closed defect (fixed)

xscorch fails to install - unknown argument: '-fthread-jumps'

Reported by: programmingkidx Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: xscorch

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

main.log (89.5 KB) - added by programmingkidx 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by programmingkidx

Attachment: main.log added

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:2 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 2253556298a8d479a376e5f897445c52ba9d935d/macports-ports (master):

xscorch: Fix build failure

Closes: #66450

Note: See TracTickets for help on using tickets.