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

Bug 296072

Summary: CDT release is missing shared objects for linux-ppc64-gtk
Product: [Tools] CDT Reporter: Corey Ashford <cjashfor>
Component: cdt-relengAssignee: Vivian Kong <vivkong>
Status: RESOLVED FIXED QA Contact: Vivian Kong <vivkong>
Severity: normal    
Priority: P3 CC: cjashfor, jamesblackburn+eclipse
Version: 0 DD 1.1Keywords: helpwanted
Target Milestone: 7.0.2   
Hardware: Power PC   
OS: Linux-GTK   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=272364
https://bugs.eclipse.org/bugs/show_bug.cgi?id=272370
https://bugs.eclipse.org/bugs/show_bug.cgi?id=272373
Whiteboard:
Attachments:
Description Flags
Fragment needed to support ppc64 GTK jamesblackburn+eclipse: iplog+

Description Corey Ashford CLA 2009-11-24 21:20:06 EST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Build Identifier: I20091118-1342

Eclipse for ppc64 is now being built by eclipse.org, and will soon be in Eclipse 3.6M4.

I downloaded and tested an integration build of it, installed the CDT, and found that the CDT does work, but emits java stack dumps during operation because it is missing a platform-specific shared object for linux-ppc64-gtk.



Reproducible: Always

Steps to Reproduce:
1. Start up Eclipse
2. Install CDT version 6.1
3. Create a project
4. Notice Java stack dumps during this process
Comment 1 Corey Ashford CLA 2010-07-21 13:12:08 EDT
Eclipse 3.6 is out for the ppc64 platform, and CDT is still lacking the platform-specific pieces.

What needs to be done to resolve this issue?  Is there a process for getting a new platform into the CDT build?
Comment 2 James Blackburn CLA 2011-01-15 12:50:11 EST
It likely hasn't been done because no one has access to that platform.

If you can build the org.eclipse.cdt.core.linux and attach the build output here this can be resolved.
Comment 3 Corey Ashford CLA 2011-01-21 18:13:36 EST
Created attachment 187344 [details]
Fragment needed to support ppc64 GTK

This fragment was built on SLES 10 SP2, using the following make invocation:

make ARCH=ppc64 JAVA_HOME=/opt/ibm/java2-ppc64-50 CFLAGS=-m64 LDFLAGS=-m64

I have tested it on SLES 10 SP2, RHEL 5.5, RHEL 6.0, and SLES 11 SP1
Comment 4 James Blackburn CLA 2011-01-22 06:08:01 EST
Thanks for the contribution. Committed and added all the releng bits -- we'll soon find out whether Jenkins approves:
https://hudson.eclipse.org/hudson/job/cdt-nightly
Comment 5 CDT Genie CLA 2011-01-22 06:23:04 EST
*** cdt cvs genie on behalf of jblackburn ***
Bug 296072 - CDT release is missing shared objects for linux-ppc64-gtk

[*] plugin.properties 1.59 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/plugin.properties?root=Tools_Project&r1=1.58&r2=1.59

[*] customTargets.xml 1.19 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.releng/platform/customTargets.xml?root=Tools_Project&r1=1.18&r2=1.19
[*] build.properties 1.16 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.releng/platform/build.properties?root=Tools_Project&r1=1.15&r2=1.16

[*] customTargets.xml 1.13 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.releng/sdk/customTargets.xml?root=Tools_Project&r1=1.12&r2=1.13
[*] build.properties 1.14 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.releng/sdk/build.properties?root=Tools_Project&r1=1.13&r2=1.14

[*] build.properties 1.12 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.releng/master/build.properties?root=Tools_Project&r1=1.11&r2=1.12

[*] cdt.map 1.102 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.releng/maps/cdt.map?root=Tools_Project&r1=1.101&r2=1.102

[+] libspawner.so  http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.linux.ppc64/os/linux/ppc64/libspawner.so?root=Tools_Project&revision=1.1&view=markup
[+] libpty.so  http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.linux.ppc64/os/linux/ppc64/libpty.so?root=Tools_Project&revision=1.1&view=markup

[+] .project  http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.linux.ppc64/.project?root=Tools_Project&revision=1.1&view=markup
[+] build.properties  http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.linux.ppc64/build.properties?root=Tools_Project&revision=1.1&view=markup
[+] about.html  http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.linux.ppc64/about.html?root=Tools_Project&revision=1.1&view=markup

[+] MANIFEST.MF  http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.linux.ppc64/META-INF/MANIFEST.MF?root=Tools_Project&revision=1.1&view=markup
Comment 6 CDT Genie CLA 2011-01-22 07:23:05 EST
*** cdt cvs genie on behalf of jblackburn ***
Bug 296072 - CDT release is missing shared objects for linux-ppc64-gtk

