9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Matthias Teege <mteege@gmail.com>
Cc: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] plan9port update
Date: Tue, 18 Jan 2005 13:49:30 -0500	[thread overview]
Message-ID: <ee9e417a050118104953a11e1f@mail.gmail.com> (raw)
In-Reply-To: <88a47756050117043258a721d8@mail.gmail.com>

> I compile it under Linux 2.6.8. It works but I can't use rio anymore
> because I can't create new "windows". I can select "New" from the menu
> but don't get the "cross". An older version of plan9ports, I think it
> is from july 2004, works.

Gentoo uses 2.6.8 kernels but without NPTL (Linux's new posix
threading library) turned on by default.  Plan9port was assuming
that the kernel version alone was enough to tell whether NPTL
was in use, but it's not.  

The latest version detects NPTL during the build and behaves
accordingly.  (If you do want NPTL on your Gentoo system, you
can list it in your USE line in /etc/make.conf and then rebuild
glibc.  See the Gentoo documentation for more.)

The NPTL (aka TLS, since along with NPTL comes better support for
thread-local storage) issue is certainly what's causing Opera to
get tripped up too. 

Libthread also tries to do better than seg fault in the case
where you're running binaries for NPTL on non-NPTL systems:

tux=; ./o.tprimes
./o.tprimes: cannot use LinuxThreads as pthread library; see
/usr/local/plan9/src/libthread/README.Linux
tux=; 

Russ


  parent reply	other threads:[~2005-01-18 18:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-14 21:23 Russ Cox
2005-01-14 23:31 ` David Leimbach
2005-01-17 12:32 ` Matthias Teege
2005-01-17 16:02   ` Russ Cox
2005-01-17 16:15   ` andrey mirtchovski
2005-01-17 16:13     ` boyd, rounin
2005-01-18 18:49   ` Russ Cox [this message]
2005-01-18 23:26     ` Noah Evans
2005-01-18  5:56 ` kvchokw02
2005-01-18 18:31   ` Russ Cox
2005-01-18 19:01     ` Ronald G. Minnich
2005-01-19  6:53     ` kvchokw02
2005-01-17  5:10 YAMANASHI Takeshi
2005-01-17 16:01 ` Russ Cox
2005-01-17  6:23 Benjamin Huntsman
2005-01-20  1:11 ` William K. Josephson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee9e417a050118104953a11e1f@mail.gmail.com \
    --to=russcox@gmail.com \
    --cc=9fans@cse.psu.edu \
    --cc=mteege@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).