Closed cbm64chris closed 1 year ago
Just to add, I recreated this on aarch64 M1 macOS. Falling back to 1.0.16 of the gluonfx maven plugin allows the ios-sim target to work.
I have also run into this issue. Falling back to 1.0.16 works for the default application but as soon as I add my project dependency I run into issue #1154 (OS: duplicate symbol in prefs).
I noticed from https://github.com/gluonhq/substrate/pull/1196 that the following values had been removed. Adding them back allowed me to complete the build but it did then fail on the packaging step.
NativeCodeInfo:PosixDirectives:StructInfo:struct_darwin_mcontext64:StructFieldInfo:ssr10:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r10:PropertyInfo:offset=96 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r11:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r11:PropertyInfo:offset=104 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r12:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r12:PropertyInfo:offset=112 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r13:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r13:PropertyInfo:offset=120 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r14:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r14:PropertyInfo:offset=128 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r15:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r15:PropertyInfo:offset=136 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r8:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r8:PropertyInfo:offset=80 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r9:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__r9:PropertyInfo:offset=88 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rax:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rax:PropertyInfo:offset=16 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rbp:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rbp:PropertyInfo:offset=64 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rbx:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rbx:PropertyInfo:offset=24 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rcx:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rcx:PropertyInfo:offset=32 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rdi:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rdi:PropertyInfo:offset=48 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rdx:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rdx:PropertyInfo:offset=40 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rflags:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rflags:PropertyInfo:offset=152 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rip:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rip:PropertyInfo:offset=144 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rsi:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rsi:PropertyInfo:offset=56 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:ss__rsp:PropertyInfo:size=8 NativeCodeInfo:PosixDirectives:StructInfo:structdarwin_mcontext64:StructFieldInfo:__ss___rsp:PropertyInfo:offset=72
I also assume this is related to https://github.com/gluonhq/substrate/issues/1098
Running the plugin mvn gluonfx:compile with a target of ios-sim yields the following error:
I encountered this running a personal project but have been able to reproduce with the gluon-samples/HelloFX.
I can see in @jperedadnr you may have had the missing CAP cache entries for NativeCodeInfo:PosixDirectives:StructInfo:struct___darwin_mcontext64:StructFieldInfo in your fork, but I can't tell if they were ever merged or removed.
I have validated the same goal works for ios and host as expected.
Please let me know if I can help in anyway. Thx Chris
Expected Behavior
The goal should compile for x86_64-apple-ios.
Current Behavior
Steps to Reproduce
Checkout out HelloFX project, modify the ios profile with the target of ios-sim. Change the compiler release version to 17.
Your Environment
macOS 13.3.1 (22E261) 2.4 GHz 8-Core Intel Core i9 32 GB 2667 MHz DDR4 OpenJDK Runtime Environment Zulu17.42+19-CA (build 17.0.7+7-LTS)