-
Notifications
You must be signed in to change notification settings - Fork 510
[Arch Linux] R_X86_64_PC32 against symbol `memcpy@@GLIBC_2.14' can not be used #6452
Comments
I don't have Arch Linux around to try, I'm guessing this is coming from this line:
Can you try changing the |
@MichalStrehovsky when I try that, the error changes:
output: |
Interesting. It seems JitHelpers are not special relocation types after all. Another guess is that the linker is trying to link agains GLIBC dynamically on Arch, instead of statically like we do elsewhere. Would that be a possibility? |
@MichalStrehovsky I have no idea, that'd be weird though? |
I've tried adding
output: And here's the output when adding |
This is same problem as #4988 . I think it is a bug in the object writer component - we are producing bad relocs on Unix. |
@jkotas okay, thank you 👍 I'll close this issue then! |
clang version:
output:
https://gist.github.com/tim241/3488247796c9bf9f0bc357d28f8a74c1
I've already tried to append
-fPIC
to the clang flags, no luck, same error.The text was updated successfully, but these errors were encountered: