On Tuesday 10 May 2005 13:30, Gerd Knorr wrote:
> Blaisorblade <[EMAIL PROTECTED]> writes:
> > > I remember there was a patch for uml, changing the architecture to
> > > i586, forcing glibc not to use /lib/tls.
> > >
> > > Someone knows where I can find it ?
> >
> > It's in
> > http://www.suse.de/~kraxel/uml/patches/
> > named uml-pretend-to-be-i586 (browse the appropriate subdir).
>
> Note that this is a pretty distribution-specific thing.  For a few
> packages where it actually matters performance-wise suse ships i586
> and i686 packages (where the i686 versions really use i686 features
> and thus don't work on i586 machines any more).  glibc is one of them.
> The installer then decides which of the two it wants to install.
>
> For suse versions <= 9.1 the i586 version also was built without tls
> support, so the hack mentioned above used to worked fine.  It doesn't
> work any more with recent suse distributions.  Not sure about other
> vendors.
But that patch is still in your tree, it seems (or did you miss the time to 
release the current tree?) Tried an uml-pretend-to-be-i486?

> > > The thing is: if I do a 'apt-get upgrade' I have a good chance that the
> > > system is half-dead after then.

> The debian people have some crazy stuff in the packaging system, IIRC
> it's possible for package to fiddle with files belonging to _other_
> packages (and dpkg will take care that these changes survive package
> updates).  I think it's possible to create some pseudo package which
> simply moves the tls libs out of the way permanently.  I've never
> played with that stuff though.

> > Exporting in the environment LD_ASSUME_KERNEL=2.4.1 should also work, and
> > is a bit more reliable in theory (because a distro *could* compile
> > /lib/tls to even work on i486, I've heard; since no distro does it,  this
> > remains theory).

> Drawback is that there are allways some corner cases where it doesn't
> work.  suid-root binaries for example are usually pretty strict in
> what they accept from the environment for security reasons.
Interesting point. Could someone check (and possibly fix) the Wiki about this 
issue?
-- 
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to