2006/9/25, Mikhail Fursov <[EMAIL PROTECTED]>:
I spent a couple of hours today investigating this bug.
The result is: this is not a bug, this is the problem of the MSVC project
file I use to build and to debug JIT. So it was my error.

BTW: if anyone is interested to use MSVC project files to build JIT or other
components of DRLVM I can put them into JIRA and support these files in the
nearest future.


It would be really nice, projects are convenient for browsing/editing
native sources on Windows. OTOH using them for compilation may be a
concern, just like the one above - someone have to keep them in sync
with common build system.
But I suppose you are not alone in the way you work with MSVC anyway -
so let's try.

+1 from me.
--
Alexey



On 9/22/06, Mikhail Fursov <[EMAIL PROTECTED]> wrote:
>
> APR gurus!
> I have a question I can't answer by myself.
>
> Usually to develop and test new JIT features I use custom EM configuration
> file to move problem methods to a separate JIT instance.
> Now I can't use this feature, because APR is unable to load a JIT library
> with a fully specied path.
>
> So the problem is:
> 1) I ask EM to use custom JIT library:
> C:/users/mfursov/harmony_trace2/drlvm/trunk/vm/jitrino/bin/debug/jitrino.dll
> 2) EM asks VM (APR) to load this module
> 3) In dso.c, line 77 I see that 'wpath' variable is valid, but
> LoadLibraryExW is failed.
>
> The error message is : Failure to open JIT dll 
file://C:/users/mfursov/harmony_trace2/drlvm/trunk/vm/jitrino/bin/debug/jitrino.dll720126
>
> I know that there is nothing wrong with my DLL because if I copy it to the
> default jitrino.dll location and do not use any paths everything works
> fine.
>
> The simplest way to reproduce the bug is to use -Dem.jitPath= <path to
> jitrino.dll> option.
> Once  <path to jitrino.dll> is just 'jitrino.dll' APR loads DLL, but if
> you change it to the full path to the same dll, APR fails to load it.
>
> ?
>
> --
> Mikhail Fursov




--
Mikhail Fursov



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to