Emulating i486+ insn on i386 (was: TSCs are a no-no on i386)

From: Jan-Benedict Glaw (jbglaw@lug-owl.de)
Date: Thu Jul 31 2003 - 06:26:02 EST


On Thu, 2003-07-31 07:11:42 -0400, Richard B. Johnson <root@chaos.analogic.com>
wrote in message <Pine.LNX.4.53.0307310709150.3917@chaos>:
> On Wed, 31 Jul 2003, Alan Cox wrote:
>
> > On Mer, 2003-07-30 at 21:33, Jan-Benedict Glaw wrote:
> > > Well... For sure, I can write a LD_PRELOAD lib dealing with SIGILL, but
> > > how do I enable it for the whole system. That is, I'd need to give
> > > LD_PRELOAD=xxx at the kernel's boot prompt to have it as en environment
> > > variable for each and every process?
> >
> > /etc/ld.preload
> >
> > > That sounds a tad inelegant to me. Really, I'd prefer to see libstdc++
> > > be compiled for i386 ...
>
> What is a runtime library doing with a TSC? That's the basic problem.
> These things are for operating systems and, last time I checked, the
> 'C' runtime libraries weren't (but maybe GNU changed that definition, no?)

Oh, sorry:) One problem is that TSCs may be enabled on i386. They crash
upon boot-up. While I sent the patch, I ranted about i486 optimized
libstdc++5 Debian is shipping, which (also, but in a different way)
break i386. A thread has started about the later issue. Maybe someone
should have switched subject, though...

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
      ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:49 EST