MobiVM / robovm

Ahead of time compiler for JVM bytecode targetting iOS, Mac OSX and Linux
https://mobivm.github.io
952 stars 132 forks source link

* fixed: (regression) functions are generated as strong and this breaks tree-shaking. #700

Closed dkimitsa closed 1 year ago

dkimitsa commented 1 year ago

fix for #699

root case: introduced by removing x86 arch https://github.com/MobiVM/robovm/pull/695

error message sample:

duplicate symbol '_[J]sun.misc.Unsafe.putLongVolatile(Ljava/lang/Object;JJ)V' in:
[ERROR] 12:44:48.131     ~/alpods-failure-test/ios/robovm-build/tmp/iOS/ios/arm64-simulator/linker2.o
[ERROR] 12:44:48.131     ~/.robovm/cache/ios/arm64-simulator/release/Users/dkimitsa/robovm-m1/compiler/rt/target/robovm-rt-2.3.19-SNAPSHOT.jar/sun/misc/Unsafe.class.o