NetBSD Problem Report #52529

From wiz@yt.nih.at  Wed Sep  6 13:35:03 2017
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 476A37A220
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  6 Sep 2017 13:35:03 +0000 (UTC)
Message-Id: <20170906122031.0FDBB2AC0D2@yt.nih.at>
Date: Wed,  6 Sep 2017 14:20:31 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: C11 stdatomic.h missing
X-Send-Pr-Version: 3.95

>Number:         52529
>Category:       lib
>Synopsis:       C11 stdatomic.h missing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 06 13:40:00 +0000 2017
>Closed-Date:    Mon Oct 09 20:36:03 +0000 2017
>Last-Modified:  Mon Oct 09 20:36:03 +0000 2017
>Originator:     Thomas Klausner
>Release:        NetBSD 8.99.2
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
Architecture: x86_64
Machine: amd64
>Description:
NetBSD does not provide the stdatomic.h header which is specified by C11.

Some software would like to use it, like gnutls.
>How-To-Repeat:
less /usr/include/stdatomic.h
>Fix:
FreeBSD has one, see e.g.
https://github.com/freebsd/freebsd/blob/master/sys/sys/stdatomic.h

>Release-Note:

>Audit-Trail:
From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: lib/52529: C11 stdatomic.h missing
Date: Wed, 20 Sep 2017 01:51:47 +0000

 There is stdatomic.h if you use clang instead of GCC. we aren't
 installing the GCC one.

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 09 Oct 2017 20:36:03 +0000
State-Changed-Why:
Fixed by christos, pulled up to -8


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.