Comments (8)
This is a clang bug. I've reported the issue upstream, hopefully it can be fixed in 3.8.
from libobjc2.
Could you provide a link to the filed issue so that I can monitor it and try to build clang on Aarch64 when it's fixed?
from libobjc2.
https://llvm.org/bugs/show_bug.cgi?id=25957 Feel free to follow up with more info. I think Tim Northover is responsible for this breakage.
from libobjc2.
As of version 3.9 (trunk from 03/15/2016) the issue is still there.
from libobjc2.
Any idea what line in what file in the CLANG source I have to patch to make this work at least for myself?
from libobjc2.
Look in clang/lib/CodeGen/TargetInfo.cpp
. There's a method AArch64TargetCodeGenInfo::getARCRetainAutoreleasedReturnValueMarker()
. This should probably be conditional on targeting a Mac runtime, but if you just want something that works for now then simply making it return nullptr
should work.
from libobjc2.
Found it! Awesome! Thank you!!!!!
Galen Rhodes
[email protected]
On Mar 30, 2016, at 2:13 PM, davidchisnall [email protected] wrote:
Look in clang/lib/CodeGen/TargetInfo.cpp. There's a method AArch64TargetCodeGenInfo::getARCRetainAutoreleasedReturnValueMarker(). This should probably be conditional on targeting a Mac runtime, but if you just want something that works for now then simply making it return nullptr should work.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub #14 (comment)
from libobjc2.
I believe that this is now fixed in clang.
from libobjc2.
Related Issues (20)
- AssociatedObject and BlockImpTest failures on Linux HOT 4
- Make failing at "[10%] Linking C executable alias" HOT 3
- failed to compile with clang, libc++ and musl libc on aarch64 HOT 10
- rare deadlock during `objc_send_initialize()` HOT 2
- Error while building on Windows using MSVC... HOT 1
- Add debug support symbols HOT 1
- [Question] How is it compared with other solutions? HOT 1
- Instance variable with the same name as a superclass' instance variable is not allowed HOT 4
- UnexpectedException test failing on ARM ABIs HOT 21
- New release tag? HOT 13
- AArch64 objc_msgSend does not adhere to variadic ABI HOT 5
- Wrong stack pointer offset in objc_msgSend.aarch64.S leads to register corruption HOT 1
- Use LLVM Snapshot in CI HOT 3
- libasan detects leaks HOT 4
- Hard-coded page sizes
- Cut a 2.2.1 release? HOT 5
- Segfault in SparseArrayLookup; CAAction's protocol version is invalid HOT 63
- Rare class init / atomic property deadlock HOT 12
- NetBSD 10 amd64 failures HOT 1
- NSZone Selector Missmatch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libobjc2.