From owner-freebsd-numerics@freebsd.org Tue Sep 12 05:52:29 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 096CEE1A54B for ; Tue, 12 Sep 2017 05:52:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC2B733EC for ; Tue, 12 Sep 2017 05:52:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8C5qSHw020486 for ; Tue, 12 Sep 2017 05:52:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-numerics@FreeBSD.org Subject: [Bug 222247] libmsun tests does not compile during a buildworld Date: Tue, 12 Sep 2017 05:52:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bsdpr@phoe.frmug.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2017 05:52:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222247 Bertrand Petit changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-numerics@FreeBSD.or | |g --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-numerics@freebsd.org Tue Sep 12 08:07:02 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6DE4BE206F1 for ; Tue, 12 Sep 2017 08:07:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5BE7066E7D for ; Tue, 12 Sep 2017 08:07:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8C8702j061246 for ; Tue, 12 Sep 2017 08:07:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-numerics@FreeBSD.org Subject: [Bug 222247] libmsun tests does not compile during a buildworld Date: Tue, 12 Sep 2017 08:07:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: akbeech@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2017 08:07:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222247 akbeech@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |akbeech@gmail.com --- Comment #1 from akbeech@gmail.com --- Fails on i386 Stable 11. rev 323489: In file included from /usr/src/lib/msun/tests/exponential_test.c:41: In file included from /usr/obj/usr/src/tmp/usr/include/ieeefp.h:13: /usr/obj/usr/src/tmp/usr/include/machine/ieeefp.h:111:9: error: '__fldcw' m= acro redefined [-Werror,-Wmacro-redefined] #define __fldcw(addr) __asm __volatile("fldcw %0" : : "m" (*(addr))) ^ /usr/obj/usr/src/tmp/usr/include/fenv.h:98:9: note: previous definition is = here #define __fldcw(__cw) __asm __volatile("fldcw %0" : : "m" (__cw)) ^ In file included from /usr/src/lib/msun/tests/exponential_test.c:41: In file included from /usr/obj/usr/src/tmp/usr/include/ieeefp.h:13: /usr/obj/usr/src/tmp/usr/include/machine/ieeefp.h:112:9: error: '__fldenv' macro redefined [-Werror,-Wmacro-redefined] #define __fldenv(addr) __asm __volatile("fldenv %0" : : "m" (*(addr))) ^ /usr/obj/usr/src/tmp/usr/include/fenv.h:99:9: note: previous definition is = here #define __fldenv(__env) __asm __volatile("fldenv %0" : : "m" (__env= )) ^ In file included from /usr/src/lib/msun/tests/exponential_test.c:41: In file included from /usr/obj/usr/src/tmp/usr/include/ieeefp.h:13: /usr/obj/usr/src/tmp/usr/include/machine/ieeefp.h:114:9: error: '__fnstcw' macro redefined [-Werror,-Wmacro-redefined] #define __fnstcw(addr) __asm __volatile("fnstcw %0" : "=3Dm" (*(addr))) ^ /usr/obj/usr/src/tmp/usr/include/fenv.h:105:9: note: previous definition is here #define __fnstcw(__cw) __asm __volatile("fnstcw %0" : "=3Dm" (*(__= cw))) ^ In file included from /usr/src/lib/msun/tests/exponential_test.c:41: In file included from /usr/obj/usr/src/tmp/usr/include/ieeefp.h:13: /usr/obj/usr/src/tmp/usr/include/machine/ieeefp.h:115:9: error: '__fnstenv' macro redefined [-Werror,-Wmacro-redefined] #define __fnstenv(addr) __asm __volatile("fnstenv %0" : "=3Dm" (*(addr))) ^ /usr/obj/usr/src/tmp/usr/include/fenv.h:104:9: note: previous definition is here #define __fnstenv(__env) __asm __volatile("fnstenv %0" : "=3Dm" (*(__env))) ^ In file included from /usr/src/lib/msun/tests/exponential_test.c:41: In file included from /usr/obj/usr/src/tmp/usr/include/ieeefp.h:13: /usr/obj/usr/src/tmp/usr/include/machine/ieeefp.h:116:9: error: '__fnstsw' macro redefined [-Werror,-Wmacro-redefined] #define __fnstsw(addr) __asm __volatile("fnstsw %0" : "=3Dm" (*(addr))) ^ /usr/obj/usr/src/tmp/usr/include/fenv.h:106:9: note: previous definition is here #define __fnstsw(__sw) __asm __volatile("fnstsw %0" : "=3Dam" (*(_= _sw))) ^ 5 errors generated. *** Error code 1 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-numerics@freebsd.org Tue Sep 12 12:10:46 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4EB9E0689B for ; Tue, 12 Sep 2017 12:10:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D2E026F0C5 for ; Tue, 12 Sep 2017 12:10:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8CCAk37061656 for ; Tue, 12 Sep 2017 12:10:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-numerics@FreeBSD.org Subject: [Bug 222247] libmsun tests does not compile during a buildworld Date: Tue, 12 Sep 2017 12:10:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bsdpr@phoe.frmug.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2017 12:10:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222247 --- Comment #2 from Bertrand Petit --- Created attachment 186295 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186295&action= =3Dedit Simple proposed patch Simple proposed patch that removes the offending macros and use those provi= ded by fenv.h instead. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-numerics@freebsd.org Tue Sep 12 21:49:44 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37D85E20318 for ; Tue, 12 Sep 2017 21:49:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FD41645C4 for ; Tue, 12 Sep 2017 21:49:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8CLngRG090223 for ; Tue, 12 Sep 2017 21:49:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-numerics@FreeBSD.org Subject: [Bug 222247] libmsun tests does not compile during a buildworld Date: Tue, 12 Sep 2017 21:49:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: akbeech@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2017 21:49:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222247 --- Comment #3 from Beech Rintoul --- The patch results in the following: In file included from /usr/src/include/ieeefp.h:13: /usr/obj/usr/src/tmp/usr/include/machine/ieeefp.h:160:11: error: use of undeclared identifier '_env' __fldenv(_env); ^ /usr/obj/usr/src/tmp/usr/include/machine/ieeefp.h:247:11: error: invalid lv= alue in asm input for constraint 'm' __fldenv(&_env); ^~~~~ /usr/src/lib/msun/x86/fenv.h:99:64: note: expanded from macro '__fldenv' #define __fldenv(__env) __asm __volatile("fldenv %0" : : "m" (__env= )) ^~~~~ 2 errors generated. *** Error code 1 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-numerics@freebsd.org Wed Sep 13 04:14:10 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21090E0A4A7 for ; Wed, 13 Sep 2017 04:14:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E67F71A62 for ; Wed, 13 Sep 2017 04:14:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8D4E9q1012447 for ; Wed, 13 Sep 2017 04:14:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-numerics@FreeBSD.org Subject: [Bug 222247] libmsun tests does not compile during a buildworld Date: Wed, 13 Sep 2017 04:14:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rlibby@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rlibby@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 04:14:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222247 Ryan Libby changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |rlibby@freebsd.org CC| |rlibby@freebsd.org Status|New |In Progress --- Comment #4 from Ryan Libby --- Thanks you both for the detailed reports. Can you confirm this to be fixed after updating sources? It seems that this was introduced to stable/11 in r323299 [1] and I think should be fixed in r323515 [2]. There is a Jenkins job that indicates a successful build of stable/11 i386 after r323515 [3] but reports from your build environments would close the loop for closing this bug. [1] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D323299 [2] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D323515 [3] https://ci.freebsd.org/job/FreeBSD-stable-11-i386-build/1558/ --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-numerics@freebsd.org Wed Sep 13 06:08:03 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 178F8E0E92D for ; Wed, 13 Sep 2017 06:08:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 05D0674B23 for ; Wed, 13 Sep 2017 06:08:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8D682VU084354 for ; Wed, 13 Sep 2017 06:08:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-numerics@FreeBSD.org Subject: [Bug 222247] libmsun tests does not compile during a buildworld Date: Wed, 13 Sep 2017 06:08:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bsdpr@phoe.frmug.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rlibby@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 06:08:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222247 Bertrand Petit changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186295|0 |1 is obsolete| | --- Comment #5 from Bertrand Petit --- Created attachment 186320 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186320&action= =3Dedit Self-contained macros redefinitions fix (In reply to Ryan Libby from comment #4) I will do a test build of r323519 and keep you informed. In the meantime I propose a different patch that obsoletes the comment of r323515 ("This is a bandaid"). Of course r323515 would need to be reverted. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-numerics@freebsd.org Wed Sep 13 06:53:46 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CA3BE10573 for ; Wed, 13 Sep 2017 06:53:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AAFE75F1F for ; Wed, 13 Sep 2017 06:53:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8D6rjs7071923 for ; Wed, 13 Sep 2017 06:53:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-numerics@FreeBSD.org Subject: [Bug 222247] libmsun tests does not compile during a buildworld Date: Wed, 13 Sep 2017 06:53:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rlibby@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rlibby@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 06:53:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222247 --- Comment #6 from Ryan Libby --- (In reply to Bertrand Petit from comment #5) For the underlying bug, yes I think deconflicting the namespace is the right approach, rather than having libmsun try to use the kernel macros. I think there are still two different problems: - Use of reserved identifiers. Neither libmsum nor the kernel headers should be defining identifiers that start with double underscores. - Kernel header namespace pollution. The kernel macros, after being renamed to something not reserved, should be #undef'd at the end of the headers. Attachment 186320 moves the i386 kernel header names out of the way, but leaves the amd64 ones, and still uses inappropriate reserved names. Thanks for your interest. I'm also trying to remove places where we silence warnings. I suggest we get the bug at hand resolved and then clone a new bug targeting head to do this cleanup, since we aren't going to do it by direct commit to stable/11 anyway. If you are familiar with Phabricator (https://wiki.freebsd.org/Phabricator), feel free to submit a patch there. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-numerics@freebsd.org Wed Sep 13 09:47:39 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E9AFE17526 for ; Wed, 13 Sep 2017 09:47:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C7F1800BE for ; Wed, 13 Sep 2017 09:47:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8D9lbk8095732 for ; Wed, 13 Sep 2017 09:47:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-numerics@FreeBSD.org Subject: [Bug 222247] libmsun tests does not compile during a buildworld Date: Wed, 13 Sep 2017 09:47:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rlibby@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 09:47:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222247 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #7 from Konstantin Belousov --- (In reply to Ryan Libby from comment #6) First, we are the implementation. So at least in the hosted case, we are allowed to introduce the __* and _[A_Z] symbols. Second, defining something in userspace and then undefining it at the end of the file still breaks user namespaces. Consider what would happen if user defines an allowed symbol and then includes such file. Also, note that the restrictions on the user namespace pollution are only applicable to the standard-specified files. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-numerics@freebsd.org Fri Sep 15 21:10:18 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44FBFE0A4F1 for ; Fri, 15 Sep 2017 21:10:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 339487DBA4 for ; Fri, 15 Sep 2017 21:10:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8FLAHub007800 for ; Fri, 15 Sep 2017 21:10:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-numerics@FreeBSD.org Subject: [Bug 222247] libmsun tests does not compile during a buildworld Date: Fri, 15 Sep 2017 21:10:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bsdpr@phoe.frmug.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rlibby@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 21:10:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222247 --- Comment #8 from Bertrand Petit --- (In reply to Ryan Libby from comment #4) I did as requested a build using rr323519 without any local modification and confirm that it finished without error. (In reply to Konstantin Belousov from comment #7) That is correct. --=20 You are receiving this mail because: You are on the CC list for the bug.=