Re: [ANNOUNCE] GHC 9.12.1-alpha1 is now available
George Colpitts <[email protected]> Wed, 16 Oct 2024 16:52:44 -0300
| Newsgroups | gmane.comp.lang.haskell.cafe,gmane.comp.lang.haskell.glasgow.user,gmane.comp.lang.haskell.ghc.devel |
|---|---|
| Message-ID | <CAB-d4A5_XEQ498W56qNUg7c_Kkwq_M5VRvj9emTx33WuLd64Xg@mail.gmail.com> |
--===============8980438569057246962==
Content-Type: multipart/alternative; boundary="000000000000faf3a406249d6ba9"
--000000000000faf3a406249d6ba9
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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... ye=
s
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=E2=80=AFAM Zubin Duggal <[email protected]>=
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-n=
otes.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
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
--000000000000faf3a406249d6ba9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:times ne=
w roman,serif;font-size:large">It worked for me on my M2 mac but only after=
uninstalling and reinstalling Command Line Tools.=C2=A0</div><div class=3D=
"gmail_default" style=3D"font-family:times new roman,serif;font-size:large"=
><br></div><div class=3D"gmail_default" style=3D"font-family:times new roma=
n,serif;font-size:large">Hopefully the problem I had was unique to=C2=A0me.=
I got an error when I ran=C2=A0 ./configure on my M2 mac:</div><div class=
=3D"gmail_default" style=3D"font-family:times new roman,serif;font-size:lar=
ge"><br></div><div class=3D"gmail_default" style=3D"font-family:times new r=
oman,serif;font-size:large">checking C++ standard library flavour... actest=
.cpp:1:10: fatal error: 'iostream' file not found<br>=C2=A0 =C2=A0 =
1 | #include <iostream><br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0^~~~~~~~~~<br>1 error generated.<br>configure: error: Fail=
ed to compile test program<br></div><div class=3D"gmail_default" style=3D"f=
ont-family:times new roman,serif;font-size:large"><br></div><div class=3D"g=
mail_default" style=3D"font-family:times new roman,serif;font-size:large">F=
ollowing is the complete output I got=C2=A0</div><div class=3D"gmail_defaul=
t" style=3D"font-family:times new roman,serif;font-size:large"><br></div><d=
iv class=3D"gmail_default" style=3D"font-family:times new roman,serif;font-=
size:large">checking for opt-17... no<br>checking for opt-17.0... no<br>che=
cking for opt17... no<br>checking for opt-16... no<br>checking for opt-16.0=
... no<br>checking for opt16... no<br>checking for opt-15... no<br>checking=
for opt-15.0... no<br>checking for opt15... no<br>checking for opt-14... n=
o<br>checking for opt-14.0... no<br>checking for opt14... no<br>checking fo=
r opt-13... no<br>checking for opt-13.0... no<br>checking for opt13... no<b=
r>checking for opt... opt<br>checking opt version (18.1.8) is between 13 an=
d 20... yes<br>checking for clang-19... no<br>checking for clang-19.0... no=
<br>checking for clang19... no<br>checking for clang-18... clang-18<br>chec=
king clang-18 version (18.1.8) is between 13 and 20... yes<br>configure: $C=
C is not gcc; assuming it's a reasonably new C compiler<br>checking whe=
ther CC supports -no-pie... no<br>checking whether CC supports flags passed=
by GHC when compiling via C... yes<br>checking Setting up CFLAGS, LDFLAGS,=
IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done<br>checking Setting up CONF_CC=
_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and C=
ONF_CPP_OPTS_STAGE0... done<br>checking Setting up CONF_CC_OPTS_STAGE1, CON=
F_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAG=
E1... done<br>checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS=
_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done<br>che=
cking whether ld64 requires -no_fixup_chains... yes<br>checking whether ld6=
4 requires -no_fixup_chains... yes<br>checking whether ld64 requires -no_fi=
xup_chains... yes<br>checking whether ld64 requires -no_fixup_chains... yes=
<br>checking whether the linker requires -no_warn_duplicate_libraries... ye=
s<br>checking whether the linker requires -no_warn_duplicate_libraries... y=
es<br>checking whether the linker requires -no_warn_duplicate_libraries... =
yes<br>checking whether ld supports response files... yes<br>checking C++ s=
tandard library flavour... actest.cpp:1:10: fatal error: 'iostream'=
file not found<br>=C2=A0 =C2=A0 1 | #include <iostream><br>=C2=A0 =
=C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~<br>1 error gen=
erated.<br>configure: error: Failed to compile test program<br></div></div>=
<br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed=
, Oct 16, 2024 at 8:51=E2=80=AFAM Zubin Duggal <<a href=3D"mailto:zubin@=
well-typed.com">[email protected]</a>> wrote:<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
rgb(204,204,204);padding-left:1ex">The GHC developers are very pleased to =
announce the availability<br>
of the first alpha release of GHC 9.12.1. Binary distributions, source<br>
distributions, and documentation are available at [<a href=3D"http://downlo=
ads.haskell.org" rel=3D"noreferrer" target=3D"_blank">downloads.haskell.org=
</a>][].<br>
<br>
<br>
We hope to have this release available via ghcup shortly.<br>
<br>
GHC 9.12 will bring a number of new features and improvements, including:<b=
r>
<br>
=C2=A0 * The new language extension [OrPatterns] allowing you to combine mu=
ltiple<br>
=C2=A0 =C2=A0 pattern clauses into one.<br>
<br>
=C2=A0 * The [MultilineStrings] language extension to allow you to more eas=
ily write<br>
=C2=A0 =C2=A0 strings spanning multiple lines in your source code.<br>
<br>
=C2=A0 * Improvements to the OverloadedRecordDot extension, allowing the bu=
ilt-in<br>
=C2=A0 =C2=A0 `HasField` class to be used for records with fields of non li=
fted representations.<br>
<br>
=C2=A0 * The [NamedDefaults] language extension has been introduced allowin=
g you to<br>
=C2=A0 =C2=A0 define defaults for typeclasses other than `Num`.<br>
<br>
=C2=A0 * More deterministic object code output, controlled by the `-fobject=
-determinism`<br>
=C2=A0 =C2=A0 flag, which improves determinism of builds a lot (though does=
not fully do so)<br>
=C2=A0 =C2=A0 at the cost of some compiler performance (1-2%). See #12935 f=
or the details<br>
<br>
=C2=A0 * GHC now accepts type syntax in expressions as part of [GHC Proposa=
l #281].<br>
<br>
=C2=A0 * ... and many more<br>
<br>
A full accounting of changes can be found in the [release notes][].<br>
As always, GHC's release status, including planned future releases, can=
<br>
be found on the GHC Wiki [status][].<br>
<br>
We would like to thank GitHub, IOG, the Zw3rk stake pool,<br>
Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the Haskell<br>
Foundation, and other anonymous contributors whose on-going financial<br>
and in-kind support has facilitated GHC maintenance and release<br>
management over the years. Finally, this release would not have been<br>
possible without the hundreds of open-source contributors whose work<br>
comprise this release.<br>
<br>
As always, do give this release a try and open a [ticket][] if you see<br>
anything amiss.<br>
<br>
<br>
[release notes]: <a href=3D"https://downloads.haskell.org/ghc/9.12.1-alpha1=
/docs/users_guide/9.12.1-notes.html" rel=3D"noreferrer" target=3D"_blank">h=
ttps://downloads.haskell.org/ghc/9.12.1-alpha1/docs/users_guide/9.12.1-note=
s.html</a><br>
[status]: <a href=3D"https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC-status"=
rel=3D"noreferrer" target=3D"_blank">https://gitlab.haskell.org/ghc/ghc/-/=
wikis/GHC-status</a><br>
[<a href=3D"http://downloads.haskell.org" rel=3D"noreferrer" target=3D"_bla=
nk">downloads.haskell.org</a>]: <a href=3D"https://downloads.haskell.org/gh=
c/9.12.1-alpha1" rel=3D"noreferrer" target=3D"_blank">https://downloads.has=
kell.org/ghc/9.12.1-alpha1</a><br>
[ticket]: <a href=3D"https://gitlab.haskell.org/ghc/ghc/-/issues/new" rel=
=3D"noreferrer" target=3D"_blank">https://gitlab.haskell.org/ghc/ghc/-/issu=
es/new</a><br>
[OrPatterns]: <a href=3D"https://github.com/ghc-proposals/ghc-proposals/blo=
b/master/proposals/0522-or-patterns.rst" rel=3D"noreferrer" target=3D"_blan=
k">https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/052=
2-or-patterns.rst</a><br>
[MultilineStrings]: <a href=3D"https://github.com/ghc-proposals/ghc-proposa=
ls/blob/master/proposals/0569-multiline-strings.rst" rel=3D"noreferrer" tar=
get=3D"_blank">https://github.com/ghc-proposals/ghc-proposals/blob/master/p=
roposals/0569-multiline-strings.rst</a><br>
[GHC Proposal #281]: <a href=3D"https://github.com/ghc-proposals/ghc-propos=
als/blob/master/proposals/0281-visible-forall.rst" rel=3D"noreferrer" targe=
t=3D"_blank">https://github.com/ghc-proposals/ghc-proposals/blob/master/pro=
posals/0281-visible-forall.rst</a><br>
[NamedDefaults]: <a href=3D"https://github.com/ghc-proposals/ghc-proposals/=
blob/master/proposals/0409-exportable-named-default.rst" rel=3D"noreferrer"=
target=3D"_blank">https://github.com/ghc-proposals/ghc-proposals/blob/mast=
er/proposals/0409-exportable-named-default.rst</a><br>
<br>
<br>
Cheers,<br>
Zubin<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">ghc-devs@haskell.=
org</a><br>
<a href=3D"http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel=
=3D"noreferrer" target=3D"_blank">http://mail.haskell.org/cgi-bin/mailman/l=
istinfo/ghc-devs</a><br>
</blockquote></div>
--000000000000faf3a406249d6ba9--
--===============8980438569057246962==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSGFza2VsbC1D
YWZlIG1haWxpbmcgbGlzdApUbyAodW4pc3Vic2NyaWJlLCBtb2RpZnkgb3B0aW9ucyBvciB2aWV3
IGFyY2hpdmVzIGdvIHRvOgpodHRwOi8vbWFpbC5oYXNrZWxsLm9yZy9jZ2ktYmluL21haWxtYW4v
bGlzdGluZm8vaGFza2VsbC1jYWZlCk9ubHkgbWVtYmVycyBzdWJzY3JpYmVkIHZpYSB0aGUgbWFp
bG1hbiBsaXN0IGFyZSBhbGxvd2VkIHRvIHBvc3Qu
--===============8980438569057246962==--