[Haskell-cafe] [ANNOUNCE] GHC 9.12.1-alpha1 is now available
George Colpitts
george.colpitts at gmail.com
Wed Oct 16 23:44:12 UTC 2024
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 <vamchale at gmail.com> 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)
> <https://discourse.haskell.org/t/cabal-cant-find-c-headers-for-digest-text-on-mac-sequoia/10422>
> discourse.haskell.org
> <https://discourse.haskell.org/t/cabal-cant-find-c-headers-for-digest-text-on-mac-sequoia/10422>
>
> <https://discourse.haskell.org/t/cabal-cant-find-c-headers-for-digest-text-on-mac-sequoia/10422>
>
>
> On Oct 16, 2024, at 3:53 PM, George Colpitts <george.colpitts at gmail.com>
> 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 <iostream>
> | ^~~~~~~~~~
> 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 <iostream>
> | ^~~~~~~~~~
> 1 error generated.
> configure: error: Failed to compile test program
>
> On Wed, Oct 16, 2024 at 8:51 AM Zubin Duggal <zubin at well-typed.com> 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: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20241016/55aac54c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 89166504e40f4869ea825dd70048017861ec8578.png
Type: image/png
Size: 2738 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20241016/55aac54c/attachment.png>
More information about the Glasgow-haskell-users
mailing list