From owner-freebsd-haskell@freebsd.org Sun Nov 10 02:27:53 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 93CBD1A7098 for ; Sun, 10 Nov 2019 02:27:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 479dG13THRz4R1R for ; Sun, 10 Nov 2019 02:27:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 773A31A7097; Sun, 10 Nov 2019 02:27:53 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 76FF21A7096 for ; Sun, 10 Nov 2019 02:27:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 479dG12Zlfz4R1Q for ; Sun, 10 Nov 2019 02:27:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3BFC2202A1 for ; Sun, 10 Nov 2019 02:27:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAA2Rrrm032645 for ; Sun, 10 Nov 2019 02:27:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAA2RrYt032641 for haskell@FreeBSD.org; Sun, 10 Nov 2019 02:27:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: maintainer-feedback requested: [Bug 241849] lang/ghc: Enable USE_PTHREAD_FOR_ITIMER Date: Sun, 10 Nov 2019 02:27:52 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 02:27:53 -0000 Bugzilla Automation has asked freebsd-haskell mailing list for maintainer-feedback: Bug 241849: lang/ghc: Enable USE_PTHREAD_FOR_ITIMER https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241849 --- Description --- The GHC RTS has an interval timer that is apparently used both in the threa= ded (-threaded) and non-threaded runtime. On some operating systems, rts/posix/Itimer.c sets USE_PTHREAD_FOR_ITIMER, which uses usleep() at regular intervals instead of SIGVALRM. Per the comments about Darwin (macOS) above: * We want to avoid using the SIGALRM signals whenever possible as these signals * interrupt system calls (see #10840) and can be overridden by user code. = On * Darwin we can use a dedicated thread and usleep. The attached patch applies this for FreeBSD as well. To see the difference, run 'truss' on a simple test program: =3D=3D test.hs =3D=3D main =3D do c <- getChar putChar c $ ghc test.hs $ truss ./test.hs ... some stuff SIGNAL 26 (SIGVTALRM) code=3DSI_TIMER value=3D0x0 timerid=3D3 overrun=3D0 sigprocmask(SIG_SETMASK,{ SIGVTALRM },0x0) =3D 0 (0x0) sigreturn(0x7fffffff9880) =3D 0 (0x0) ioctl(0,TIOCGETA,0x7fffffffa270) =3D 0 (0x0) poll({ 0/POLLIN },1,0) =3D 0 (0x0) select(1,{ 0 },{ },0x0,0x0) ERR#4 'Interrupted system call' SIGNAL 26 (SIGVTALRM) code=3DSI_TIMER value=3D0x0 timerid=3D3 overrun=3D0 sigprocmask(SIG_SETMASK,{ SIGVTALRM },0x0) =3D 0 (0x0) sigreturn(0x7fffffffd6c0) ERR#4 'Interrupted system call' select(1,{ 0 },{ },0x0,0x0) ERR#4 'Interrupted system call' ... more of this After this change: ... some stuff ioctl(0,TIOCGETA,0x7fffffffa270) =3D 0 (0x0) poll({ 0/POLLIN },1,0) =3D 0 (0x0) nanosleep({ 0.010000000 }) =3D 0 (0x0) nanosleep({ 0.010000000 }) =3D 0 (0x0) nanosleep({ 0.010000000 }) =3D 0 (0x0) ... more of this select(1,{ 0 },{ },0x0,0x0) =3D 1 (0x1) ... more stuff From owner-freebsd-haskell@freebsd.org Sun Nov 10 02:27:54 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2C3611A70A0 for ; Sun, 10 Nov 2019 02:27:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 479dG20Sjmz4R1X for ; Sun, 10 Nov 2019 02:27:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0BDE81A709E; Sun, 10 Nov 2019 02:27:54 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0B9361A709C for ; Sun, 10 Nov 2019 02:27:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 479dG15D1Sz4R1S for ; Sun, 10 Nov 2019 02:27:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 96DF3202A2 for ; Sun, 10 Nov 2019 02:27:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAA2RriA032762 for ; Sun, 10 Nov 2019 02:27:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAA2RrHf032759 for haskell@FreeBSD.org; Sun, 10 Nov 2019 02:27:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 241849] lang/ghc: Enable USE_PTHREAD_FOR_ITIMER Date: Sun, 10 Nov 2019 02:27:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevinz5000@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: 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-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 02:27:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241849 Bug ID: 241849 Summary: lang/ghc: Enable USE_PTHREAD_FOR_ITIMER Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: haskell@FreeBSD.org Reporter: kevinz5000@gmail.com Flags: maintainer-feedback?(haskell@FreeBSD.org) Assignee: haskell@FreeBSD.org Created attachment 209025 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D209025&action= =3Dedit Patch The GHC RTS has an interval timer that is apparently used both in the threa= ded (-threaded) and non-threaded runtime. On some operating systems, rts/posix/Itimer.c sets USE_PTHREAD_FOR_ITIMER, which uses usleep() at regular intervals instead of SIGVALRM. Per the comments about Darwin (macOS) above: * We want to avoid using the SIGALRM signals whenever possible as these signals * interrupt system calls (see #10840) and can be overridden by user code. = On * Darwin we can use a dedicated thread and usleep. The attached patch applies this for FreeBSD as well. To see the difference, run 'truss' on a simple test program: =3D=3D test.hs =3D=3D main =3D do c <- getChar putChar c $ ghc test.hs $ truss ./test.hs ... some stuff SIGNAL 26 (SIGVTALRM) code=3DSI_TIMER value=3D0x0 timerid=3D3 overrun=3D0 sigprocmask(SIG_SETMASK,{ SIGVTALRM },0x0) =3D 0 (0x0) sigreturn(0x7fffffff9880) =3D 0 (0x0) ioctl(0,TIOCGETA,0x7fffffffa270) =3D 0 (0x0) poll({ 0/POLLIN },1,0) =3D 0 (0x0) select(1,{ 0 },{ },0x0,0x0) ERR#4 'Interrupted system call' SIGNAL 26 (SIGVTALRM) code=3DSI_TIMER value=3D0x0 timerid=3D3 overrun=3D0 sigprocmask(SIG_SETMASK,{ SIGVTALRM },0x0) =3D 0 (0x0) sigreturn(0x7fffffffd6c0) ERR#4 'Interrupted system call' select(1,{ 0 },{ },0x0,0x0) ERR#4 'Interrupted system call' ... more of this After this change: ... some stuff ioctl(0,TIOCGETA,0x7fffffffa270) =3D 0 (0x0) poll({ 0/POLLIN },1,0) =3D 0 (0x0) nanosleep({ 0.010000000 }) =3D 0 (0x0) nanosleep({ 0.010000000 }) =3D 0 (0x0) nanosleep({ 0.010000000 }) =3D 0 (0x0) ... more of this select(1,{ 0 },{ },0x0,0x0) =3D 1 (0x1) ... more stuff --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-haskell@freebsd.org Sun Nov 10 02:28:53 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB2021A7138 for ; Sun, 10 Nov 2019 02:28:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 479dH94Xq4z4R3X for ; Sun, 10 Nov 2019 02:28:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9BDAA1A7135; Sun, 10 Nov 2019 02:28:53 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9BA191A7134 for ; Sun, 10 Nov 2019 02:28:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 479dH93XZzz4R3V for ; Sun, 10 Nov 2019 02:28:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5DF8C202A6 for ; Sun, 10 Nov 2019 02:28:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAA2Srl6049346 for ; Sun, 10 Nov 2019 02:28:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAA2SrW8049341 for haskell@FreeBSD.org; Sun, 10 Nov 2019 02:28:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 241849] lang/ghc: Enable USE_PTHREAD_FOR_ITIMER Date: Sun, 10 Nov 2019 02:28:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevinz5000@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 02:28:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241849 Kevin Zheng changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevinz5000@gmail.com --- Comment #1 from Kevin Zheng --- Perhaps a PORTREVISION bump is warranted. The RTS will need to be re-linked with any Haskell binaries. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-haskell@freebsd.org Sun Nov 10 07:03:19 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7F5641AC7E0 for ; Sun, 10 Nov 2019 07:03:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 479lMq2qbpz4fcd for ; Sun, 10 Nov 2019 07:03:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6109F1AC7DF; Sun, 10 Nov 2019 07:03:19 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 60CEB1AC7DE for ; Sun, 10 Nov 2019 07:03:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 479lMq1s26z4fcc for ; Sun, 10 Nov 2019 07:03:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 231112357E for ; Sun, 10 Nov 2019 07:03:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAA73J6J086341 for ; Sun, 10 Nov 2019 07:03:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAA73JDO086340 for haskell@FreeBSD.org; Sun, 10 Nov 2019 07:03:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 241849] lang/ghc: Enable USE_PTHREAD_FOR_ITIMER Date: Sun, 10 Nov 2019 07:03:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: 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-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 07:03:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241849 Gleb Popov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arrowd@FreeBSD.org Status|New |Open --- Comment #2 from Gleb Popov --- Thanks. Did you upstream this? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-haskell@freebsd.org Sun Nov 10 09:23:58 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9EE531AF812 for ; Sun, 10 Nov 2019 09:23:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 479pV63q16z3Hfd for ; Sun, 10 Nov 2019 09:23:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8127B1AF811; Sun, 10 Nov 2019 09:23:58 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7FD731AF810 for ; Sun, 10 Nov 2019 09:23:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 479pV62kv0z3HfZ for ; Sun, 10 Nov 2019 09:23:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 42A9D24E7E for ; Sun, 10 Nov 2019 09:23:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAA9NwaH084665 for ; Sun, 10 Nov 2019 09:23:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAA9NwqP084645 for haskell@FreeBSD.org; Sun, 10 Nov 2019 09:23:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 241849] lang/ghc: Enable USE_PTHREAD_FOR_ITIMER Date: Sun, 10 Nov 2019 09:23:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevinz5000@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 09:23:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241849 --- Comment #3 from Kevin Zheng --- (In reply to Gleb Popov from comment #2) Not yet. I don't track upstream GHC, and wanted to get feedback from haskel= l@ first. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-haskell@freebsd.org Sun Nov 10 19:27:32 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2D0581BC64A for ; Sun, 10 Nov 2019 19:27:32 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47B3tW6P8Wz4JG0 for ; Sun, 10 Nov 2019 19:27:31 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: by mailman.nyi.freebsd.org (Postfix) id DB8111BC649; Sun, 10 Nov 2019 19:27:31 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DB44C1BC648 for ; Sun, 10 Nov 2019 19:27:31 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: from straasha.imrryr.org (straasha.imrryr.org [100.2.39.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47B3tV71JXz4JFy for ; Sun, 10 Nov 2019 19:27:30 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: by straasha.imrryr.org (Postfix, from userid 1001) id 70B42329CD5; Sun, 10 Nov 2019 14:27:29 -0500 (EST) Date: Sun, 10 Nov 2019 14:27:29 -0500 From: Viktor Dukhovni To: haskell@freebsd.org Subject: FYI: Opened GHC PRs to add missing include of sys/types.h Message-ID: <20191110192729.GP34850@straasha.imrryr.org> Reply-To: haskell@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 47B3tV71JXz4JFy X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ietf-dane@dukhovni.org designates 100.2.39.101 as permitted sender) smtp.mailfrom=ietf-dane@dukhovni.org X-Spamd-Result: default: False [1.52 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[haskell@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:100.2.39.101]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dukhovni.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.98)[ip: (-3.83), ipnet: 100.2.0.0/16(-1.92), asn: 701(0.90), country: US(-0.05)]; RCVD_IN_DNSWL_MED(-0.20)[101.39.2.100.list.dnswl.org : 127.0.6.2]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:701, ipnet:100.2.0.0/16, country:US]; REPLYTO_EQ_TO_ADDR(5.00)[] X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 19:27:32 -0000 Once https://gitlab.haskell.org/ghc/ghc/merge_requests/2132 https://gitlab.haskell.org/ghc/ghc/merge_requests/2133 https://gitlab.haskell.org/ghc/ghc/merge_requests/2134 are merged, there will no longer be a need to apply a patch to libraries/base/dist-install/build/System/Environment/ExecutablePath.hsc to create "bindists" or any future ports for GHC 8.8.2 and beyond. -- Viktor. P.S. There isn't yet a GHC 8.8.x port, so likely by the time that port appears, the patch will not be needed. In the meantime, as of stack nightly-2019-11-10, my project now builds with GHC 8.8.1. Thanks again for making the bindists available in: https://github.com/commercialhaskell/stackage-content/pull/69 From owner-freebsd-haskell@freebsd.org Sun Nov 10 19:39:37 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 54A1A1BD182 for ; Sun, 10 Nov 2019 19:39:37 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47B48S6ZZRz4Jjf for ; Sun, 10 Nov 2019 19:39:36 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id DF6711BD181; Sun, 10 Nov 2019 19:39:36 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DF2301BD180 for ; Sun, 10 Nov 2019 19:39:36 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47B48S5YhKz4Jjd for ; Sun, 10 Nov 2019 19:39:36 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pl1-f175.google.com with SMTP id g8so2605253plt.4 for ; Sun, 10 Nov 2019 11:39:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=gg92V053f/dGK0KAnR3ZAqVCzvNR1yMyTR7T1EWbY4A=; b=Xswy1o6s6eEvMR3D7p6iReiJYbV3kFEWkMcc6BTRYaJjbFbV+uRpkKYGOGjp6TDeqB vYzkcTq4uL/HRNXqOGbo/vIMQsfotgcGhimSRK3jKwMOkSCcMYrIECvG4eS4bVy7wRFX dIkWmlFB0+gQjfQ936yS7Fs87jukOMt4kbZAqpFIphDs0q5rnirqPFJobDNwevmapuAo 6RK5+xF1sp2Z7vlC/hf0tXeUkndmQqgZFBl1l3C8gxTDg5EqovGGCm57INkghBj7eX2p MdPgsI4BVJilwMxtEptzbK5o4sh6dFvQvVRDIMoyjGfXhSoPUoyzgNAjX9PGIPD5d+0D 2KNA== X-Gm-Message-State: APjAAAWN7LdRStaTNuOFBou7XxTEa65fw3WXAJULtg6tTrdEnRqBb7ZY j/jzALWx139qDuNWDvnCcCQrbxK5DDQ= X-Google-Smtp-Source: APXvYqwyYvOXBkFF21ipO6tCCnNrgZUhAWiNO9XOpT07TbLf1J/8n2esf8eaoNAamSnjasyCyjdknQ== X-Received: by 2002:a17:902:bc84:: with SMTP id bb4mr21043314plb.143.1573414774457; Sun, 10 Nov 2019 11:39:34 -0800 (PST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com. [209.85.214.170]) by smtp.gmail.com with ESMTPSA id w62sm13727593pfb.15.2019.11.10.11.39.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Nov 2019 11:39:34 -0800 (PST) Received: by mail-pl1-f170.google.com with SMTP id ay6so6819528plb.0 for ; Sun, 10 Nov 2019 11:39:34 -0800 (PST) X-Received: by 2002:a17:902:5acd:: with SMTP id g13mr22525096plm.242.1573414773962; Sun, 10 Nov 2019 11:39:33 -0800 (PST) MIME-Version: 1.0 References: <20191110192729.GP34850@straasha.imrryr.org> In-Reply-To: <20191110192729.GP34850@straasha.imrryr.org> From: Gleb Popov Date: Sun, 10 Nov 2019 23:39:09 +0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: FYI: Opened GHC PRs to add missing include of sys/types.h To: haskell@freebsd.org X-Rspamd-Queue-Id: 47B48S5YhKz4Jjd X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 19:39:37 -0000 On Sun, Nov 10, 2019 at 11:27 PM Viktor Dukhovni wrote: > Once > > https://gitlab.haskell.org/ghc/ghc/merge_requests/2132 > https://gitlab.haskell.org/ghc/ghc/merge_requests/2133 > https://gitlab.haskell.org/ghc/ghc/merge_requests/2134 > > are merged, there will no longer be a need to apply a patch to > libraries/base/dist-install/build/System/Environment/ExecutablePath.hsc > to create "bindists" or any future ports for GHC 8.8.2 and beyond. > > -- > Viktor. > Great, thanks for submitting this upstream. While at it, maybe you'll be interested in upstreaming https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241849 ? > P.S. > > There isn't yet a GHC 8.8.x port, so likely by the time that port > appears, the patch will not be needed. In the meantime, as of stack > nightly-2019-11-10, my project now builds with GHC 8.8.1. Thanks > again for making the bindists available in: > > https://github.com/commercialhaskell/stackage-content/pull/69 > _______________________________________________ > freebsd-haskell@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-haskell > To unsubscribe, send any mail to "freebsd-haskell-unsubscribe@freebsd.org" > From owner-freebsd-haskell@freebsd.org Sun Nov 10 19:55:20 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EAD5B1BE710; Sun, 10 Nov 2019 19:55:20 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: from straasha.imrryr.org (straasha.imrryr.org [100.2.39.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47B4Vc3nNCz4KNY; Sun, 10 Nov 2019 19:55:20 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: by straasha.imrryr.org (Postfix, from userid 1001) id 6156C329D31; Sun, 10 Nov 2019 14:55:19 -0500 (EST) Date: Sun, 10 Nov 2019 14:55:19 -0500 From: Viktor Dukhovni To: freebsd-haskell@freebsd.org, haskell@freebsd.org Subject: Re: FYI: Opened GHC PRs to add missing include of sys/types.h Message-ID: <20191110195519.GQ34850@straasha.imrryr.org> Reply-To: haskell@freebsd.org References: <20191110192729.GP34850@straasha.imrryr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 47B4Vc3nNCz4KNY X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ietf-dane@dukhovni.org designates 100.2.39.101 as permitted sender) smtp.mailfrom=ietf-dane@dukhovni.org X-Spamd-Result: default: False [-3.74 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[haskell@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:100.2.39.101:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dukhovni.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_IN_DNSWL_MED(-0.20)[101.39.2.100.list.dnswl.org : 127.0.6.2]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:701, ipnet:100.2.0.0/16, country:US]; IP_SCORE(-1.24)[ip: (-4.68), ipnet: 100.2.0.0/16(-2.34), asn: 701(0.89), country: US(-0.05)] X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 19:55:21 -0000 On Sun, Nov 10, 2019 at 11:39:09PM +0400, Gleb Popov wrote: > > Once > > > > https://gitlab.haskell.org/ghc/ghc/merge_requests/2132 > > https://gitlab.haskell.org/ghc/ghc/merge_requests/2133 > > https://gitlab.haskell.org/ghc/ghc/merge_requests/2134 > > > > are merged, there will no longer be a need to apply a patch to > > libraries/base/dist-install/build/System/Environment/ExecutablePath.hsc > > to create "bindists" or any future ports for GHC 8.8.2 and beyond. > > Great, thanks for submitting this upstream. While at it, maybe you'll be > interested in upstreaming https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241849 ? In fact I'm already looking at it, indeed this is what got me energized enough to submit the sys/time.h fixes upstream, but I first want to test the proposed fix a bit more. At a minimum, the condition for enabling the pthread codepath likely needs to be: #if defined(freebsd_HOST_OS) && defined(THREADED_RTS) rather than just: #if defined(freebsd_HOST_OS) which mimmics the Linux variant: #if defined(linux_HOST_OS) && defined(THREADED_RTS) && HAVE_SYS_TIMERFD_H #define USE_PTHREAD_FOR_ITIMER #endif -- Viktor. From owner-freebsd-haskell@freebsd.org Mon Nov 11 17:06:17 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 779BD1B9CBA for ; Mon, 11 Nov 2019 17:06:17 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47Bcj471scz4P48 for ; Mon, 11 Nov 2019 17:06:16 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: by mailman.nyi.freebsd.org (Postfix) id EF2571B9CB8; Mon, 11 Nov 2019 17:06:16 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDC6F1B9CB7 for ; Mon, 11 Nov 2019 17:06:16 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: from straasha.imrryr.org (straasha.imrryr.org [100.2.39.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47Bcj45wG3z4P47 for ; Mon, 11 Nov 2019 17:06:16 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: from [192.168.1.161] (unknown [192.168.1.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by straasha.imrryr.org (Postfix) with ESMTPSA id AAC2A32A92D for ; Mon, 11 Nov 2019 12:06:14 -0500 (EST) From: Viktor Dukhovni Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: FYI: Opened GHC PRs to add missing include of sys/types.h Date: Mon, 11 Nov 2019 12:06:13 -0500 References: <20191110192729.GP34850@straasha.imrryr.org> <20191110195519.GQ34850@straasha.imrryr.org> To: haskell@freebsd.org In-Reply-To: <20191110195519.GQ34850@straasha.imrryr.org> Message-Id: <6C26D5CD-EC37-4707-A43E-6658B8EB54F5@dukhovni.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 47Bcj45wG3z4P47 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2019 17:06:17 -0000 > =0D> =0D> =0D> On Nov 10, 2019, at 2:55 PM, Viktor Dukhovni = wrote: >=20 >> Great, thanks for submitting this upstream. While at it, maybe you'll = be >> interested in upstreaming = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241849 ? >=20 > In fact I'm already looking at it, indeed this is what got me > energized enough to submit the sys/time.h fixes upstream, but I > first want to test the proposed fix a bit more. It does not appear to break anything, and no noticeable performance difference in my DNS-survey code, so perhaps mostly a safety improvement. https://gitlab.haskell.org/ghc/ghc/merge_requests/2139 --=20 Viktor.