Thomas Pöchtrager

Results 194 comments of Thomas Pöchtrager

Please post the whole build log + tmp/cctools/config.log.

Weird. Could you also upload `/tmp/ioscross/cctools-port/usage_examples/ios_toolchain/target/lib/libtapi.so` somewhere?

Remove `/usr/local/libtapi.so` and `/usr/local/include/tapi` and try again. The one in `target/lib` will be used.

Force the linker to use the Apple one. `export LD_LIBRARY_PATH=/opt/compiler/apple-clang/lib` I dont know of a better way at the moment. If possible, uninstall libllvm and libllvm-dev.

`libtapi.so => not found` Uhm, does rpath linking actually work on your system? On my system all libs are used correctly without need to adjust LD_LIBRARY_PATH. I also have libLTO.so...

What's the output of `chrpath arm-apple-darwin11-ld`?

Okay, thanks. I will try to look into it. This issue bugs me.

You moved the whole directory, that's why RPATH is not working. **/usr/ioscross**/bin/arm-apple-darwin11-ld: RUNPATH=/usr/lib/llvm-3.9/lib:**/tmp/ioscross**/cctools-port/usage_examples/ios_toolchain/target/lib:/tmp/ioscross/cctools-port/usage_examples/ios_toolchain/target/lib64:/tmp/ioscross/cctools-port/usage_examples/ios_toolchain/target/lib32 Also I think you compiled with the wrong compiler. Ensure clang and llvm-config are used from /opt/compiler/apple-clang/bin....

The same applies to llvm-config? `$ cat tmp/cctools/config.log |grep llvm-config|grep found`

Good. :-) > The only 'ugly' thing of the overall process is that I must set PATH env variable in order to point to Apple Clang/LLVM instead of the one...