Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#66167 closed defect (fixed)

libsdl2 +universal fails on 10.9

Reported by: Gcenx Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: jmroot (Joshua Root)
Port: libsdl2

Description

:info:build error: -fobjc-arc is not supported on platforms using the legacy runtime
:info:build make: *** [build/SDL_cocoaclipboard.lo] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build error: -fobjc-arc is not supported on platforms using the legacy runtime
:info:build make: *** [build/SDL_cocoaevents.lo] Error 1
:info:build error: -fobjc-arc is not supported on platforms using the legacy runtime
:info:build make: *** [build/SDL_cocoakeyboard.lo] Error 1

Attachments (1)

main.log (847.9 KB) - added by Gcenx 2 years ago.

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by Gcenx

Attachment: main.log added

comment:1 Changed 2 years ago by Gcenx

This being with the default compiler forcing macports-clang-14 it builds without issue.

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 07d84ee8eaadedb05408d845d62b85c3265e1ba3/macports-ports (master):

libsdl2: indicate supported archs

Closes: #66167

comment:3 Changed 2 years ago by Gcenx

I don’t think this should be the solution

https://clang.llvm.org/docs/AutomaticReferenceCounting.html#evolution

ARC applies to Objective-C pointer types, block pointer types, and [beginning Apple 8.0, LLVM 3.8] BPTRs declared within extern "BCPL" blocks.

That would line up with QT requirement of 10.12 for 32Bit ARC as macOS Sierra shipped with Xcode-8. https://wiki.qt.io/Apple_Platforms_Coding_Conventions

comment:4 Changed 2 years ago by kencu (Ken)

please see ticket:66188 for ongoing work on libsdl2 +universal

Note: See TracTickets for help on using tickets.