#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)
Change History (5)
Changed 2 years ago by Gcenx
comment:1 Changed 2 years ago by Gcenx
comment:2 Changed 2 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
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.
This being with the default compiler forcing macports-clang-14 it builds without issue.