From owner-freebsd-current Thu Sep 3 12:57:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA09293 for freebsd-current-outgoing; Thu, 3 Sep 1998 12:57:57 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from coleridge.kublai.com (coleridge.kublai.com [207.96.1.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA09288 for ; Thu, 3 Sep 1998 12:57:55 -0700 (PDT) (envelope-from shmit@natasya.kublai.com) Received: from natasya.kublai.com (natasya.kublai.com [207.172.25.236]) by coleridge.kublai.com (8.8.8/8.8.8) with ESMTP id PAA08654 for ; Thu, 3 Sep 1998 15:56:51 -0400 (EDT) (envelope-from shmit@natasya.kublai.com) Received: (from shmit@localhost) by natasya.kublai.com (8.9.1/8.8.8) id PAA09460 for current@freebsd.org; Thu, 3 Sep 1998 15:56:51 -0400 (EDT) Message-ID: <19980903155651.C1597@kublai.com> Date: Thu, 3 Sep 1998 15:56:51 -0400 From: Brian Cully To: current@FreeBSD.ORG Subject: Problems with pthread-y errno Reply-To: shmit@kublai.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i X-Sender: If your mailer pays attention to this, it's broken. X-PGP-Info: finger shmit@kublai.com for my public key. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I tried recompiling Kerberos V and utilities to-day and ran into something that's rather strange: Inside of some of the structures that KerbV uses, there are fields called `errno'. This wouldn't be a problem, except that as part of the thread implementation in -current, we have: #define errno (* __error()) in . This means that we cannot use the symbol `errno' for our own purposes, since this is resolved in CPP. This seems to me plenty broken, and destroys all kinds of uses of scope in this instance. What's really strange, though, is that I didn't have this problem until I converted to ELF, when I would have expected this to happen as soon as John changed the errno definition (which was what, three or four months ago?). -- Brian Cully ``And when one of our comrades was taken prisoner, blindfolded, hung upside-down, shot, and burned, we thought to ourselves, `These are the best experiences of our lives''' -Pathology (Joe Frank, Somewhere Out There) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message