From zubin at well-typed.com Wed Oct 16 11:51:10 2024 From: zubin at well-typed.com (Zubin Duggal) Date: Wed, 16 Oct 2024 17:21:10 +0530 Subject: [ANNOUNCE] GHC 9.12.1-alpha1 is now available Message-ID: <2snpei5s6aapoanssr266h5idtgjcfsrojdiso6unuszkhdeih@7vyl6vfi2wzq> The GHC developers are very pleased to announce the availability of the first alpha release of GHC 9.12.1. Binary distributions, source distributions, and documentation are available at [downloads.haskell.org][]. We hope to have this release available via ghcup shortly. GHC 9.12 will bring a number of new features and improvements, including: * The new language extension [OrPatterns] allowing you to combine multiple pattern clauses into one. * The [MultilineStrings] language extension to allow you to more easily write strings spanning multiple lines in your source code. * Improvements to the OverloadedRecordDot extension, allowing the built-in `HasField` class to be used for records with fields of non lifted representations. * The [NamedDefaults] language extension has been introduced allowing you to define defaults for typeclasses other than `Num`. * More deterministic object code output, controlled by the `-fobject-determinism` flag, which improves determinism of builds a lot (though does not fully do so) at the cost of some compiler performance (1-2%). See #12935 for the details * GHC now accepts type syntax in expressions as part of [GHC Proposal #281]. * ... and many more A full accounting of changes can be found in the [release notes][]. As always, GHC's release status, including planned future releases, can be found on the GHC Wiki [status][]. We would like to thank GitHub, IOG, the Zw3rk stake pool, Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the 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. [release notes]: https://downloads.haskell.org/ghc/9.12.1-alpha1/docs/users_guide/9.12.1-notes.html [status]: https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC-status [downloads.haskell.org]: https://downloads.haskell.org/ghc/9.12.1-alpha1 [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new [OrPatterns]: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0522-or-patterns.rst [MultilineStrings]: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0569-multiline-strings.rst [GHC Proposal #281]: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0281-visible-forall.rst [NamedDefaults]: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0409-exportable-named-default.rst Cheers, Zubin -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: From george.colpitts at gmail.com Wed Oct 16 19:52:44 2024 From: george.colpitts at gmail.com (George Colpitts) Date: Wed, 16 Oct 2024 16:52:44 -0300 Subject: [ANNOUNCE] GHC 9.12.1-alpha1 is now available In-Reply-To: <2snpei5s6aapoanssr266h5idtgjcfsrojdiso6unuszkhdeih@7vyl6vfi2wzq> References: <2snpei5s6aapoanssr266h5idtgjcfsrojdiso6unuszkhdeih@7vyl6vfi2wzq> Message-ID: It worked for me on my M2 mac but only after uninstalling and reinstalling Command Line Tools. Hopefully the problem I had was unique to me. I got an error when I ran ./configure on my M2 mac: checking C++ standard library flavour... actest.cpp:1:10: fatal error: 'iostream' file not found 1 | #include | ^~~~~~~~~~ 1 error generated. configure: error: Failed to compile test program Following is the complete output I got checking for opt-17... no checking for opt-17.0... no checking for opt17... no checking for opt-16... no checking for opt-16.0... no checking for opt16... no checking for opt-15... no checking for opt-15.0... no checking for opt15... no checking for opt-14... no checking for opt-14.0... no checking for opt14... no checking for opt-13... no checking for opt-13.0... no checking for opt13... no checking for opt... opt checking opt version (18.1.8) is between 13 and 20... yes checking for clang-19... no checking for clang-19.0... no checking for clang19... no checking for clang-18... clang-18 checking clang-18 version (18.1.8) is between 13 and 20... yes configure: $CC is not gcc; assuming it's a reasonably new C compiler checking whether CC supports -no-pie... no checking whether CC supports flags passed by GHC when compiling via C... yes checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking whether ld64 requires -no_fixup_chains... yes checking whether ld64 requires -no_fixup_chains... yes checking whether ld64 requires -no_fixup_chains... yes checking whether ld64 requires -no_fixup_chains... yes checking whether the linker requires -no_warn_duplicate_libraries... yes checking whether the linker requires -no_warn_duplicate_libraries... yes checking whether the linker requires -no_warn_duplicate_libraries... yes checking whether ld supports response files... yes checking C++ standard library flavour... actest.cpp:1:10: fatal error: 'iostream' file not found 1 | #include | ^~~~~~~~~~ 1 error generated. configure: error: Failed to compile test program On Wed, Oct 16, 2024 at 8:51 AM Zubin Duggal wrote: > The GHC developers are very pleased to announce the availability > of the first alpha release of GHC 9.12.1. Binary distributions, source > distributions, and documentation are available at [downloads.haskell.org > ][]. > > > We hope to have this release available via ghcup shortly. > > GHC 9.12 will bring a number of new features and improvements, including: > > * The new language extension [OrPatterns] allowing you to combine > multiple > pattern clauses into one. > > * The [MultilineStrings] language extension to allow you to more easily > write > strings spanning multiple lines in your source code. > > * Improvements to the OverloadedRecordDot extension, allowing the > built-in > `HasField` class to be used for records with fields of non lifted > representations. > > * The [NamedDefaults] language extension has been introduced allowing > you to > define defaults for typeclasses other than `Num`. > > * More deterministic object code output, controlled by the > `-fobject-determinism` > flag, which improves determinism of builds a lot (though does not > fully do so) > at the cost of some compiler performance (1-2%). See #12935 for the > details > > * GHC now accepts type syntax in expressions as part of [GHC Proposal > #281]. > > * ... and many more > > A full accounting of changes can be found in the [release notes][]. > As always, GHC's release status, including planned future releases, can > be found on the GHC Wiki [status][]. > > We would like to thank GitHub, IOG, the Zw3rk stake pool, > Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the 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. > > > [release notes]: > https://downloads.haskell.org/ghc/9.12.1-alpha1/docs/users_guide/9.12.1-notes.html > [status]: https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC-status > [downloads.haskell.org]: https://downloads.haskell.org/ghc/9.12.1-alpha1 > [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new > [OrPatterns]: > https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0522-or-patterns.rst > [MultilineStrings]: > https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0569-multiline-strings.rst > [GHC Proposal #281]: > https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0281-visible-forall.rst > [NamedDefaults]: > https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0409-exportable-named-default.rst > > > Cheers, > Zubin > _______________________________________________ > 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 george.colpitts at gmail.com Wed Oct 16 23:44:12 2024 From: george.colpitts at gmail.com (George Colpitts) Date: Wed, 16 Oct 2024 20:44:12 -0300 Subject: [Haskell-cafe] [ANNOUNCE] GHC 9.12.1-alpha1 is now available In-Reply-To: <42D560B6-8769-4004-AFB0-FD36C1B8E828@gmail.com> References: <42D560B6-8769-4004-AFB0-FD36C1B8E828@gmail.com> Message-ID: Thanks Vanessa, it seems you had the same workaround: " remove and reinstall XCode command-line tools." Zubin What OS were the install tests run on? I'm running on 15.0.1. I think 15.1 is coming at the end of the month around the same time as alpha 2, hopefully 15.1 will be accompanied by a new version of XCode command-line tools that resolves these issues. On Wed, Oct 16, 2024 at 7:58 PM Vanessa McHale wrote: > I encountered something similar, Apple had been majorly slacking. > > [image: 89166504e40f4869ea825dd70048017861ec8578.png] > > Cabal can't find C++ headers for digest/text on Mac (Sequoia) > > discourse.haskell.org > > > > > > On Oct 16, 2024, at 3:53 PM, George Colpitts > wrote: > >  > It worked for me on my M2 mac but only after uninstalling and reinstalling > Command Line Tools. > > Hopefully the problem I had was unique to me. I got an error when I ran > ./configure on my M2 mac: > > checking C++ standard library flavour... actest.cpp:1:10: fatal error: > 'iostream' file not found > 1 | #include > | ^~~~~~~~~~ > 1 error generated. > configure: error: Failed to compile test program > > Following is the complete output I got > > checking for opt-17... no > checking for opt-17.0... no > checking for opt17... no > checking for opt-16... no > checking for opt-16.0... no > checking for opt16... no > checking for opt-15... no > checking for opt-15.0... no > checking for opt15... no > checking for opt-14... no > checking for opt-14.0... no > checking for opt14... no > checking for opt-13... no > checking for opt-13.0... no > checking for opt13... no > checking for opt... opt > checking opt version (18.1.8) is between 13 and 20... yes > checking for clang-19... no > checking for clang-19.0... no > checking for clang19... no > checking for clang-18... clang-18 > checking clang-18 version (18.1.8) is between 13 and 20... yes > configure: $CC is not gcc; assuming it's a reasonably new C compiler > checking whether CC supports -no-pie... no > checking whether CC supports flags passed by GHC when compiling via C... > yes > checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and > CPPFLAGS... done > checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, > CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done > checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, > CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done > checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, > CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done > checking whether ld64 requires -no_fixup_chains... yes > checking whether ld64 requires -no_fixup_chains... yes > checking whether ld64 requires -no_fixup_chains... yes > checking whether ld64 requires -no_fixup_chains... yes > checking whether the linker requires -no_warn_duplicate_libraries... yes > checking whether the linker requires -no_warn_duplicate_libraries... yes > checking whether the linker requires -no_warn_duplicate_libraries... yes > checking whether ld supports response files... yes > checking C++ standard library flavour... actest.cpp:1:10: fatal error: > 'iostream' file not found > 1 | #include > | ^~~~~~~~~~ > 1 error generated. > configure: error: Failed to compile test program > > On Wed, Oct 16, 2024 at 8:51 AM Zubin Duggal wrote: > >> The GHC developers are very pleased to announce the availability >> of the first alpha release of GHC 9.12.1. Binary distributions, source >> distributions, and documentation are available at [downloads.haskell.org >> ][]. >> >> >> We hope to have this release available via ghcup shortly. >> >> GHC 9.12 will bring a number of new features and improvements, including: >> >> * The new language extension [OrPatterns] allowing you to combine >> multiple >> pattern clauses into one. >> >> * The [MultilineStrings] language extension to allow you to more easily >> write >> strings spanning multiple lines in your source code. >> >> * Improvements to the OverloadedRecordDot extension, allowing the >> built-in >> `HasField` class to be used for records with fields of non lifted >> representations. >> >> * The [NamedDefaults] language extension has been introduced allowing >> you to >> define defaults for typeclasses other than `Num`. >> >> * More deterministic object code output, controlled by the >> `-fobject-determinism` >> flag, which improves determinism of builds a lot (though does not >> fully do so) >> at the cost of some compiler performance (1-2%). See #12935 for the >> details >> >> * GHC now accepts type syntax in expressions as part of [GHC Proposal >> #281]. >> >> * ... and many more >> >> A full accounting of changes can be found in the [release notes][]. >> As always, GHC's release status, including planned future releases, can >> be found on the GHC Wiki [status][]. >> >> We would like to thank GitHub, IOG, the Zw3rk stake pool, >> Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the 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. >> >> >> [release notes]: >> https://downloads.haskell.org/ghc/9.12.1-alpha1/docs/users_guide/9.12.1-notes.html >> [status]: https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC-status >> [downloads.haskell.org]: https://downloads.haskell.org/ghc/9.12.1-alpha1 >> [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new >> [OrPatterns]: >> https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0522-or-patterns.rst >> [MultilineStrings]: >> https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0569-multiline-strings.rst >> [GHC Proposal #281]: >> https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0281-visible-forall.rst >> [NamedDefaults]: >> https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0409-exportable-named-default.rst >> >> >> Cheers, >> Zubin >> _______________________________________________ >> ghc-devs mailing list >> ghc-devs at haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >> > _______________________________________________ > Haskell-Cafe mailing list > To (un)subscribe, modify options or view archives go to: > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe > Only members subscribed via the mailman list are allowed to post. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 89166504e40f4869ea825dd70048017861ec8578.png Type: image/png Size: 2738 bytes Desc: not available URL: From ben at well-typed.com Sun Oct 20 16:35:00 2024 From: ben at well-typed.com (Ben Gamari) Date: Sun, 20 Oct 2024 12:35:00 -0400 Subject: [ANNOUNCE] GHC 9.8.3 is now available Message-ID: <87bjzed972.fsf@smart-cactus.org> The GHC developers are happy to announce the availability of GHC 9.8.3. Binary distributions, source distributions, and documentation are available on the [release] page. This release is primarily a bugfix release the 9.8 series. These include: * Significantly improve performance of code loading via dynamic linking (#23415) * Fix a variety of miscompilations involving sub-word-size FFI arguments (#25018, #24314) * Fix a rare miscompilation by the x86 native code generator (#24507) * Improve runtime performance of some applications of `runRW#` (#25055) * Reduce fragmentation when using the non-moving garbage collector (#23340) * Fix source links in Haddock's hyperlinked sources output (#24086) A full accounting of changes can be found in the [release notes]. 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! - Ben [release]: https://www.haskell.org/ghc/download_ghc_9_8_3.html [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new [release notes]: https://downloads.haskell.org/~ghc/9.8.3/docs/users_guide/9.8.3-notes.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 487 bytes Desc: not available URL: