unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Ken Raeburn <raeburn@raeburn.org>
To: guile-devel <guile-devel@gnu.org>
Subject: Re: TLS support on NetBSD
Date: Thu, 29 Oct 2009 15:18:17 -0400	[thread overview]
Message-ID: <C4E0817A-8744-4242-8471-46D9F08455AD@raeburn.org> (raw)
In-Reply-To: <rmiaazhbrwt.fsf@fnord.ir.bbn.com>

On Oct 23, 2009, at 19:40, Greg Troxel wrote:
> Thanks - I think there is actually no tls support yet.
>
> I will take a look at the autoconf issue when I have time - but I'm  
> very
> busy at work this week.

I just took a little bit of a look... on my NetBSD 5.0.1 x86 system,  
the __thread support simply uses the %gs segment register, but the  
kernel or library or whatever doesn't seem to have set it up  
properly.  So it compiles and links just fine for me, but crashes when  
running.

I think the autoconf test is thus going to have to run a test program  
to see if __thread is supported, which means it won't be friendly to  
cross-compilation setups.  (I still don't have all the dependencies  
built for NetBSD, so no working patch.)  Or, we could hard-code  
knowledge about systems where compiling and linking work but execution  
fails; that's generally frowned upon....

Ken




  reply	other threads:[~2009-10-29 19:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23  8:36 TLS support on NetBSD Ludovic Courtès
2009-10-23 23:40 ` Greg Troxel
2009-10-29 19:18   ` Ken Raeburn [this message]
2009-10-29 22:24     ` Ludovic Courtès
2009-10-29 22:53       ` Ken Raeburn

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=C4E0817A-8744-4242-8471-46D9F08455AD@raeburn.org \
    --to=raeburn@raeburn.org \
    --cc=guile-devel@gnu.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).