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

Bug 157486

Summary: [releng] New Agent Controller releng ships with some 32bit libraries on Linux 64bit/EM64T
Product: z_Archived Reporter: Darryl Miles <darryl>
Component: TPTPAssignee: jkubasta
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P2 CC: asaf.yaffe, igor.alelekov, jcayne, jgwest, jkubasta, karla.callaghan, kiryl.kazakevich, lizdancy, samwai, smith
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: closed471

Description Darryl Miles CLA 2006-09-15 11:25:38 EDT
New Agent Controller releng ships with some 32bit libraries when I think they should all be 64bit.

A 64bit library shows up as:

$ file /opt/agntctrl.linux_em64t-TPTP-4.3.0/lib/libtptpClient.so.4.2.1
/opt/agntctrl.linux_em64t-TPTP-4.3.0/lib/libtptpClient.so.4.2.1: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped


But these files are not 64bit and I don't believe its possible for a 64bit executable to load these libraries thought the standard dynamic linker mechanism.

$ file /opt/agntctrl.linux_em64t-TPTP-4.2.0.2/lib/* | grep 32
/opt/agntctrl.linux_em64t-TPTP-4.2.0.2/lib/libhcbnd.so:                    ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/agntctrl.linux_em64t-TPTP-4.2.0.2/lib/libhccldt.so:                   ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/agntctrl.linux_em64t-TPTP-4.2.0.2/lib/libpiAgent.so:                  ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped

$ file /opt/agntctrl.linux_em64t-TPTP-4.2.0.2/plugins/*/lib/*
/opt/agntctrl.linux_em64t-TPTP-4.2.0.2/plugins/org.eclipse.hyades.perfmon.linux/lib/libperflin.so:                           ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/agntctrl.linux_em64t-TPTP-4.2.0.2/plugins/org.eclipse.hyades.perfmon.linux/lib/librac.so:                               ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/agntctrl.linux_em64t-TPTP-4.2.0.2/plugins/org.eclipse.hyades.probekit/lib/BCIEngProbe.so:                               ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/agntctrl.linux_em64t-TPTP-4.2.0.2/plugins/org.eclipse.hyades.probekit/lib/ProbeAgentExtension.so:                       ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped



$ file /opt/agntctrl.linux_em64t-TPTP-4.3.0/lib/* | grep 32
/opt/agntctrl.linux_em64t-TPTP-4.3.0/lib/libhcbnd.so:                    ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/agntctrl.linux_em64t-TPTP-4.3.0/lib/libhccldt.so:                   ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/agntctrl.linux_em64t-TPTP-4.3.0/lib/libpiAgent.so:                  ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped

$ file /opt/agntctrl.linux_em64t-TPTP-4.3.0/plugins/*/lib/*
/opt/agntctrl.linux_em64t-TPTP-4.3.0/plugins/org.eclipse.hyades.perfmon.linux/lib/libperflin.so:                           ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/agntctrl.linux_em64t-TPTP-4.3.0/plugins/org.eclipse.hyades.perfmon.linux/lib/librac.so:                               ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/agntctrl.linux_em64t-TPTP-4.3.0/plugins/org.eclipse.hyades.probekit/lib/BCIEngProbe.so:                               ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/agntctrl.linux_em64t-TPTP-4.3.0/plugins/org.eclipse.hyades.probekit/lib/ProbeAgentExtension.so:                       ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
Comment 1 Karla Callaghan CLA 2006-09-15 11:56:00 EDT
You are correct. It was an error in packaging to include the 32-bit versions of these agents in the 64-bit Linux packages without at least documenting that they were of limited use (i.e., only if used with a 32-bit java). The piAgent, logging agent, and some supporting libs have not been ported to Linux EM64T nor Linux IPF. We had hoped to get that done in the 4.3 release, but there was insufficient resources. Need to address pkging/doc in 4.3.
Comment 2 Darryl Miles CLA 2006-09-15 12:36:17 EDT
The bugs listed below relate to patches which I have recently added that may assist getting a 64bit Linux build of some of those DLL/DSOs included in the build process.

Bug #157454
Bug #157482
Comment 3 Darryl Miles CLA 2006-09-20 19:08:23 EDT
Just to add there are also these executables distributed as 32bit versions:

bin/ChkPass
plugins/org.eclipse.hyades.perfmon.linux/bin/LinuxAgent
Comment 4 Karla Callaghan CLA 2006-11-03 18:49:45 EST
Re-target to 4.4 as 4.3 is closing down.

Need to include comment on this bug in the release notes for 4.3.
Comment 5 jkubasta CLA 2007-02-07 21:45:26 EST
Please reassign to Igor.
Comment 6 Randy D. Smith CLA 2007-02-07 22:04:00 EST
Okay, reassigned.
Comment 7 Karla Callaghan CLA 2007-02-09 11:48:46 EST
Added effort estimate: 1 day

(I believe this assumes the libraries are all ported to 64-bit so that there is minimal change to pkging scripts.)
Comment 8 Kiryl Kazakevich CLA 2007-05-18 09:04:35 EDT
I have checked the TPTP-4.4.0-200705080100C build for 32-bit files in agent controller for Linuxes (IPF and EM64T).

The only files I have found are:

plugins/org.eclipse.hyades.probekit/lib/ProbeAgentExtension.so
plugins/org.eclipse.hyades.probekit/lib/BCIEngProbe.so
plugins/org.eclipse.hyades.perfmon.linux/bin/LinuxAgent
plugins/org.eclipse.hyades.perfmon.linux/lib/librac.so
plugins/org.eclipse.hyades.perfmon.linux/lib/libperflin.so
Comment 9 Darryl Miles CLA 2007-05-18 13:29:27 EDT
(In reply to comment #8)
> The only files I have found are:
> 
> ...SNIP...

I would hope that some of the other things have been fixed by now.

If you want to cite a download URL for the archive you are looking at I can take a look again and confirm that those are the only files.  I was originally working from a full installation of TPTP (with as many optional modules/agents loaded as possible).
Comment 10 jkubasta CLA 2007-06-21 13:00:27 EDT
so Probekit is supported on 64-bit systems for 4.4; perfmon is supported on Windows 64 bit systems but NOT Linux 64-bit systems
Comment 11 Liz Dancy CLA 2007-06-21 14:24:24 EDT
The JVMTI Probekit has been tested on Windows EM64T with IBM JRE 5.0. There is  an open defect preventing remote use with Sun Jre 1.5 on 64-bit platforms. Unfortunately on Linux 64 bit there is not an IBM 5.0 JRE.
Comment 12 jkubasta CLA 2007-06-21 15:14:31 EDT
Okay, I stand corrected and in light of that am deferring this defect to future.
Comment 13 jkubasta CLA 2008-02-12 13:47:32 EST
Kiryl, is this containable in 4.5?
Comment 14 Kiryl Kazakevich CLA 2008-03-20 04:52:30 EDT
Joanna,

Currently the only probekit is shipped in 32-bit form for 64-bit Linux distributions (IPF/EM64T).

We should decide can we do something to having 64-bit probekit (hyades component).

Thanks,
Kiryl
Comment 15 Harm Sluiman CLA 2009-01-21 10:21:33 EST
cleaning up assignees
Comment 16 Kathy Chan CLA 2009-02-23 13:39:43 EST
Mass update of P1 enhancements and defects targetted to future to P2.
Comment 17 Paul Slauenwhite CLA 2009-06-30 06:54:24 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. Since this defect is more than 2 years old, it may be no longer relevant. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this defect is resolved as WONTFIX. If this defect is still relevant and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
Comment 18 Kathy Chan CLA 2010-11-18 18:55:05 EST
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.