Brion Vibber
2014-Jun-26 04:52 UTC
[theora-dev] -fforce-addr causes clang error with Xcode 5.1
Apple's clang in Xcode 5.1 (as for building with the iOS 7.1 SDK) throws an error about the (gcc-specific?) -fforce-addr option being unknown, which clang now thinks is evil and should abort compilation. It looks like this also hits OS X 10.9 builds, as I see there's a patch for theora in MacPorts for this issue: https://trac.macports.org/ticket/42934 Attached is a quick-fix patch to the theora configure.ac to remove that option conditionally when building for Darwin, which gets my builds working again with the iOS 7.1 SDK (OS X builds untested). Alternatively, if the option isn't needed it could simply be removed as in the MacPorts patch. -- brion vibber (brion @ pobox.com / bvibber @ wikimedia.org) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20140625/f6a41526/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: theora-xcode51-fix.patch Type: application/octet-stream Size: 772 bytes Desc: not available Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20140625/f6a41526/attachment.obj
Timothy B. Terriberry
2014-Jun-26 05:17 UTC
[theora-dev] -fforce-addr causes clang error with Xcode 5.1
Brion Vibber wrote:> Alternatively, if the option isn't needed it could simply be removed as > in the MacPorts patch.I removed it entirely in r19116 a couple of months ago.
Brion Vibber
2014-Jun-26 05:23 UTC
[theora-dev] -fforce-addr causes clang error with Xcode 5.1
On Wed, Jun 25, 2014 at 10:17 PM, Timothy B. Terriberry <tterribe at xiph.org> wrote:> Brion Vibber wrote: > > Alternatively, if the option isn't needed it could simply be removed as > > in the MacPorts patch. > > I removed it entirely in r19116 a couple of months ago. >D'oh! In that case, I can report that the git mirrors are woefully behind: http://git.xiph.org/?p=mirrors/theora.git;a=summary <- last update is 2013-11-18 -- brion -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20140625/3c60fae6/attachment.htm