From owner-freebsd-threads@FreeBSD.ORG Mon Aug 27 11:07:25 2012 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B19E7106566B for ; Mon, 27 Aug 2012 11:07:25 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 819C88FC08 for ; Mon, 27 Aug 2012 11:07:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7RB7PSF086018 for ; Mon, 27 Aug 2012 11:07:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7RB7ODm086016 for freebsd-threads@FreeBSD.org; Mon, 27 Aug 2012 11:07:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Aug 2012 11:07:24 GMT Message-Id: <201208271107.q7RB7ODm086016@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-threads@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-threads@FreeBSD.org X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2012 11:07:25 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o threa/170073 threads [patch] stdatomic.h doesn't use clang builtins for C o threa/168417 threads pthread_getcpuclockid() does not work to specification o threa/165173 threads [build] clang buildworld breaks libthr o threa/163512 threads libc defaults to single threaded o threa/160708 threads possible security problem with RLIMIT_VMEM o threa/150959 threads [libc] Stub pthread_once in libc should call _libc_onc o threa/148515 threads Memory / syslog strangeness in FreeBSD 8.x ( possible o threa/141721 threads rtprio(1): (id|rt)prio priority resets when new thread o threa/135673 threads databases/mysql50-server - MySQL query lock-ups on 7.2 o threa/128922 threads threads hang with xorg running o threa/122923 threads 'nice' does not prevent background process from steali o threa/121336 threads lang/neko threading ok on UP, broken on SMP (FreeBSD 7 o threa/116668 threads can no longer use jdk15 with libthr on -stable SMP o threa/115211 threads pthread_atfork misbehaves in initial thread o threa/110636 threads [request] gdb(1): using gdb with multi thread applicat o threa/110306 threads apache 2.0 segmentation violation when calling gethost o threa/103975 threads Implicit loading/unloading of libpthread.so may crash o threa/101323 threads [patch] fork(2) in threaded programs broken. o threa/80992 threads abort() sometimes not caught by gdb depending on threa o threa/79683 threads svctcp_create() fails if multiple threads call at the s threa/76694 threads fork cause hang in dup()/close() function in child (-l s threa/30464 threads [patch] pthread mutex attributes -- pshared 22 problems total. From owner-freebsd-threads@FreeBSD.ORG Fri Aug 31 21:24:54 2012 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E788B1065680; Fri, 31 Aug 2012 21:24:54 +0000 (UTC) (envelope-from edschouten@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 723F68FC19; Fri, 31 Aug 2012 21:24:54 +0000 (UTC) Received: by obbun3 with SMTP id un3so8343872obb.13 for ; Fri, 31 Aug 2012 14:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=TVr+11pjdsGTrOqhlUhvmBzULFTzJdL4W1lh5Zr6I70=; b=FsmhM6HhTcyS7PDkitB7aQuF9gJb3b1gNgZ3UQ4GTqPs20JizGsiER0cTPdvx/fjzg IRz8Ze9teW5llSiPEDXeKov4+vOqgeID7XWBNDsSlhoBodddUzIZB0BSssH6P2aS2a+L dXsejH7qbF13ZXj+V7+Rm/Mk1WH5Lxkc76QNfdw6vJ9j4gOYY7nJ//2tMlD4GsMXke9G pfMXg9iTlBfzSzq4EnGZa6ZrkVGqeiQy44SqQiVG5j9A8P3qYWSovh8X723NIq6WCU8W rqi1Aarxg0sNgJjOhknfRoBlrRk0Jec2unMZJv4MsGQeFLaRC0/0leqU4XlPabkzfQrU 3ZFQ== MIME-Version: 1.0 Received: by 10.60.12.167 with SMTP id z7mr9275025oeb.121.1346448293670; Fri, 31 Aug 2012 14:24:53 -0700 (PDT) Sender: edschouten@gmail.com Received: by 10.76.1.78 with HTTP; Fri, 31 Aug 2012 14:24:53 -0700 (PDT) In-Reply-To: <201207301416.00168.jhb@freebsd.org> References: <201207221951.q6MJpuZl071441@red.freebsd.org> <201207301416.00168.jhb@freebsd.org> Date: Fri, 31 Aug 2012 23:24:53 +0200 X-Google-Sender-Auth: BoXOvgL-jsQUpRLFD1fdaDdHv10 Message-ID: From: Ed Schouten To: John Baldwin Content-Type: text/plain; charset=UTF-8 Cc: freebsd-gnats-submit@freebsd.org, Ariane van der Steldt , David Chisnall , freebsd-threads@freebsd.org Subject: Re: threads/170073: stdatomic.h doesn't use clang builtings for C X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 21:24:55 -0000 Hi John, 2012/7/30 John Baldwin : > Kicking this over to David and Ed who have worked on stdatomic.h. I'm not sure what to do here. I'm not that familiar with the Clang __has_*() bits. David, thoughts? -- Ed Schouten From owner-freebsd-threads@FreeBSD.ORG Fri Aug 31 21:30:15 2012 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B7C6106566B for ; Fri, 31 Aug 2012 21:30:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F0C5E8FC18 for ; Fri, 31 Aug 2012 21:30:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7VLUE34075459 for ; Fri, 31 Aug 2012 21:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7VLUEx3075456; Fri, 31 Aug 2012 21:30:14 GMT (envelope-from gnats) Date: Fri, 31 Aug 2012 21:30:14 GMT Message-Id: <201208312130.q7VLUEx3075456@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org From: Ed Schouten Cc: Subject: Re: threads/170073: stdatomic.h doesn't use clang builtings for C X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 21:30:15 -0000 The following reply was made to PR threads/170073; it has been noted by GNATS. From: Ed Schouten To: John Baldwin Cc: freebsd-threads@freebsd.org, Ariane van der Steldt , freebsd-gnats-submit@freebsd.org, David Chisnall Subject: Re: threads/170073: stdatomic.h doesn't use clang builtings for C Date: Fri, 31 Aug 2012 23:24:53 +0200 Hi John, 2012/7/30 John Baldwin : > Kicking this over to David and Ed who have worked on stdatomic.h. I'm not sure what to do here. I'm not that familiar with the Clang __has_*() bits. David, thoughts? -- Ed Schouten From owner-freebsd-threads@FreeBSD.ORG Fri Aug 31 22:02:57 2012 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A461106564A; Fri, 31 Aug 2012 22:02:57 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id B8CCF8FC0C; Fri, 31 Aug 2012 22:02:56 +0000 (UTC) Received: from [192.168.0.2] (cpc2-cmbg15-2-0-cust445.5-4.cable.virginmedia.com [86.26.13.190]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id q7VM2jEH062208 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Fri, 31 Aug 2012 22:02:46 GMT (envelope-from theraven@FreeBSD.org) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: David Chisnall In-Reply-To: Date: Fri, 31 Aug 2012 23:02:43 +0100 Content-Transfer-Encoding: 7bit Message-Id: References: <201207221951.q6MJpuZl071441@red.freebsd.org> <201207301416.00168.jhb@freebsd.org> To: Ed Schouten X-Mailer: Apple Mail (2.1278) Cc: Ariane van der Steldt , freebsd-gnats-submit@FreeBSD.org, John Baldwin , freebsd-threads@FreeBSD.org Subject: Re: threads/170073: stdatomic.h doesn't use clang builtings for C X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 22:02:57 -0000 On 31 Aug 2012, at 22:24, Ed Schouten wrote: > I'm not sure what to do here. I'm not that familiar with the Clang > __has_*() bits. David, thoughts? The attached diff looked correct to me, please commit. David From owner-freebsd-threads@FreeBSD.ORG Fri Aug 31 22:10:08 2012 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C88B106564A for ; Fri, 31 Aug 2012 22:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6EA678FC1A for ; Fri, 31 Aug 2012 22:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7VMA6mH079978 for ; Fri, 31 Aug 2012 22:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7VMA6wu079976; Fri, 31 Aug 2012 22:10:06 GMT (envelope-from gnats) Date: Fri, 31 Aug 2012 22:10:06 GMT Message-Id: <201208312210.q7VMA6wu079976@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org From: David Chisnall Cc: Subject: Re: threads/170073: stdatomic.h doesn't use clang builtings for C X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Chisnall List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 22:10:08 -0000 The following reply was made to PR threads/170073; it has been noted by GNATS. From: David Chisnall To: Ed Schouten Cc: John Baldwin , freebsd-threads@FreeBSD.org, Ariane van der Steldt , freebsd-gnats-submit@FreeBSD.org Subject: Re: threads/170073: stdatomic.h doesn't use clang builtings for C Date: Fri, 31 Aug 2012 23:02:43 +0100 On 31 Aug 2012, at 22:24, Ed Schouten wrote: > I'm not sure what to do here. I'm not that familiar with the Clang > __has_*() bits. David, thoughts? The attached diff looked correct to me, please commit. David From owner-freebsd-threads@FreeBSD.ORG Fri Aug 31 22:23:07 2012 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E52581065676; Fri, 31 Aug 2012 22:23:06 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 93BD08FC08; Fri, 31 Aug 2012 22:23:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7VMN6xF082287; Fri, 31 Aug 2012 22:23:06 GMT (envelope-from ed@freefall.freebsd.org) Received: (from ed@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7VMN6OG082281; Sat, 1 Sep 2012 00:23:06 +0200 (CEST) (envelope-from ed) Date: Sat, 1 Sep 2012 00:23:06 +0200 (CEST) Message-Id: <201208312223.q7VMN6OG082281@freefall.freebsd.org> To: ariane@stack.nl, ed@FreeBSD.org, freebsd-threads@FreeBSD.org From: ed@FreeBSD.org Cc: Subject: Re: threads/170073: [patch] stdatomic.h doesn't use clang builtins for C X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 22:23:07 -0000 Synopsis: [patch] stdatomic.h doesn't use clang builtins for C State-Changed-From-To: open->closed State-Changed-By: ed State-Changed-When: Sat Sep 1 00:23:05 CEST 2012 State-Changed-Why: Committed. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=170073 From owner-freebsd-threads@FreeBSD.ORG Fri Aug 31 22:30:14 2012 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A39A9106566B for ; Fri, 31 Aug 2012 22:30:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8DF2A8FC1B for ; Fri, 31 Aug 2012 22:30:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7VMUE0l082563 for ; Fri, 31 Aug 2012 22:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7VMUEYg082562; Fri, 31 Aug 2012 22:30:14 GMT (envelope-from gnats) Date: Fri, 31 Aug 2012 22:30:14 GMT Message-Id: <201208312230.q7VMUEYg082562@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: threads/170073: commit references a PR X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 22:30:14 -0000 The following reply was made to PR threads/170073; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: threads/170073: commit references a PR Date: Fri, 31 Aug 2012 22:22:29 +0000 (UTC) Author: ed Date: Fri Aug 31 22:22:14 2012 New Revision: 239960 URL: http://svn.freebsd.org/changeset/base/239960 Log: Properly enable Clang-style atomics when available. In addition to testing against cxx_atomic, we must check c_atomic. The former is only set when building C++ code. Also use __has_extension instead of __has_feature. This allows us to use the atomics outside of C11. Reported by: Ariane van der Steldt PR: threads/170073 Modified: head/include/stdatomic.h Modified: head/include/stdatomic.h ============================================================================== --- head/include/stdatomic.h Fri Aug 31 21:45:49 2012 (r239959) +++ head/include/stdatomic.h Fri Aug 31 22:22:14 2012 (r239960) @@ -33,7 +33,7 @@ #include #include -#if __has_feature(cxx_atomic) +#if __has_extension(c_atomic) || __has_extension(cxx_atomic) #define __CLANG_ATOMICS #elif __GNUC_PREREQ__(4, 7) #define __GNUC_ATOMICS _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"