llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Tail call optimisation not working

Open niclimcy opened this issue 4 years ago • 1 comments

This seems like an edge case for compiling via WSL2 with armv7.

(/home/nick/theos/vendor/lib/CydiaSubstrate.framework/CydiaSubstrate.tbd) built for iOS Simulator ld: armv7 has no pc-rel bx thumb instruction. Can't fix up branch to _objc_autoreleaseReturnValue@0x00000000 in ........ from /home/nick/.theos/obj/armv7/Tweak.xm.0d37458a.o clang-10: error: linker command failed with exit code 1 (use -v to see invocation)

niclimcy avatar Jun 18 '21 00:06 niclimcy

I can replicate this. Same occurs when building for armv7s.

L1ghtmann avatar Feb 05 '22 22:02 L1ghtmann