ibinti / bugvm

This is BugVM
352 stars 51 forks source link

Linker warnings #57

Closed chancezeus closed 8 years ago

chancezeus commented 8 years ago

When compiling a bugvm project there are a lot of linker warnings like these:

---Output omitted

[WARNING] ld: warning: object file (/Users/mark/.bugvm/cache/ios/thumbv7/debug/Users/mark/.gradle/caches/modules-2/files-2.1/com.bugvm/bugvm-libgdx/1.1.0-SNAPSHOT/fdbc4a1a9ab4ffb350fc0b589b7e208ee23b5fee/bugvm-libgdx-1.1.0-SNAPSHOT.jar.extracted/META-INF/bugvm/ios/libs/libObjectAL.a(OALAudioFile.o)) was built for newer iOS version (6.1.6) than being linked (5.0)

---Output omitted

[WARNING] ld: warning: object file (/Users/mark/.bugvm-sdks/bugvm-1.0.9/lib/vm/ios/thumbv7/libgc.a(fnlz_mlc.o)) was built for newer iOS version (6.1.6) than being linked (5.0)

---Output omitted

[WARNING] ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.ios.a(emutls.c.o)) was built for newer iOS version (6.0) than being linked (5.0)

---Output omitted

Since I'm not planning on actually targeting 5.0 devices, I don't expect to run into problems (I suspect it is possible though), but shouldn't the bugvm sdk (a) target devices with at least the mentioned version (6.1.6+) or (b) have it's libraries and toolchain target match the 5.0 version?

ibinti commented 8 years ago

bugvm-libgdx is going to be removed.

chancezeus commented 8 years ago

As you can see not all linker warnings are related to libdx, but also to the core vm and even the xcode toolchain.

ibinti commented 8 years ago

I thought core vm and xcode toolchain being linked (5.0) warnings were fixed in 1.1.0-SNAPSHOT. It seems you are compiling with 1.0.9.

ibinti commented 8 years ago

Ok, warnings confirmed in 1.1.0-SNAPSHOT vm * was built for newer iOS version (6.1.6) than being linked (5.0) xcode toolchain * was built for newer iOS version (6.0) than being linked (5.0)

ibinti commented 8 years ago

1.1.5-SNAPSHOT