-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing ARMv7 architecture in file libclang_rt.cc_kext.a #41
Comments
Any updates on this? |
Nope, there was no response from anyone! |
TBH, I hit this error in a completely different context. I have a feeling it's LLVM specific, just stirring the pot in hope for some clues... |
What exactly did you do? |
Ok, so the context is probably completely unrelated. I have a piece of ARM code I'm compiling for a Cortex-M4 which calls into a specific function. This function references the pointer to a specific section(call it __test sitting in the RAM) by pointing to the label directly. Note that the labels exist in a .s assembler file(but I don't think this is relevant). During link-time, it throws the hi16 relocation error, pointing to the __test line. Ultimately, I got around the issue by #defining the address instead of a direct pointer to the section. I got past the error but I'm not sure it actually 'works' yet. Still in the middle of functional testing. Not sure if that made any sense to you, so apologies in advance... |
You guys are trying to use macOS libclang_rt.cc_kext.a, in my .travis.yml, line 38 and 39 shows you a quick workaround. Please tell me if it works. |
It doesn't work, I still get:
|
Hi John, Can you try appending a "-mlong-calls" to your linker call? I found that it does fix some issues(although I haven't tested it for this one). |
I tried commenting out -fstack-protector-all but got:
|
llvm is compromising my computer |
I'm having this compiling error:
The text was updated successfully, but these errors were encountered: