Re: linuxolator problem on amd64



On Wed, Aug 22, 2007 at 01:36:20AM +0200, Pieter de Goeje wrote:
On Tuesday 21 August 2007, sam wrote:
Hi, all.

i am try runing Enemy Territory: Quake Wars server
(links on http://weec.ovl.ru/csdivision/index.php?topic=662.0 )

# uname -rms
FreeBSD 6.2-STABLE amd64

# mount | grep linproc
linprocfs on /usr/compat/linux/proc (linprocfs, local)

# cat run.sh
#!/bin/sh
cd `dirname $0`
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:."
exec ./etqwded.x86 "$@"

# ./run.sh
cannot set up thread-local storage: cannot set up LDT for thread-local
storage
TLS for Linux programs only work on i386 or -current amd64, so either
downgrade to 32bits FreeBSD or upgrade to FreeBSD 7, or find a version of the
program that doesn't use TLS (non threaded version).

I think the program is trying to set up "TLS" using user LDT. not the GDT segment
TLS Linux 2.6 uses. ie. upgrading to 7.x etc. wont help
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: TLS - implementing linux one in fbsd
    ... Linux and FreeBSD TLS implementation - comparison ... In kernel there's thr_newsyscall or thread_create ...
    (freebsd-hackers)
  • Re: linuxolator problem on amd64
    ... FreeBSD 6.2-STABLE amd64 ... TLS for Linux programs only work on i386 or -current amd64, ...
    (freebsd-hackers)
  • Re: nVidia FX Support?
    ... >> I'm pretty sure that the FreeBSD people are working on TLS, ... > implementation uses the %gs register, which NVidia also wants to use. ... Nvidia's driver is using %gs to implement its own type of TLS since FreeBSD ...
    (freebsd-current)
  • Re: nVidia FX Support?
    ... > Kenneth Culver wrote: ... >> I'm pretty sure that the FreeBSD people are working on TLS, ... > implementation uses the %gs register, which NVidia also wants to use. ...
    (freebsd-current)
  • Re: version 6!
    ... the release of FreeBSD 6.0 does not mean you are running an outdated ... Should I upgrade just ... Rebuilding your "world" and kernel at that point would give you a 5-STABLE ...
    (freebsd-questions)