From zubin at well-typed.com Fri Feb 10 14:50:14 2023 From: zubin at well-typed.com (Zubin Duggal) Date: Fri, 10 Feb 2023 20:20:14 +0530 Subject: [Haskell] [ANNOUNCE] GHC 9.2.6 released Message-ID: <20230210145014.mr7gkdghbqzivd2h@zubin-pc> The GHC developers are happy to announce the availability of GHC 9.2.6. Binary distributions, source distributions, and documentation are available at [downloads.haskell.org](https://downloads.haskell.org/ghc/9.2.6). Download Page: https://www.haskell.org/ghc/download_ghc_9_2_6.html Blog Post: https://www.haskell.org/ghc/blog/20230210-ghc-9.2.6-released.html This release is primarily a bugfix release addressing a few issues found in 9.2.5. These include: * Fixes for a number of simplifier issues typically resulting in compiler panics (#22491, #22482, #19824, #22718, #22662, #22039). * Fix for a simplifier regression in 9.2.5 that could impact runtime performance when compiling with optimisations due to duplication of expensive work (#22425). * Various stability improvments and bug fixes for the non moving and parallel GCs (#22528, #20221, #22264, #22327, #22929, #22927, #22929, #22930). * Allow certain keywords which can be used as variable names with `-XOverloadedRecordDot` (#20723). * Improvements to typechecker performance for modules with holes in type signatures (#14766) * Bump `gmp-tarballs` to a version which doesn't use the reserved `x18` register on AArch64/Darwin systems, and also has fixes for CVE-2021-43618 (#22497, #22789). * ... and a few more. See the [release notes] for a full accounting. As some of the fixed issues do affect correctness users are encouraged to upgrade promptly. We would like to thank Microsoft Azure, GitHub, IOG, the Zw3rk stake pool, Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, Haskell Foundation, and other anonymous contributors whose on-going financial and in-kind support has facilitated GHC maintenance and release management over the years. Finally, this release would not have been possible without the hundreds of open-source contributors whose work comprise this release. As always, do give this release a try and open a [ticket][] if you see anything amiss. Happy compiling, - Zubin [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new [release notes]: https://downloads.haskell.org/~ghc/9.2.6/docs/html/users_guide/9.2.6-notes.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: From ben at well-typed.com Tue Feb 14 13:39:08 2023 From: ben at well-typed.com (Ben Gamari) Date: Tue, 14 Feb 2023 08:39:08 -0500 Subject: [ANNOUNCE] GHC 9.6.1-alpha3 is now available Message-ID: <87k00knz88.fsf@smart-cactus.org> The GHC team is very pleased to announce the availability of GHC 9.6.1-alpha3. As usual, binaries and source distributions are available at downloads.haskell.org: https://downloads.haskell.org/ghc/9.6.1-alpha3/ Beginning with GHC 9.6.1, GHC can be built as a cross-compiler to WebAssembly and JavaScript. This is an important step towards robust support for compiling Haskell to the Web, but there are a few caveats to be aware of in the 9.6 series: - Both the Javascript and WebAssembly backends are still at an early stage of development and are present in this release as a technology preview - Using GHC as a cross-compiler is not as easy as we would like it to be; in particular, there are challenges related to Template Haskell - GHC is not yet run-time retargetable; a given GHC binary targets exactly one platform, and both WebAssembly and JavaScript are considered platforms for this purpose. Cross-compilers must be built from source by their users We hope to lift all of these limitations in future releases. Additionally, 9.6.1 will include: - Significant latency improvements in the non-moving garbage collector - Efficient runtime support for delimited continuations - Improvements in compiler error messages - Numerous improvements in the compiler's memory usage See the [release notes] for a comprehensive accounting of changes in this release. As always, one can find a [migration guide] to aid in transitioning from older releases on the GHC Wiki. We have also recently started extending our release process to cover a wider set of Linux distributions. In particular, we now offer Rocky 8 and Ubuntu 20.04 binary distributions which cover RedHat-derivative and distributions using older `glibc` releases (namely 2.27), respectively. Please do give this release a try and open a [ticket] if you see anything amiss. Cheers, - Ben [ticket]: https://gitlab.haskell.org/ghc/ghc/issues/ [migration guide]: https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.6 [release notes]: https://downloads.haskell.org/ghc/9.6.1-alpha3/docs/users_guide/9.6.1-notes.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 487 bytes Desc: not available URL: From george.colpitts at gmail.com Tue Feb 14 15:21:45 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Tue, 14 Feb 2023 11:21:45 -0400 Subject: [ANNOUNCE] GHC 9.6.1-alpha3 is now available In-Reply-To: <87k00knz88.fsf@smart-cactus.org> References: <87k00knz88.fsf@smart-cactus.org> Message-ID: Hi I get a strange warning on MacOS when I do ./configure: checking Xcode version... xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance not found (too old?) I also get a related strange warning when I do a compile: ghc hello.hs [1 of 2] Compiling Main ( hello.hs, hello.o ) [Missing object file] [2 of 2] Linking hello [Objects changed] ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib' I'm on macOS 13.2.1. I was previously on ghc 9.4.4. Thanks George On Tue, Feb 14, 2023 at 9:39 AM Ben Gamari wrote: > > The GHC team is very pleased to announce the availability of GHC > 9.6.1-alpha3. > As usual, binaries and source distributions are available at > downloads.haskell.org: > > https://downloads.haskell.org/ghc/9.6.1-alpha3/ > > Beginning with GHC 9.6.1, GHC can be built as a cross-compiler to > WebAssembly and JavaScript. This is an important step towards robust > support for compiling Haskell to the Web, but there are a few caveats to > be aware of in the 9.6 series: > > - Both the Javascript and WebAssembly backends are still at an early > stage of development and are present in this release as a technology > preview > > - Using GHC as a cross-compiler is not as easy as we would like it to > be; in particular, there are challenges related to Template Haskell > > - GHC is not yet run-time retargetable; a given GHC binary targets > exactly one platform, and both WebAssembly and JavaScript are considered > platforms for this purpose. Cross-compilers must be built from source by > their users > > We hope to lift all of these limitations in future releases. > > Additionally, 9.6.1 will include: > > - Significant latency improvements in the non-moving garbage collector > > - Efficient runtime support for delimited continuations > > - Improvements in compiler error messages > > - Numerous improvements in the compiler's memory usage > > See the [release notes] for a comprehensive accounting of changes in this > release. > > As always, one can find a [migration guide] to aid in transitioning from > older > releases on the GHC Wiki. We have also recently started extending our > release process to cover a wider set of Linux distributions. In > particular, we now offer Rocky 8 and Ubuntu 20.04 binary distributions > which cover RedHat-derivative and distributions using older `glibc` > releases (namely 2.27), respectively. > > Please do give this release a try and open a [ticket] if you see anything > amiss. > > Cheers, > > - Ben > > > [ticket]: https://gitlab.haskell.org/ghc/ghc/issues/ > [migration guide]: > https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.6 > [release notes]: > https://downloads.haskell.org/ghc/9.6.1-alpha3/docs/users_guide/9.6.1-notes.html > _______________________________________________ > ghc-devs mailing list > ghc-devs at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at well-typed.com Wed Feb 15 17:20:26 2023 From: ben at well-typed.com (Ben Gamari) Date: Wed, 15 Feb 2023 12:20:26 -0500 Subject: [ANNOUNCE] GHC 9.6.1-alpha3 is now available In-Reply-To: References: <87k00knz88.fsf@smart-cactus.org> Message-ID: <874jrmongf.fsf@smart-cactus.org> George Colpitts writes: > Hi > > I get a strange warning on MacOS when I do ./configure: > > checking Xcode version... xcode-select: error: tool 'xcodebuild' requires > Xcode, but active developer directory '/Library/Developer/CommandLineTools' > is a command line tools instance > not found (too old?) > > > I also get a related strange warning when I do a compile: > > ghc hello.hs > [1 of 2] Compiling Main ( hello.hs, hello.o ) [Missing object > file] > [2 of 2] Linking hello [Objects changed] > ld: warning: directory not found for option > '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib' > Hmm, that is indeed odd. It sounds like you Xcode installation may be broken. Did you upgrade your operating system recently? Do you have Xcode, the CLT package, or both installed? Cheers, - Ben -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 487 bytes Desc: not available URL: From george.colpitts at gmail.com Wed Feb 15 17:51:22 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Wed, 15 Feb 2023 13:51:22 -0400 Subject: [ANNOUNCE] GHC 9.6.1-alpha3 is now available In-Reply-To: <874jrmongf.fsf@smart-cactus.org> References: <87k00knz88.fsf@smart-cactus.org> <874jrmongf.fsf@smart-cactus.org> Message-ID: Hi Ben Thanks for replying. As I mentioned in my original email I'm on Ventura,13.2.1, I just upgraded to that before installing alpha3. I have command line tools. I did the following to reinstall them and got the same results stated in my email: sudo rm -rf /Library/Developer/CommandLineTools Password: bash-3.2$ xcode-select --install xcode-select: note: install requested for command line developer tools Looking more carefully at the error message: checking Xcode version... xcode-select: error: tool 'xcodebuild' requires > Xcode, but active developer directory '/Library/Developer/CommandLin eTools' > is a command line tools instance > not found (too old?) It seems to be saying that I need Xcode not command line tools. That's also consistent with the linker warning message: ld: warning: directory not found for option '-L/Applications/*Xcode.app* /Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib' There is no urgency on my part to get this resolved. We may want to just wait to see if anybody else on 13.2.1 got this also. Thanks George On Wed, Feb 15, 2023 at 1:20 PM Ben Gamari wrote: > George Colpitts writes: > > > Hi > > > > I get a strange warning on MacOS when I do ./configure: > > > > checking Xcode version... xcode-select: error: tool 'xcodebuild' requires > > Xcode, but active developer directory > '/Library/Developer/CommandLineTools' > > is a command line tools instance > > not found (too old?) > > > > > > I also get a related strange warning when I do a compile: > > > > ghc hello.hs > > [1 of 2] Compiling Main ( hello.hs, hello.o ) [Missing object > > file] > > [2 of 2] Linking hello [Objects changed] > > ld: warning: directory not found for option > > > '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib' > > > Hmm, that is indeed odd. It sounds like you Xcode installation may be > broken. Did you upgrade your operating system recently? Do you have > Xcode, the CLT package, or both installed? > > Cheers, > > - Ben > -------------- next part -------------- An HTML attachment was scrubbed... URL: From george.colpitts at gmail.com Wed Feb 15 18:04:52 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Wed, 15 Feb 2023 14:04:52 -0400 Subject: [ANNOUNCE] GHC 9.6.1-alpha3 is now available In-Reply-To: References: <87k00knz88.fsf@smart-cactus.org> <874jrmongf.fsf@smart-cactus.org> Message-ID: It seems wrong to me that the configure file references Xcode.app and MacOSX12.1: bash-3.2$ fgrep Xcode.app configure FFIIncludeDir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/ffi FFILibDir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib On Wed, Feb 15, 2023 at 1:51 PM George Colpitts wrote: > > Hi Ben > > Thanks for replying. > > As I mentioned in my original email I'm on Ventura,13.2.1, I just upgraded > to that before installing alpha3. > > I have command line tools. I did the following to reinstall them and got > the same results stated in my email: > > sudo rm -rf /Library/Developer/CommandLineTools > Password: > bash-3.2$ xcode-select --install > xcode-select: note: install requested for command line developer tools > > > Looking more carefully at the error message: > > checking Xcode version... xcode-select: error: tool 'xcodebuild' requires > > Xcode, but active developer directory '/Library/Developer/CommandLin > eTools' > > is a command line tools instance > > not found (too old?) > > It seems to be saying that I need Xcode not command line tools. That's > also consistent with the linker warning message: > > ld: warning: directory not found for option '-L/Applications/*Xcode.app* > /Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib' > > > There is no urgency on my part to get this resolved. We may want to just > wait to see if anybody else on 13.2.1 got this also. > > Thanks > George > > > On Wed, Feb 15, 2023 at 1:20 PM Ben Gamari wrote: > >> George Colpitts writes: >> >> > Hi >> > >> > I get a strange warning on MacOS when I do ./configure: >> > >> > checking Xcode version... xcode-select: error: tool 'xcodebuild' >> requires >> > Xcode, but active developer directory >> '/Library/Developer/CommandLineTools' >> > is a command line tools instance >> > not found (too old?) >> > >> > >> > I also get a related strange warning when I do a compile: >> > >> > ghc hello.hs >> > [1 of 2] Compiling Main ( hello.hs, hello.o ) [Missing >> object >> > file] >> > [2 of 2] Linking hello [Objects changed] >> > ld: warning: directory not found for option >> > >> '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib' >> > >> Hmm, that is indeed odd. It sounds like you Xcode installation may be >> broken. Did you upgrade your operating system recently? Do you have >> Xcode, the CLT package, or both installed? >> >> Cheers, >> >> - Ben >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From george.colpitts at gmail.com Thu Feb 16 16:42:16 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Thu, 16 Feb 2023 12:42:16 -0400 Subject: [ANNOUNCE] GHC 9.6.1-alpha3 is now available In-Reply-To: References: <87k00knz88.fsf@smart-cactus.org> <874jrmongf.fsf@smart-cactus.org> Message-ID: reported as https://gitlab.haskell.org/ghc/ghc/-/issues/22993 Thanks & Regards George On Wed, Feb 15, 2023 at 2:04 PM George Colpitts wrote: > It seems wrong to me that the configure file references Xcode.app and > MacOSX12.1: > > bash-3.2$ fgrep Xcode.app configure > > FFIIncludeDir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/ffi > > FFILibDir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib > > > On Wed, Feb 15, 2023 at 1:51 PM George Colpitts > wrote: > >> >> Hi Ben >> >> Thanks for replying. >> >> As I mentioned in my original email I'm on Ventura,13.2.1, I just >> upgraded to that before installing alpha3. >> >> I have command line tools. I did the following to reinstall them and got >> the same results stated in my email: >> >> sudo rm -rf /Library/Developer/CommandLineTools >> Password: >> bash-3.2$ xcode-select --install >> xcode-select: note: install requested for command line developer tools >> >> >> Looking more carefully at the error message: >> >> checking Xcode version... xcode-select: error: tool 'xcodebuild' requires >> > Xcode, but active developer directory '/Library/Developer/CommandLin >> eTools' >> > is a command line tools instance >> > not found (too old?) >> >> It seems to be saying that I need Xcode not command line tools. That's >> also consistent with the linker warning message: >> >> ld: warning: directory not found for option '-L/Applications/*Xcode.app* >> /Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib' >> >> >> There is no urgency on my part to get this resolved. We may want to just >> wait to see if anybody else on 13.2.1 got this also. >> >> Thanks >> George >> >> >> On Wed, Feb 15, 2023 at 1:20 PM Ben Gamari wrote: >> >>> George Colpitts writes: >>> >>> > Hi >>> > >>> > I get a strange warning on MacOS when I do ./configure: >>> > >>> > checking Xcode version... xcode-select: error: tool 'xcodebuild' >>> requires >>> > Xcode, but active developer directory >>> '/Library/Developer/CommandLineTools' >>> > is a command line tools instance >>> > not found (too old?) >>> > >>> > >>> > I also get a related strange warning when I do a compile: >>> > >>> > ghc hello.hs >>> > [1 of 2] Compiling Main ( hello.hs, hello.o ) [Missing >>> object >>> > file] >>> > [2 of 2] Linking hello [Objects changed] >>> > ld: warning: directory not found for option >>> > >>> '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib' >>> > >>> Hmm, that is indeed odd. It sounds like you Xcode installation may be >>> broken. Did you upgrade your operating system recently? Do you have >>> Xcode, the CLT package, or both installed? >>> >>> Cheers, >>> >>> - Ben >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From zubin at well-typed.com Mon Feb 27 14:37:11 2023 From: zubin at well-typed.com (Zubin Duggal) Date: Mon, 27 Feb 2023 20:07:11 +0530 Subject: [Haskell] [ANNOUNCE] GHC 9.2.7 released Message-ID: <20230227143711.asabyw5v2435wqcb@zubin-pc.sungrazer-frog.ts.net> The GHC developers are happy to announce the availability of GHC 9.2.7. Binary distributions, source distributions, and documentation are available at [downloads.haskell.org](https://downloads.haskell.org/ghc/9.2.7). Download Page: https://www.haskell.org/ghc/download_ghc_9_2_7.html Blog Post: https://www.haskell.org/ghc/blog/20230227-ghc-9.2.7-released.html This release is primarily a bugfix release addressing a few issues found in 9.2.6. These include: * A fix for a bug with the RTS linker being unable to resolve the `setKeepCafs` symbol which started being used by the GHC library in 9.2.6, resulting in code depending on this symbol failing to load in GHCi or via a compile time splice when using a statically linked GHC, such as on Windows (#22961). * A fix a bug with the alignment of RTS data structures that could result in segfaults when compiled with high optimisation settings on certain platforms (#22975 , #22965). * A fix for a bug in the simplifier related to placeholder values (rubbish literals) emitted by the worker/wrapper optimisation leading to -dcore-lint errors and compiler panics in certain cases (#19882, #22914, #23000). * Easier installation of binary distribution on MacOS platforms by changing the installation Makefile to remove the quarantine attribute when installing. * ... and a few more. See the [release notes] for a full accounting. As some of the fixed issues do affect correctness users are encouraged to upgrade promptly. We would like to thank Microsoft Azure, GitHub, IOG, the Zw3rk stake pool, Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, Haskell Foundation, and other anonymous contributors whose on-going financial and in-kind support has facilitated GHC maintenance and release management over the years. Finally, this release would not have been possible without the hundreds of open-source contributors whose work comprise this release. As always, do give this release a try and open a [ticket][] if you see anything amiss. Happy compiling, - Zubin [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new [release notes]: https://downloads.haskell.org/~ghc/9.2.7/docs/html/users_guide/9.2.7-notes.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: