Skip to content

Commit 66981c0

Browse files
committed
Re #6720 Elaborate on statically-linked Linux executables
Also makes other minor changes for consistency of terminology.
1 parent 00125cf commit 66981c0

File tree

1 file changed

+66
-60
lines changed

1 file changed

+66
-60
lines changed

ChangeLog.md

Lines changed: 66 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@ Bug fixes:
342342
Release notes:
343343

344344
* Further to the release notes for Stack 2.3.1, the `-static` suffix has been
345-
removed from the statically linked Linux/x86_64 binaries.
346-
* The binaries for Linux/Aarch64 are now statically linked.
347-
* Binaries are now provided for macOS/AArch64.
345+
removed from the statically-linked Linux/x86_64 executables.
346+
* The executables for Linux/Aarch64 are now statically-linked.
347+
* Executables are now provided for macOS/AArch64.
348348

349349
**Changes since v2.11.1:**
350350

@@ -566,11 +566,11 @@ Release notes:
566566

567567
* After an upgrade from an earlier version of Stack, on first use only,
568568
Stack 2.9.1 may warn that it had trouble loading the CompilerPaths cache.
569-
* The support from the Stack team for binary releases now includes Linux/AArch64
570-
and is limited to:
569+
* The support from the Stack team for executable releases now includes
570+
Linux/AArch64 and is limited to:
571571

572-
* Linux 64-bit/x86_64 (statically linked)
573-
* Linux AArch64 (dynamically linked)
572+
* Linux 64-bit/x86_64 (statically-linked)
573+
* Linux AArch64 (dynamically-linked)
574574
* macOS x86_64
575575
* Windows 64-bit/x86_64
576576

@@ -645,7 +645,7 @@ Behavior changes:
645645

646646
Other enhancements:
647647

648-
* `stack setup` supports installing GHC for macOS aarch64 (M1)
648+
* `stack setup` supports installing GHC for macOS/AArch64 (M1)
649649
* `stack upload` supports authentication with a Hackage API key (via
650650
`HACKAGE_KEY` environment variable).
651651

@@ -815,26 +815,27 @@ Bug fixes:
815815

816816
Release notes:
817817

818-
* We have reduced the number of platforms that we support with binary releases.
819-
The reason behind this is that we've been slowed down in our release process
820-
until now with issues trying to build binaries for less common platforms. In
821-
order to make sure we can address issues more quickly (like supporting new GHC
822-
versions), we're limiting support from the Stack team to:
818+
* We have reduced the number of platforms that we support with executable
819+
releases. The reason behind this is that we've been slowed down in our release
820+
process until now with issues trying to build executables for less common
821+
platforms. In order to make sure we can address issues more quickly (like
822+
supporting new GHC versions), we're limiting support from the Stack team to:
823823

824-
* Linux 64-bit/x86_64 (statically linked)
824+
* Linux 64-bit/x86_64 (statically-linked)
825825
* macOS x86_64
826826
* Windows 64-bit/x86_64
827827

828-
If others want to provide additional binaries, we will definitely be happy for
829-
the support. But since our CI system is currently able to produce these three
830-
bindists only, that's what we will be providing with the next release.
828+
If others want to provide additional executables, we will definitely be happy
829+
for the support. But since our CI system is currently able to produce these
830+
three executables only, that's what we will be providing with the next
831+
release.
831832

832-
* Since we no longer have dynamically linked Linux binaries, we are removing the
833-
`-static` suffix from the static Linux/x86_64 binaries. If you have scripts to
834-
download the latest stable Linux/x86_64 binary, update them to use
835-
`linux-x86_64` instead of `linux-x86_64-static` (if you are already using the
836-
former, nothing needs to change). For this release, both are supported, but
837-
the next release will no longer have the `-static` variant.
833+
* Since we no longer have dynamically-linked Linux executables, we are removing
834+
the `-static` suffix from the static Linux/x86_64 executables. If you have
835+
scripts to download the latest stable Linux/x86_64 executable, update them to
836+
use `linux-x86_64` instead of `linux-x86_64-static` (if you are already using
837+
the former, nothing needs to change). For this release, both are supported,
838+
but the next release will no longer have the `-static` variant.
838839

839840
* We are also deprecating the download links at https://stackage.org/stack. See
840841
this page for the current installation instructions:
@@ -1308,7 +1309,7 @@ Bug fixes:
13081309
* Help text for the `templates` subcommand now reflects behaviour in Stack 1.9
13091310
— that it downloads and shows a help file, rather than listing available
13101311
templates.
1311-
* Fix detection of aarch64 platform (this broke when we upgraded to a newer
1312+
* Fix detection of AArch64 platform (this broke when we upgraded to a newer
13121313
Cabal version).
13131314
* Docker: fix detecting and pulling missing images with `--docker-auto-pull`.
13141315
See
@@ -1362,7 +1363,7 @@ Hackage-only release with no user facing changes.
13621363

13631364
Release notes:
13641365

1365-
* Statically linked Linux bindists are back again, thanks to
1366+
* Statically-linked Linux executables are back again, thanks to
13661367
[@nh2](https://github.com/nh2).
13671368
* We will be deleting the Ubuntu, Debian, CentOS, Fedora, and Arch package repos
13681369
from `download.fpcomplete.com` soon. These have been deprecated for over a
@@ -1530,10 +1531,10 @@ Bug fixes:
15301531

15311532
Release notes:
15321533

1533-
* aarch64 (64-bit ARM) bindists are now available for the first time.
1534-
* Statically linked Linux bindists are no longer available, due to difficulty
1534+
* AArch64 (64-bit ARM) executables are now available for the first time.
1535+
* Statically-linked Linux executables are no longer available, due to difficulty
15351536
with GHC 8.2.2 on Alpine Linux.
1536-
* 32-bit Linux GMP4 bindists for CentOS 6 are no longer available, since
1537+
* 32-bit Linux GMP4 executables for CentOS 6 are no longer available, since
15371538
GHC 8.2.2 is no longer being built for that platform.
15381539

15391540
Major changes:
@@ -1560,8 +1561,8 @@ Other enhancements:
15601561
for details.
15611562
* Specify User-Agent HTTP request header on every HTTP request.
15621563
See [#3628](https://github.com/commercialhaskell/stack/issues/3628) for details.
1563-
* `stack setup` looks for GHC bindists and installations by any OS key
1564-
that is compatible (rather than only checking a single one). This is
1564+
* `stack setup` looks for GHC binary distributions and installations by any OS
1565+
key that is compatible (rather than only checking a single one). This is
15651566
relevant on Linux where different distributions may have different
15661567
combinations of libtinfo 5/6, ncurses 5/6, and gmp 4/5, and will allow
15671568
simplifying the setup-info metadata YAML for future GHC releases.
@@ -1673,7 +1674,8 @@ Enhancements:
16731674
cases where HTTP servers mistakenly set the transfer encoding to `gzip`. See
16741675
[#3647](https://github.com/commercialhaskell/stack/issues/3647).
16751676
* Links to docs.haskellstack.org ignore Stack version patchlevel.
1676-
* Downloading Docker-compatible `stack` binary ignores Stack version patchlevel.
1677+
* Downloading Docker-compatible `stack` executable ignores Stack version
1678+
patchlevel.
16771679

16781680
Bug fixes:
16791681

@@ -1828,8 +1830,8 @@ Other enhancements:
18281830
* Automatically run `autoreconf -i` as necessary when a `configure`
18291831
script is missing. See
18301832
[#3534](https://github.com/commercialhaskell/stack/issues/3534)
1831-
* GHC bindists can now be identified by their SHA256 checksum in addition to
1832-
their SHA1 checksum, allowing for more security in download.
1833+
* GHC binary distributions can now be identified by their SHA256 checksum in
1834+
addition to their SHA1 checksum, allowing for more security in download.
18331835
* For filesystem setup-info paths, it's no longer assumed that the
18341836
directory is writable, instead a temp dir is used. See
18351837
[#3188](https://github.com/commercialhaskell/stack/issues/3188).
@@ -2131,7 +2133,7 @@ Bug fixes:
21312133

21322134
* `stack config set` can now be used without a compiler installed
21332135
[#2852](https://github.com/commercialhaskell/stack/issues/2852).
2134-
* `get-stack.sh` now installs correct binary on ARM for generic linux and
2136+
* `get-stack.sh` now installs correct executable on ARM for generic Linux and
21352137
raspbian, closing
21362138
[#2856](https://github.com/commercialhaskell/stack/issues/2856).
21372139
* Correct the testing of whether a package database exists by checking
@@ -2150,17 +2152,15 @@ Bug fixes:
21502152

21512153
Release notes:
21522154

2153-
* For the _next_ Stack release after this one, we are planning
2154-
changes to our Linux releases, including dropping our Ubuntu,
2155-
Debian, CentOS, and Fedora package repositories and switching to
2156-
statically linked binaries. See
2155+
* For the _next_ Stack release after this one, we are planning changes to our
2156+
Linux releases, including dropping our Ubuntu, Debian, CentOS, and Fedora
2157+
package repositories and switching to statically-linked executables. See
21572158
[#2534](https://github.com/commercialhaskell/stack/issues/2534).
2158-
Note that upgrading without a package manager has gotten easier
2159-
with new binary upgrade support in `stack upgrade` (see the Major
2160-
Changes section below for more information). In addition, the
2161-
get.haskellstack.org script no longer installs from Ubuntu,
2162-
Debian, CentOS, or Fedora package repositories. Instead it places
2163-
a generic binary in /usr/local/bin.
2159+
Note that upgrading without a package manager has gotten easier with new
2160+
binary upgrade support in `stack upgrade` (see the Major Changes section below
2161+
for more information). In addition, the get.haskellstack.org script no longer
2162+
installs from Ubuntu, Debian, CentOS, or Fedora package repositories. Instead
2163+
it places a generic executable in /usr/local/bin.
21642164

21652165
Major changes:
21662166

@@ -2181,11 +2181,10 @@ Major changes:
21812181
because it should no longer be necessary. See
21822182
[#1364](https://github.com/commercialhaskell/stack/issues/1364)
21832183

2184-
* Stack is now capable of doing binary upgrades instead of always
2185-
recompiling a new version from source. Running `stack upgrade` will
2186-
now default to downloading a binary version of Stack from the most
2187-
recent release, if one is available. See `stack upgrade --help` for
2188-
more options.
2184+
* Stack is now capable of doing binary upgrades instead of always recompiling a
2185+
new version from source. Running `stack upgrade` will now default to
2186+
downloading a Stack executable from the most recent release, if one is
2187+
available. See `stack upgrade --help` for more options.
21892188
[#1238](https://github.com/commercialhaskell/stack/issues/1238)
21902189

21912190
Behavior changes:
@@ -2321,13 +2320,16 @@ Release notes:
23212320
[store#37](https://github.com/fpco/store/issues/37)). Please stay with
23222321
version 1.1.2 for now on those architectures. This will be rectified soon!
23232322

2324-
* We are now releasing a statically linked Stack binary for
2323+
* We are now releasing a statically-linked Stack executable for
23252324
[64-bit Linux](https://get.haskellstack.org/stable/linux-x86_64-static.tar.gz).
23262325
Please try it and let us know if you run into any trouble on your platform.
2326+
The executable is linked against a version of the GNU Multiple Precision
2327+
Arithmetic Library (GMP), which is licensed under the GNU Lesser General
2328+
Public License, Version 3, 29 June 2007 (LGPL).
23272329

23282330
* We are planning some changes to our Linux releases, including dropping our
23292331
Ubuntu, Debian, CentOS, and Fedora package repositories and switching to
2330-
statically linked binaries. We would value your feedback in
2332+
statically-linked executables. We would value your feedback in
23312333
[#2534](https://github.com/commercialhaskell/stack/issues/2534).
23322334

23332335
Major changes:
@@ -2348,9 +2350,10 @@ Behavior changes:
23482350
* Support -ferror-spans syntax in GHC error messages.
23492351
* Avoid unpacking ghc to `/tmp`
23502352
[#996](https://github.com/commercialhaskell/stack/issues/996)
2351-
* The Linux `gmp4` GHC bindist is no longer considered a full-fledged GHC
2352-
variant and can no longer be specified using the `ghc-variant` option,
2353-
and instead is treated more like a slightly different platform.
2353+
* The Linux `gmp4` GHC binary distribution is no longer considered a
2354+
full-fledged GHC variant and can no longer be specified using the
2355+
`ghc-variant` option, and instead is treated more like a slightly different
2356+
platform.
23542357

23552358
Other enhancements:
23562359

@@ -2377,9 +2380,11 @@ Other enhancements:
23772380
* `stack setup` no longer unpacks to the system temp dir on posix systems.
23782381
[#996](https://github.com/commercialhaskell/stack/issues/996)
23792382
* `stack setup` detects libtinfo6 and ncurses6 and can download alternate GHC
2380-
bindists [#257](https://github.com/commercialhaskell/stack/issues/257)
2383+
binary distributions
2384+
[#257](https://github.com/commercialhaskell/stack/issues/257)
23812385
[#2302](https://github.com/commercialhaskell/stack/issues/2302).
2382-
* `stack setup` detects Linux ARMv7 downloads appropriate GHC bindist
2386+
* `stack setup` detects Linux ARMv7 downloads appropriate GHC binary
2387+
distribution
23832388
[#2103](https://github.com/commercialhaskell/stack/issues/2103)
23842389
* Custom `stack` binaries list dependency versions in output for `--version`.
23852390
See [#2222](https://github.com/commercialhaskell/stack/issues/2222)
@@ -3123,8 +3128,8 @@ Major changes:
31233128
* `setup-info` in `stack.yaml`, to specify where to download custom binary
31243129
distributions (also `--ghc-bindist` command-line option)
31253130
* Note: On systems with libgmp4 (aka `libgmp.so.3`), such as CentOS 6, you
3126-
may need to re-run `stack setup` due to the centos6 GHC bindist being
3127-
treated like a variant
3131+
may need to re-run `stack setup` due to the centos6 GHC binary
3132+
distribution being treated like a variant
31283133
* A new `--pvp-bounds` flag to the sdist and upload commands allows automatic
31293134
adding of PVP upper and/or lower bounds to your dependencies
31303135

@@ -3322,8 +3327,9 @@ Bug fixes:
33223327
[#452](https://github.com/commercialhaskell/stack/issues/452)
33233328
* Don't copy over executables excluded by component selection
33243329
[#605](https://github.com/commercialhaskell/stack/issues/605)
3325-
* Fix: Stack fails on Windows with git package in `stack.yaml` and no git binary
3326-
on path [#712](https://github.com/commercialhaskell/stack/issues/712)
3330+
* Fix: Stack fails on Windows with git package in `stack.yaml` and no git
3331+
executable on the PATH
3332+
[#712](https://github.com/commercialhaskell/stack/issues/712)
33273333
* Fixed GHCi issue: Specifying explicit package versions (#678)
33283334
* Fixed GHCi issue: Specifying -odir and -hidir as .stack-work/odir (#529)
33293335
* Fixed GHCi issue: Specifying A instead of A.ext for modules (#498)

0 commit comments

Comments
 (0)