Comments (12)
You can pass -fno-objc-msgsend-selector-stubs
to your compiles to avoid this
from zld.
Perhaps I'll just make that the default for now
from zld.
You have to do that to clang for each object compile, not ld unfortunately
from zld.
Do you know if lld has a plan for fixing this?
from zld.
I started looking at it this morning, not sure how far i'll get
from zld.
👋, is there any progress regarding this issue? 👀
from zld.
Sorry to be clear I started working on this for LLD, tracked here llvm/llvm-project#56034, for zld to get this it would either require @michaeleisel to implement it entirely, or apple to update their open source dump of ld64 and zld rebase on it. I would suggest disabling it with -fno-objc-msgsend-selector-stubs
in the meantime
from zld.
i may just turn that flag on by default
from zld.
oh wait, right, it's a clang flag, not an ld one
from zld.
I noticed that even if you put -fno-objc-msgsend-selector-stubs
for all clang invocations, if -miphoneos-version-min=8.0
is presented in the linker command, the _objc_msgSend
issue will happen too.
The linker passes after changing the flag to -miphoneos-version-min=10.0
from zld.
so, my plan is that i will not be fixing this bug. instead, i will detect when it occurs, and in the error message tell the user either to add the -fno-objc-msgsend-selector-stubs
flag to their compilations, or else switch to lld. i am working with the lld people to make user-friendly lld install docs to send people to
from zld.
1.3.6 has a better error message for this, including a link to the new mach-o lld docs
from zld.
Related Issues (20)
- support CommandLineTools users HOT 4
- Failed to make tbb_staticlib on M1. HOT 1
- Can't run zld from releases HOT 3
- Not working with Xcode 13.3 HOT 3
- DOCS: Note that the full Xcode installation is required, xcode CLI is not enough HOT 3
- Library not loaded: @rpath/libLTO.dylib - Reason: image not found HOT 3
- falied to build on mac HOT 2
- Xcode required vs command line tools? HOT 2
- Killed: 9 (SIGKILL) on M1 Mac HOT 1
- The Future of zld [RFC] HOT 5
- Xcode 14/MacOs 13 installation failure HOT 5
- not fast HOT 9
- Build commands failed M1 Mac HOT 2
- Unable to use Linker on Rust and M1 Pro Mac HOT 1
- Comparison with mold/sold HOT 1
- Xcode14.2 MacOS Ventura 13.1 have BUG HOT 2
- Installing from homebrew on M1 Mac Pro fails HOT 2
- Unable to install through Homebrew HOT 1
- Build failed through homebrew HOT 3
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 zld.