From owner-freebsd-current@FreeBSD.ORG Wed Sep 5 15:40:39 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6654106566C for ; Wed, 5 Sep 2012 15:40:39 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 44E248FC15 for ; Wed, 5 Sep 2012 15:40:38 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q85FecHL079328 for ; Wed, 5 Sep 2012 09:40:38 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q85FeFLT042731; Wed, 5 Sep 2012 09:40:15 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: "O. Hartmann" In-Reply-To: <50475D83.6090803@mail.zedat.fu-berlin.de> References: <50475D83.6090803@mail.zedat.fu-berlin.de> Content-Type: text/plain; charset="us-ascii" Date: Wed, 05 Sep 2012 09:40:15 -0600 Message-ID: <1346859615.59094.79.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Current FreeBSD Subject: Re: atomic_ops.h: missing ... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 15:40:40 -0000 On Wed, 2012-09-05 at 16:11 +0200, O. Hartmann wrote: > Hello. > > While fiddling around with software that is looking for an include file > "atomic_ops.h", which seems to reside in the FreeBSD operating system's > sources with lib/lbkse, I'd like to know whether those architecture > specific header files are installed in some places, where they could be > found by the regular ports building environment (without necessarily > having the OS sources installed). > > I'm working on FreeBSD 10.0-CUR with OS sources installed. > > Doing a "locate atomic_ops.h" reveals > > /usr/local/include/cpl_atomic_ops.h > /usr/src/lib/libkse/arch/amd64/include/atomic_ops.h > /usr/src/lib/libkse/arch/arm/include/atomic_ops.h > /usr/src/lib/libkse/arch/i386/include/atomic_ops.h > /usr/src/lib/libkse/arch/ia64/include/atomic_ops.h > /usr/src/lib/libkse/arch/powerpc/include/atomic_ops.h > /usr/src/lib/libkse/arch/sparc64/include/atomic_ops.h > > Is this include missed by intention or is it a bug? > > Thanks in advance. There also used to be an atomic_ops.h in the libpthread implementation in days of old. I think both it and the one in libkse are intended to be private to the library implementation and they don't get installed. -- Ian