Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 442260 - Provide 64-bit SWT libraries for Solaris x86_64
Summary: Provide 64-bit SWT libraries for Solaris x86_64
Status: CLOSED DUPLICATE of bug 429332
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.5   Edit
Hardware: PC Solaris-GTK
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 442266
  Show dependency tree
 
Reported: 2014-08-21 08:36 EDT by Thorsten Heit CLA
Modified: 2015-08-12 05:33 EDT (History)
4 users (show)

See Also:


Attachments
Patch for eclipse.platform.swt.binaries to allow for compiling SWT on Solaris x86_64 (4.77 KB, patch)
2014-08-21 08:37 EDT, Thorsten Heit CLA
no flags Details | Diff
Patch for eclipse.platform.swt to allow for compiling SWT on Solaris x86_64 (7.87 KB, patch)
2014-08-21 08:37 EDT, Thorsten Heit CLA
no flags Details | Diff
Shell script to apply the patches to eclipse.platform.swt and eclipse.platform.swt.binaries (994 bytes, text/plain)
2014-08-21 08:38 EDT, Thorsten Heit CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***