lkml.org 
[lkml]   [2003]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectEmulating i486+ insn on i386 (was: TSCs are a no-no on i386)
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));
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.034 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site