[*] feature.xml 1.32 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.platform-feature/feature.xml?root=Tools_Project&r1=1.31&r2=1.32
Comment 7 James Blackburn CLA 2011-01-22 07:27:40 EST
Console output shows build 507 should have the ppc64 bits:
https://hudson.eclipse.org/hudson/job/cdt-nightly/507/
Corey please verify.
Comment 8 Corey Ashford CLA 2011-01-24 14:45:33 EST
(In reply to comment #7)
> Console output shows build 507 should have the ppc64 bits:
> https://hudson.eclipse.org/hudson/job/cdt-nightly/507/
> Corey please verify.

I'm downloading the zip file now over a slow link.

Is there any way this could be placed into CDT 7.0x ?  We have a dependency
on Eclipse 3.6.1, but CDT 8.0, as I understand it, requires Eclipse 3.7.
Comment 9 Corey Ashford CLA 2011-01-24 15:03:29 EST
(In reply to comment #7)
> Console output shows build 507 should have the ppc64 bits:
> https://hudson.eclipse.org/hudson/job/cdt-nightly/507/
> Corey please verify.

The ppc64 bits do appear to be there in the correct form.
Comment 10 Corey Ashford CLA 2011-01-24 15:05:03 EST
I'm repopening this to see if we can get this fragment into the CDT 7.0.2 or 7.0.3 release as well as 8.0.

This is so the CDT can be used with Eclipse 3.6.x on ppc64.
Comment 11 James Blackburn CLA 2011-01-24 15:06:11 EST
Sounds reasonable & should be straightforward. Give me two ticks...
Comment 12 James Blackburn CLA 2011-01-24 15:36:22 EST
Committed to the cdt_7_0 branch, and the new fragment has also been branched appropriately.  The 7.0.x builds don't happen on hudson - I think Vivian is in charge of that :) 

Vivian, perhaps you could fire off a build to check all's ok?
Comment 13 Vivian Kong CLA 2011-01-24 15:38:02 EST
(In reply to comment #12)
> Committed to the cdt_7_0 branch, and the new fragment has also been branched
> appropriately.  The 7.0.x builds don't happen on hudson - I think Vivian is in
> charge of that :) 
> 
> Vivian, perhaps you could fire off a build to check all's ok?

OK will do.
Comment 14 CDT Genie CLA 2011-01-24 16:23:03 EST
*** cdt cvs genie on behalf of jblackburn ***
Bug 296072 - CDT release is missing shared objects for linux-ppc64-gtk

[*] feature.xml 1.26.2.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.platform-feature/feature.xml?root=Tools_Project&r1=1.26.2.2&r2=1.26.2.3

[*] plugin.properties 1.57.2.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/plugin.properties?root=Tools_Project&r1=1.57.2.1&r2=1.57.2.2

[*] customTargets.xml 1.18.16.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-releng/org.eclipse.cdt.releng/platform/customTargets.xml?root=Tools_Project&r1=1.18&r2=1.18.16.1
[*] build.properties 1.15.8.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-releng/org.eclipse.cdt.releng/platform/build.properties?root=Tools_Project&r1=1.15.8.2&r2=1.15.8.3

[*] customTargets.xml 1.12.16.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-releng/org.eclipse.cdt.releng/sdk/customTargets.xml?root=Tools_Project&r1=1.12&r2=1.12.16.1
[*] build.properties 1.13.2.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-releng/org.eclipse.cdt.releng/sdk/build.properties?root=Tools_Project&r1=1.13.2.2&r2=1.13.2.3

[*] build.properties 1.11.2.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-releng/org.eclipse.cdt.releng/master/build.properties?root=Tools_Project&r1=1.11.2.2&r2=1.11.2.3

[*] cdt.map 1.93.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-releng/org.eclipse.cdt.releng/maps/cdt.map?root=Tools_Project&r1=1.93&r2=1.93.2.1
Comment 15 James Blackburn CLA 2011-01-25 04:02:05 EST
Fixed in 7.0.2:
https://hudson.eclipse.org/hudson/job/cdt-release/
Comment 16 Vivian Kong CLA 2011-01-25 09:53:15 EST
Here's a build that's tagged and signed:

http://download.eclipse.org/tools/cdt/builds/7.0.2/I.I201101241551/index.html
Comment 17 James Blackburn CLA 2011-02-13 09:29:24 EST
AFAIK this has been fixed for 7.0.2.  Over to Vivian for closure.
Comment 18 Vivian Kong CLA 2011-02-15 15:30:25 EST
I've change the target milestone to 7.0.2 since this is fixed in 7.0.2 and onwards.

Thanks everyone!