Geir,

I think it is rather a classloader bug.
JIRA №2375 has been created (
http://issues.apache.org/jira/browse/HARMONY-2375)

________________
With Best Regards,
Irlyanov Dmitry
Intel Corporation
Middleware Products Division

2006/11/29, Geir Magnusson Jr. <[EMAIL PROTECTED]>:

Just can't wait to see the JIRA... what is the solution?  is this an
Intel compiler bug?

geir

Dmitry Irlyanov wrote:
> Tested on Revision: 480581
>
> before any changes:
>> ./java Hello
> Failed to open JVM DLL:
>
/harmony/trunk/working_vm/build/lnx_ia32_icc_release/deploy/jre/bin/default/harmonyvm
>
>
(harmony/trunk/working_vm/build/lnx_ia32_icc_release/deploy/jre/bin/default/libharmonyvm.so:
>
> undefined symbol:
> _ZN20BootstrapClassLoader13SetBCPElementEPKcP10apr_pool_t)
>
> after removing inline option of SetBCPElement in
> \harmony\trunk\working_vm\vm\vmcore\src\class_support\classloader.cpp
>> ./java Hello
> Hello
>
> Thank you, Mikhail!
>
> Now I'm preparing the patch and creating a JIRA issue.
>
>
> 2006/11/29, Dmitry Irlyanov <[EMAIL PROTECTED]>:
>>
>> I think, it is the most likely reason :)
>> Now I'll test this issue and after the testing inform the result.
>>
>>  2006/11/29, Mikhail Fursov <[EMAIL PROTECTED]>:
>> >
>> > Actually I do not understand why this method is marked as "inline" in
>> > cpp.
>> > Could it be the reason?
>> >
>> > On 11/29/06, Dmitry Irlyanov <[EMAIL PROTECTED]> wrote:
>> > >
>> > > Compiler: icc (ICC) 9.0 20051020
>> > >
>> > > OS:SuSE Linux 9.2 (i586)
>> > >
>> > > 2006/11/29, Geir Magnusson Jr. < [EMAIL PROTECTED]>:
>> > >
>> > > > What toolset?
>> > > >
>> > > > Dmitry Irlyanov wrote:
>> > > > > Mikhail,
>> > > > >
>> > > > > The system was built from the very beginning (svn co))
>> > > > > This error received after the following command:
>> > > > >
>> > > > > ./java  -classpath . Hello
>> > > > >
>> > > > > May be this exotic output is happen by reason of exotic
compiler?
>> > > > >
>> > > > > 2006/11/29, Mikhail Fursov < [EMAIL PROTECTED]>:
>> > > > >>
>> > > > >> Dmitry,
>> > > > >> SetBCPElement has become public inside of vmcore module after
>> > H2008
>> > > is
>> > > > >> applied. This is the only change I remember for this method.
>> > > > >> Also it's very strange that you can link DRLVM and get this
>> error
>> > on
>> > > > >> runtime
>> > > > >> : this method is vmcore library local.
>> > > > >> Did you try clean build?
>> > > > >>
>> > > > >>
>> > > > >> On 11/29/06, Dmitry Irlyanov < [EMAIL PROTECTED]> wrote:
>> > > > >> >
>> > > > >> > Good day!
>> > > > >> >
>> > > > >> > I've successfully build class libraries and DRLVM on Linux,
>> but
>> > the
>> > > > >> build
>> > > > >> > doesn't work.
>> > > > >> > After starting Hello World Application the followinng
>> > exceptionis
>> > > > >> thrown:
>> > > > >> >
>> > > > >> > Failed to open JVM
>> > > > >> >
>> > > > >> >
>> > > > >>
>> > > >
>> > >
>> >
>>
DLL:/drlvm/trunk/build/lnx_ia32_icc_release/deploy/jre/bin/default/harmonyvm(/drlvm/trunk/build/lnx_ia32_icc_release/deploy/jre/bin/default/libharmonyvm.so:
>>
>> >
>> > > > >>
>> > > > >> > undefined symbol:
>> > > > >> > _ZN20BootstrapClassLoader13SetBCPElementEPKcP10apr_pool_t)
>> > > > >> >
>> > > > >> > Do you know the cause of this error?
>> > > > >> > Should I add this to JIRA or it is my fault?
>> > > > >> > _______________
>> > > > >> > With Best Regards,
>> > > > >> > Irlyanov Dmitry
>> > > > >> > Intel Corporation
>> > > > >> > Middleware Products Division
>> > > > >> >
>> > > > >> >
>> > > > >>
>> > > > >>
>> > > > >> --
>> > > > >> Mikhail Fursov
>> > > > >>
>> > > > >> _______________
>> > > > > With Best Regards,
>> > > > > Irlyanov Dmitry
>> > > > > Intel Corporation
>> > > > > Middleware Products Division
>> > > > >
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > _______________
>> > > With Best Regards,
>> > > Irlyanov Dmitry
>> > > Intel Corporation
>> > > Middleware Products Division
>> > >
>> > >
>> >
>> >
>> > --
>> > Mikhail Fursov
>> >
>> >
>>
>>
>> --
>> _______________
>> With Best Regards,
>> Irlyanov Dmitry
>> Intel Corporation
>> Middleware Products Division
>>
>
>
>

Reply via email to