Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Linux emulation broken on 5.1? (PR 36184 ?)



On Sun, Jun 19, 2011 at 03:34:36PM +0000, Christos Zoulas wrote:
> In article 
> <05AB8680-BD7E-47D7-AAC7-53B68FD68650%physik.uni-wuppertal.de@localhost>,
> Torsten Harenberg  <harenberg%physik.uni-wuppertal.de@localhost> wrote:
> 
> [...]
> > 17156      1 ls       CALL  arch_prctl(0x1002,0x515ae0)
> > 17156      1 ls       RET   arch_prctl 0
> > 17156      1 ls       PSIG  SIGSEGV SIG_DFL: code=SEGV_MAPERR,
> >addr=0x10, trap=14)
> > 17156      1 ls       NAMI  "ls.core"
> >
> >I found an old PR
> >
> >http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=36184
> >
> >which seems to address exactly this issue, but I'm unsure if that has
> >been pulled-up into the RELEASE. 
> >
> >So I would like to ask if I did anything wrong when trying to run Linux
> >binaries and if the PR was pulled-up and - if not - is there any way to
> >get things running while staying on the stable tree?
> 
> Looks like the code handling tls in linux thread initialization has not
> been pulled up to 5.1. You need to either run a more recent kernel, have
> someone pullup the patches to 5.1, or use an older version of the userland
> linux libraries if your program will work with them.

But he *is* using the old libraries. From the initial e-mail:

        mail# pkg_info -a | grep suse
        suse_base-10.0nb5   Linux compatibility package
        suse_compat-10.0nb3 Linux compatibility package with old shared 
libraries
        suse_openssl-10.0nb5 Linux compatibility package for OpenSSL

These libraries should work under NetBSD 5.1.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index