Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 442260

Summary: Provide 64-bit SWT libraries for Solaris x86_64
Product: [Eclipse Project] Platform Reporter: Thorsten Heit <theit>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: arunkumar.thondapu, daniel_megert, lshanmug, sravankumarl
Version: 4.5   
Target Milestone: ---   
Hardware: PC   
OS: Solaris-GTK   
Whiteboard:
Bug Depends on:    
Bug Blocks: 442266    
Attachments:
Description Flags
Patch for eclipse.platform.swt.binaries to allow for compiling SWT on Solaris x86_64
none
Patch for eclipse.platform.swt to allow for compiling SWT on Solaris x86_64
none
Shell script to apply the patches to eclipse.platform.swt and eclipse.platform.swt.binaries none

Description Thorsten Heit CLA 2014-08-21 08:36:28 EDT
Java 8 on Solaris/x86 is actually available only as 64-bit binaries. If you have set Java 8 as default JVM, it isn't possible at all to start Eclipse for several reasons:

* The launcher binary "eclipse" is 32-bit-only
* The equinox launcher library is 32-bit-only
* SWT libraries are also 32-bit-only.

To be able to run Eclipse under Java 8 on Solaris x86_64, we need a native 64-bit-version of the SWT libraries for Solaris x86/64.

I'm attaching the necessary patches to solve this problem.
Comment 1 Thorsten Heit CLA 2014-08-21 08:37:17 EDT
Created attachment 246196 [details]
Patch for eclipse.platform.swt.binaries to allow for compiling SWT on Solaris x86_64
Comment 2 Thorsten Heit CLA 2014-08-21 08:37:47 EDT
Created attachment 246197 [details]
Patch for eclipse.platform.swt to allow for compiling SWT on Solaris x86_64
Comment 3 Thorsten Heit CLA 2014-08-21 08:38:38 EDT
Created attachment 246198 [details]
Shell script to apply the patches to eclipse.platform.swt and eclipse.platform.swt.binaries
Comment 4 Thorsten Heit CLA 2014-08-21 08:51:37 EDT
This bug entry is basically the same as #429332, but for Eclipse 4.5. The script and patches here are slightly simplified, and additionally adapted to fit to the master branch.

As mentioned in #429332, the Mozilla libraries had to be commented out because they exist only as 32-bit.

Gnome support is also not possible because at least Solaris 11.1 and 11.2 don't contain libgnome-2.so and libgnomeui-2.so as 64-bit-binaries for whatever reason.
Comment 5 Alexander Kurtakov CLA 2014-08-21 09:04:08 EDT
Would you please provide patches via Gerrit? This is the way we accept contributions in swt and makes reviewing way more obvious..
Comment 6 Thorsten Heit CLA 2014-08-22 10:58:24 EDT
Yes, sorry, didn't know that...

I just pushed the changes to Gerrit:

For eclipse.platform.swt:
https://git.eclipse.org/r/32159
  
For eclipse.platform.swt.binaries:
https://git.eclipse.org/r/32160
Comment 7 Dani Megert CLA 2014-11-20 05:22:45 EST

*** This bug has been marked as a duplicate of bug 429332 ***