Jump to content

Compiling issues iOS 9


Go to solution Solved by Rook,

30 posts in this topic

Recommended Posts

Posted (edited)

Nope they still don't work for me

 

 

clang++: error: unable to execute command: Bus error: 10
clang++: error: linker command failed due to signal (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 254
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2
weird O.o did you try ldid -S /usr/bin/* Updated by FireCubes
Posted

If you get illegal instruction 4 type this :)

 

sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/perl

ldid -s /usr/bin/perl

 

sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/rsync

ldid -s /usr/bin/rsync

Posted

weird O.o did you try ldid -S /usr/bin/*

 

 

iPhone:~ root# cd /usr/bin 
iPhone:/usr/bin root# clear
iPhone:/usr/bin root# ldid -S clang
iPhone:/usr/bin root# ldid -S clang++
iPhone:/usr/bin root# ldid -S perl
iPhone:/usr/bin root# ldid -S git
iPhone:/usr/bin root# ldid -S ld
iPhone:/usr/bin root# ldid -S strip
iPhone:/usr/bin root# cd /var/mobile/Projects/injustice
iPhone:/var/mobile/Projects/injustice root# make package
/var/mobile/Projects/injustice/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/Projects/injustice/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak Injustice...
 Linking tweak Injustice...
clang++: error: unable to execute command: Bus error: 10
clang++: error: linker command failed due to signal (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 254
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2
iPhone:/var/mobile/Projects/injustice root# 
Posted

 

iPhone:~ root# cd /usr/bin 
iPhone:/usr/bin root# clear
iPhone:/usr/bin root# ldid -S clang
iPhone:/usr/bin root# ldid -S clang++
iPhone:/usr/bin root# ldid -S perl
iPhone:/usr/bin root# ldid -S git
iPhone:/usr/bin root# ldid -S ld
iPhone:/usr/bin root# ldid -S strip
iPhone:/usr/bin root# cd /var/mobile/Projects/injustice
iPhone:/var/mobile/Projects/injustice root# make package
/var/mobile/Projects/injustice/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/Projects/injustice/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak Injustice...
 Linking tweak Injustice...
clang++: error: unable to execute command: Bus error: 10
clang++: error: linker command failed due to signal (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 254
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2
iPhone:/var/mobile/Projects/injustice root#
i meant just type ldid -S /usr/bin/*
Posted

 

Here is some useful info

 

- iOS 9

- 64-Bit device

- Perl 5.22.0

- LLMV + Clang (latest version)

- LD64 (latest version)

- Darwin CC Tools (latest version)

- iPhoneOS7.0.sdk

 

using DHowett's Theos I still get Killed: 9 errors so I wanted to try Kirb's. This error seems more possible to me but I couldn't figure out how to fix it

this is the error generated using the default Theos from Dustin Howett

 

 

 

 

 

I fixed that, my new error is 

clang++: error: unable to execute command: posix_spawn failed: Bad executable (or shared library)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/Injustice.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Injustice.all.tweak.variables] Error 2

Try installing "postix_spawn" package from BiteYourApple repo. Seems it is related to that.

Posted

Try installing "postix_spawn" package from BiteYourApple repo. Seems it is related to that.

You mean Pod2G's ASLR Tools? I installed that but nope

Posted

You mean Pod2G's ASLR Tools? I installed that but nope

There seems to be another one "posix_spawn". Same version. :p

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines