Please review correction of regression test Test6929067
ptisnovs at redhat.com
Thu May 5 09:05:10 PDT 2011
Pavel Tisnovsky wrote:
> David Holmes wrote:
>> Dr Andrew John Hughes said the following on 11/17/10 08:55:
>>> On 16 November 2010 11:28, Pavel Tisnovsky <ptisnovs at redhat.com> wrote:
>>>> David Holmes wrote:
>>>>> This is a fix for 64-bit systems but the invoke program is still being
>>>>> compiled as 32-bit. I'm a little surprised it can then load the
>>>>> 64-bit VM.
>>>> it seems that "invoke" is compiled as 64-bit executable (on RHEL 5
>>>> x86_64 at least):
>>>> invoke: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for
>>>> GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
>>>> 2.6.9, not stripped
>>> I think David may be referring to the need for -m32 or -m64, where gcc
>>> is configured. On GNU/Linux platforms, gcc tends to produce a 64-bit
>>> binary on x86_64 by default but on Solaris, it produces a 32-bit
>> Exactly so - sorry didn't see your reply before my last reply.
>> So in its new form the test will work correctly if run on a 64-bit VM on
>> 64-bit Linux, or a 32-bit VM on 32-bit Linux, but not on a 32-bit VM on
>> 64-bit Linux. (I[m not sure our internal testing ever tries the latter).
>> It also relies on the fact that the Linux JRE/JDK doesn't contain both
>> the 64-bit and 32-bit VMs.
> Hi David,
> you are right, we can't assume that find select the right libjvm.so. I'm
> going to fix this test by other way.
here is new version of fix of regression test Test6929067:
Can you please review it?
Thank you in advance,
More information about the hotspot-runtime-dev