harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rana Dasgupta" <rdasg...@gmail.com>
Subject Re: [general] new snapshots up early morning... is the win2k problem gone?
Date Wed, 09 Aug 2006 01:40:34 GMT
Hi,
  We have commented out all the stack trace handling code etc. in the NT
exception handing code in drlvm to get the same binary image to run on an
old OS like W2K. I am sorry, but I disagree with this approach. We cannot
compile sources meant for XP/W2003 and expect the binaries to run on lower
Windows OS's. Now we are hitting problems with the vectored exception
handlers which also don't exist on W2K. We cannot comment these out also!
  As Alexey has pointed out, we need to guard the code with the right
_WIN32_WINT guards. The define is 0x501 on XP and 0x502 on W2003. Unless
someone has objects, I am going to turn all this code back on with the right
_WINT filters.  VEH is a feature in the new Windows code base ( the kernel,
debug etc. are common to both OS's and quite different from W2K ). If we
want to support W2K, we will need to rewrite the relevant excpetion handling
portions and do a build for W2K seperately. The DRLVM code has not been
tested on W2K. There could be more problems. Worse, the code will resolve
the symbols, but behave differently.
  A part of the problem is that we haven't defined the minimum machine model
where we want our code to be supported. I would propose that for x86-W32, we
define it as Intel Pentium IV and WinXP and Windows Server 2003. This would
allow us to get away from all these lower level kernel support and also
allow us to avoid doing a lot of unnecessary JIT floating point work. If we
want to support W2K and older machines Pentium III, we will need to make all
the code changes needed for it and also test it on the down level machines.

Thanks,
Rana



On 8/7/06, Ivanov, Alexey A <alexey.a.ivanov@intel.com> wrote:
>
>
> >-----Original Message-----
> >From: Paulex Yang [mailto:paulex.yang@gmail.com]
> >Sent: Monday, August 07, 2006 7:57 AM
> >To: harmony-dev@incubator.apache.org
> >Subject: Re: [general] new snapshots up early morning... is the win2k
> >problem gone?
> >
> >Sorry for response so late, I must get to office for a win2k PC...
> >
> >Just tried it, the dgbhelp.dll error gone, but another one emerge:
> >
> >"Cannot locate entry AddVectoredExceptionHandler at kernel32.dll"
> >(translate from Chinese so probably you'll get a slightly different
> >message from this)
>
> AFAIK this feature (vectored exceptions) is available in Windows XP
> only.
> So it seems we need separate build for Win2K.
>
> Regards,
> Alexey.
>
> >
> >Env:
> >win2k+sp4
> >.net framework 1.1
> >Windows PlatformSDK for Win2003
> >
> >Geir Magnusson Jr wrote:
> >> can anyone test?
> >>
> >> geir
> >>
> >> ---------------------------------------------------------------------
> >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >> For additional commands, e-mail:
> harmony-dev-help@incubator.apache.org
> >>
> >>
> >>
> >
> >
> >--
> >Paulex Yang
> >China Software Development Lab
> >IBM
> >
> >
> >
> >---------------------------------------------------------------------
> >Terms of use : http://incubator.apache.org/harmony/mailing.html
> >To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
> --
> Alexey A. Ivanov
> Intel Middleware Product Division
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message