|
Description
Lakshmi P Shanmugam
I installed XCode beta3 on macOS 10.15.6.
Tried to build SWT libraries by changing -arch x86_64 to -arch arm64 in build.sh.
Build fails with these errors:
os.c:6581:6: error: use of undeclared identifier 'STRUCT_SIZE_LIMIT'
[exec] if (STRUCT_SIZE_LIMIT == 0) {
[exec] ^
[exec] os.c:6582:59: error: 'objc_msgSendSuper_stret' is unavailable: not available in arm64
[exec] ((void (*)(NSRect *, struct objc_super *, jlong, jlong))objc_msgSendSuper_stret)(lparg0, lparg1, arg2, arg3);
[exec] ^
[exec] /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:128:1: note: 'objc_msgSendSuper_stret' has been explicitly marked unavailable here
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt.binaries/+/174876 Lakshmi, will this mean that the Mac SWT issues that are only seen when running a child Eclipse instance will now also be seen in main Eclipse (or RCP app)? (In reply to Phil Beauvoir from comment #3) > Lakshmi, will this mean that the Mac SWT issues that are only seen when > running a child Eclipse instance will now also be seen in main Eclipse (or > RCP app)? Building SWT with Xcode 12 will not affect that, but building Eclipse launcher with Xcode 12 will bring the all the new API behaviour to main Eclipse. That said, this is required for arm64 support. Thanks, Lakshmi. Yes, I forgot it's the launcher that is the issue. New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/174974 Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/174974 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a7100cf4af4223827c96b9019fad260986084e93 Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt.binaries/+/174876 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.binaries.git/commit/?id=e9a10a839e13942f1ae5690010ee81b02fbe4585 New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/175054 Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/175054 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=2fc0ff467531508d347532dadf8e714a0b73f6d5 New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt.binaries/+/175060 Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt.binaries/+/175060 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.binaries.git/commit/?id=ec2808f2dd32db42ce5846dcc71953cd238e02b4 New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt.binaries/+/175067 Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt.binaries/+/175067 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.binaries.git/commit/?id=3bcde3a721a8c75d10926f96de9a642e42c67b2a New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/175112 Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/175112 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=705fb7e4fdbf3b4d564e15d1a9a994552b8418c6 SWT arm64 libraries are being built and are in the binaries repository. SWT binaries for Mac arm64 are available for download with the latest I-build - https://download.eclipse.org/eclipse/downloads/drops4/I20210215-0700/download.php?dropFile=swt-I20210215-0700-cocoa-macosx-arm64.zip Please try it out and report any issues. (In reply to Lakshmi P Shanmugam from comment #18) > SWT binaries for Mac arm64 are available for download with the latest > I-build - > https://download.eclipse.org/eclipse/downloads/drops4/I20210215-0700/ > download.php?dropFile=swt-I20210215-0700-cocoa-macosx-arm64.zip > > Please try it out and report any issues. Thanks for this. Will there eventually be a full Eclipse SDK build for arm64 Mac as we have for Cocoa now? And will the Product Export wizard support it too? (In reply to Phil Beauvoir from comment #19) > (In reply to Lakshmi P Shanmugam from comment #18) > > SWT binaries for Mac arm64 are available for download with the latest > > I-build - > > https://download.eclipse.org/eclipse/downloads/drops4/I20210215-0700/ > > download.php?dropFile=swt-I20210215-0700-cocoa-macosx-arm64.zip > > > > Please try it out and report any issues. > > Thanks for this. > > Will there eventually be a full Eclipse SDK build for arm64 Mac as we have > for Cocoa now? And will the Product Export wizard support it too? We are working on the Eclipse SDK build - Bug 570540 I already see Mac/arm64 in the available platforms list in Product Export wizard, is that what you are looking for? New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.releng.aggregator/+/176415 |