GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2024-02-27T13:56:51Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/12720Remove ghcii.sh2024-02-27T13:56:51ZTamar ChristinaRemove ghcii.shOn Windows we have an extra script `ghcii.sh` that is recommended when we run in a console that does not use `conhost`. e.g mintty from msys2 or the cygwin shell.
This is because the sigINT signal is being swallowed by these consoles.
...On Windows we have an extra script `ghcii.sh` that is recommended when we run in a console that does not use `conhost`. e.g mintty from msys2 or the cygwin shell.
This is because the sigINT signal is being swallowed by these consoles.
I believe we can work around this by listening to Window messages as well. These consoles do their own drawings, which means they load `gdi32.dll`.
Which means they have a message pump so should be receiving Window events. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686016(v=vs.85).aspx
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 8.0.1 |
| Type | Task |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Remoce ghcii.sh","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.0.1","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Task","description":"On Windows we have an extra script `ghcii.sh` that is recommended when we run in a console that does not use `conhost`. e.g mintty from msys2 or the cygwin shell.\r\n\r\nThis is because the sigINT signal is being swallowed by these consoles.\r\n\r\nI believe we can work around this by listening to Window messages as well. These consoles do their own drawings, which means they load `gdi32.dll`.\r\n\r\nWhich means they have a message pump so should be receiving Window events. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686016(v=vs.85).aspx","type_of_failure":"OtherFailure","blocking":[]} -->https://gitlab.haskell.org/ghc/ghc/-/issues/13412Centralize the definition for GHC's libdir on Windows2019-07-07T18:21:59ZElieuxCentralize the definition for GHC's libdir on WindowsThe location of GHC libraries on Windows is currently something like `$bindir/../lib` (because the whole distribution can be put anywhere on the filesystem, there are no absolute paths), but this information is hard-coded in multiple pla...The location of GHC libraries on Windows is currently something like `$bindir/../lib` (because the whole distribution can be put anywhere on the filesystem, there are no absolute paths), but this information is hard-coded in multiple places instead of being defined in one place. To be clear, I mean only the relative path (`../lib`); the base still needs to be determined at runtime.
I assume that tools that can rely on `ghc --info` (or equivalent) already do that. If there are any that don't, they should be fixed regardless. The build system, ghc, ghc-cabal, ghc-pkg, hsc2hs, haddock... should all be able to get the relative path from `configure`'s output.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 8.0.2 |
| Type | Task |
| TypeOfFailure | OtherFailure |
| Priority | low |
| Resolution | Unresolved |
| Component | None |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | Phyx- |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Centralize the definition for GHC's libdir on Windows","status":"New","operating_system":"","component":"None","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.0.2","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":["Phyx-"],"type":"Task","description":"The location of GHC libraries on Windows is currently something like `$bindir/../lib` (because the whole distribution can be put anywhere on the filesystem, there are no absolute paths), but this information is hard-coded in multiple places instead of being defined in one place. To be clear, I mean only the relative path (`../lib`); the base still needs to be determined at runtime.\r\n\r\nI assume that tools that can rely on `ghc --info` (or equivalent) already do that. If there are any that don't, they should be fixed regardless. The build system, ghc, ghc-cabal, ghc-pkg, hsc2hs, haddock... should all be able to get the relative path from `configure`'s output.","type_of_failure":"OtherFailure","blocking":[]} -->https://gitlab.haskell.org/ghc/ghc/-/issues/14491Windows build with "--enable-distro-toolchain" fails with "make install"2023-04-10T00:20:54ZCheng ShaoWindows build with "--enable-distro-toolchain" fails with "make install"I'm building ghc (commit 606bbc310654fcf56fe068905bb1aca30d2f0a8a) under mingw64 shell. I ran the configure script with "--enable-distro-toolchain", and "make -j4" succeeds, yet "make install" yields the following error:
```
===--- buil...I'm building ghc (commit 606bbc310654fcf56fe068905bb1aca30d2f0a8a) under mingw64 shell. I ran the configure script with "--enable-distro-toolchain", and "make -j4" succeeds, yet "make install" yields the following error:
```
===--- building phase 0
make --no-print-directory -f ghc.mk phase=0 phase_0_builds
make[1]: Nothing to be done for 'phase_0_builds'.
===--- building phase 1
make --no-print-directory -f ghc.mk phase=1 phase_1_builds
make[1]: Nothing to be done for 'phase_1_builds'.
===--- building final phase
make --no-print-directory -f ghc.mk phase=final install
/usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin"
"rm" -f "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh"
echo "#!/bin/sh" >> /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh
echo 'exec "$(dirname "$0")"/ghc --interactive "$@"' >> /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh
chmod +x /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh
cp /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii-8.3.20171120.sh
chmod +x /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii-8.3.20171120.sh
/usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include"
/usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/." && /usr/bin/install -c -m 644 includes/./*.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/./" && /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts" && /usr/bin/install -c -m 644 includes/rts/*.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/" && /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/prof" && /usr/bin/install -c -m 644 includes/rts/prof/*.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/prof/" && /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/storage" && /usr/bin/install -c -m 644 includes/rts/storage/*.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/storage/" && /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/stg" && /usr/bin/install -c -m 644 includes/stg/*.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/stg/" && true
/usr/bin/install -c -m 644 includes/ghcautoconf.h includes/ghcplatform.h includes/ghcversion.h includes/dist-derivedconstants/header/DerivedConstants.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/"
/usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include"
/usr/bin/install -c -m 644 rts/dist/build/ffi.h rts/dist/build/ffitarget.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/"
/usr/bin/install -c -m 644 utils/hsc2hs/template-hsc.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib"
"cp" driver/ghci/dist/build/tmp/ghci.exe driver/ghci/dist/build/tmp/ghci-8.3.20171120.exe
/usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin"
for i in utils/hp2ps/dist-install/build/tmp/hp2ps.exe driver/ghci/dist/build/tmp/ghci.exe driver/ghci/dist/build/tmp/ghci-8.3.20171120.exe driver/ghc/dist/build/tmp/ghc-8.3.20171120.exe driver/haddock/dist/build/tmp/haddock-8.3.20171120.exe utils/hsc2hs/dist-install/build/tmp/hsc2hs.exe utils/ghc-pkg/dist-install/build/tmp/ghc-pkg.exe utils/hpc/dist-install/build/tmp/hpc.exe utils/runghc/dist-install/build/tmp/runghc.exe ghc/stage2/build/tmp/ghc-stage2.exe; do \
/usr/bin/install -c -m 755 $i "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin" ; \
done
"cp" /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/runghc.exe /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/runhaskell.exe
"rm" -f "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghc.exe"
"mv" -f /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghc-stage2.exe /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghc.exe
make[1]: *** No rule to make target 'inplace/mingw', needed by 'install_mingw'. Stop.
make: *** [Makefile:127: install] Error 2
```
Is this a bug related to "--enable-distro-toolchain"? "inplace/mingw" rule should not exist here in the first place.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 8.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | #13792 |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Windows build with \"--enable-distro-toolchain\" fails with \"make install\"","status":"New","operating_system":"","component":"Compiler","related":[13792],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.3","keywords":["make"],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"I'm building ghc (commit 606bbc310654fcf56fe068905bb1aca30d2f0a8a) under mingw64 shell. I ran the configure script with \"--enable-distro-toolchain\", and \"make -j4\" succeeds, yet \"make install\" yields the following error:\r\n\r\n\r\n{{{\r\n===--- building phase 0\r\nmake --no-print-directory -f ghc.mk phase=0 phase_0_builds\r\nmake[1]: Nothing to be done for 'phase_0_builds'.\r\n===--- building phase 1\r\nmake --no-print-directory -f ghc.mk phase=1 phase_1_builds\r\nmake[1]: Nothing to be done for 'phase_1_builds'.\r\n===--- building final phase\r\nmake --no-print-directory -f ghc.mk phase=final install\r\n/usr/bin/install -c -m 755 -d \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin\"\r\n\"rm\" -f \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh\"\r\necho \"#!/bin/sh\" >> /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh\r\necho 'exec \"$(dirname \"$0\")\"/ghc --interactive \"$@\"' >> /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh\r\nchmod +x /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh\r\ncp /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii-8.3.20171120.sh\r\nchmod +x /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii-8.3.20171120.sh\r\n/usr/bin/install -c -m 755 -d \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include\"\r\n/usr/bin/install -c -m 755 -d \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/.\" && /usr/bin/install -c -m 644 includes/./*.h \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/./\" && /usr/bin/install -c -m 755 -d \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts\" && /usr/bin/install -c -m 644 includes/rts/*.h \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/\" && /usr/bin/install -c -m 755 -d \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/prof\" && /usr/bin/install -c -m 644 includes/rts/prof/*.h \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/prof/\" && /usr/bin/install -c -m 755 -d \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/storage\" && /usr/bin/install -c -m 644 includes/rts/storage/*.h \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/storage/\" && /usr/bin/install -c -m 755 -d \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/stg\" && /usr/bin/install -c -m 644 includes/stg/*.h \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/stg/\" && true\r\n/usr/bin/install -c -m 644 includes/ghcautoconf.h includes/ghcplatform.h includes/ghcversion.h includes/dist-derivedconstants/header/DerivedConstants.h \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/\"\r\n/usr/bin/install -c -m 755 -d \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include\"\r\n/usr/bin/install -c -m 644 rts/dist/build/ffi.h rts/dist/build/ffitarget.h \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/\"\r\n/usr/bin/install -c -m 644 utils/hsc2hs/template-hsc.h \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib\"\r\n\"cp\" driver/ghci/dist/build/tmp/ghci.exe driver/ghci/dist/build/tmp/ghci-8.3.20171120.exe\r\n/usr/bin/install -c -m 755 -d \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin\"\r\nfor i in utils/hp2ps/dist-install/build/tmp/hp2ps.exe driver/ghci/dist/build/tmp/ghci.exe driver/ghci/dist/build/tmp/ghci-8.3.20171120.exe driver/ghc/dist/build/tmp/ghc-8.3.20171120.exe driver/haddock/dist/build/tmp/haddock-8.3.20171120.exe utils/hsc2hs/dist-install/build/tmp/hsc2hs.exe utils/ghc-pkg/dist-install/build/tmp/ghc-pkg.exe utils/hpc/dist-install/build/tmp/hpc.exe utils/runghc/dist-install/build/tmp/runghc.exe ghc/stage2/build/tmp/ghc-stage2.exe; do \\\r\n /usr/bin/install -c -m 755 $i \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin\" ; \\\r\ndone\r\n\"cp\" /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/runghc.exe /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/runhaskell.exe\r\n\"rm\" -f \"/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghc.exe\"\r\n\"mv\" -f /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghc-stage2.exe /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghc.exe\r\nmake[1]: *** No rule to make target 'inplace/mingw', needed by 'install_mingw'. Stop.\r\nmake: *** [Makefile:127: install] Error 2\r\n}}}\r\n\r\nIs this a bug related to \"--enable-distro-toolchain\"? \"inplace/mingw\" rule should not exist here in the first place.","type_of_failure":"OtherFailure","blocking":[]} -->https://gitlab.haskell.org/ghc/ghc/-/issues/16107Update GCC compiler & friends2019-10-22T06:07:09ZPhilippeUpdate GCC compiler & friendsgcc used by ghc is now about 1.5 years old. It's going to take some time for a new GHC release as well. Would be good to update gcc too. Probably it's backwards compatible with old gcc so would be easy to patch.
https://github.com/ghc/g...gcc used by ghc is now about 1.5 years old. It's going to take some time for a new GHC release as well. Would be good to update gcc too. Probably it's backwards compatible with old gcc so would be easy to patch.
https://github.com/ghc/ghc/blob/f11f2521aff16edca150e6eed5102a3da7e4f59a/mk/get-win32-tarballs.sh\#L104-L114
source code also points to other tools of which some have newer versions.
Packages can be browsed here http://repo.msys2.org/mingw/x86_64/
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | -------------- |
| Version | 8.6.3 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Update GCC compiler & friends","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.6.3","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"FeatureRequest","description":"gcc used by ghc is now about 1.5 years old. It's going to take some time for a new GHC release as well. Would be good to update gcc too. Probably it's backwards compatible with old gcc so would be easy to patch.\r\n\r\nhttps://github.com/ghc/ghc/blob/f11f2521aff16edca150e6eed5102a3da7e4f59a/mk/get-win32-tarballs.sh#L104-L114\r\n\r\nsource code also points to other tools of which some have newer versions.\r\n\r\nPackages can be browsed here http://repo.msys2.org/mingw/x86_64/","type_of_failure":"OtherFailure","blocking":[]} -->8.10.1https://gitlab.haskell.org/ghc/ghc/-/issues/16398Missing documentation in Windows bindist tarball2019-09-12T22:55:30ZBen GamariMissing documentation in Windows bindist tarballTakenobu noticed the following omissions from the 8.6.4 bindist tarball:
> Perhaps you may know, but the following html documents are not included in
> the windows tarball \[1\]:
>
> - doc/html/index.html
> - doc/html/users_guide/index....Takenobu noticed the following omissions from the 8.6.4 bindist tarball:
> Perhaps you may know, but the following html documents are not included in
> the windows tarball \[1\]:
>
> - doc/html/index.html
> - doc/html/users_guide/index.html
> - doc/html/libraries/index.html
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------- |
| Version | 8.6.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | highest |
| Resolution | Unresolved |
| Component | Documentation |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Missing documentation in Windows bindist tarball","status":"New","operating_system":"","component":"Documentation","related":[],"milestone":"8.8.1","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.6.4","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"Takenobu noticed the following omissions from the 8.6.4 bindist tarball:\r\n\r\n> Perhaps you may know, but the following html documents are not included in\r\n> the windows tarball [1]:\r\n>\r\n> * doc/html/index.html\r\n> * doc/html/users_guide/index.html\r\n> * doc/html/libraries/index.html\r\n\r\n","type_of_failure":"OtherFailure","blocking":[]} -->8.8.1Ben GamariBen Gamarihttps://gitlab.haskell.org/ghc/ghc/-/issues/16407Non-versioned haddock.exe is not part of the Windows bindist tarball2019-07-07T18:00:13ZMoritz KieferNon-versioned haddock.exe is not part of the Windows bindist tarballThe GHC 8.6.3 Windows bindist tarball contained both `ghc-8.6.3/bin/haddock-8.6.3.exe` as well as `ghc-8.6.4/bin/haddock.exe`. However, the 8.6.4 tarball only contains the executable with a version suffix `ghc-8.6.4/bin/haddock-8.6.4.exe...The GHC 8.6.3 Windows bindist tarball contained both `ghc-8.6.3/bin/haddock-8.6.3.exe` as well as `ghc-8.6.4/bin/haddock.exe`. However, the 8.6.4 tarball only contains the executable with a version suffix `ghc-8.6.4/bin/haddock-8.6.4.exe`. This broke some users, e.g., the Shake CI https://ci.appveyor.com/project/ndmitchell/shake/builds/22909548\#L971 but also `rules_haskell` which assume the existence of that executable.
Assuming this change was not intentional, it would be great if we could get a bindist that contains the unversioned haddock.exe.
Not sure if this is related to #16398.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 8.6.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | high |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Non-versioned haddock.exe is not part of the Windows bindist tarball","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.6.4","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"The GHC 8.6.3 Windows bindist tarball contained both `ghc-8.6.3/bin/haddock-8.6.3.exe` as well as `ghc-8.6.4/bin/haddock.exe`. However, the 8.6.4 tarball only contains the executable with a version suffix `ghc-8.6.4/bin/haddock-8.6.4.exe`. This broke some users, e.g., the Shake CI https://ci.appveyor.com/project/ndmitchell/shake/builds/22909548#L971 but also `rules_haskell` which assume the existence of that executable.\r\n\r\nAssuming this change was not intentional, it would be great if we could get a bindist that contains the unversioned haddock.exe.\r\n\r\nNot sure if this is related to #16398.","type_of_failure":"OtherFailure","blocking":[]} -->8.6.5https://gitlab.haskell.org/ghc/ghc/-/issues/16445GHC 8.6.4 Haddocks don't have source links2019-04-26T09:23:13ZAlec TheriaultGHC 8.6.4 Haddocks don't have source linksUsually, binary distributions include Haddock documentation pages for all the bundled libraries with source links (the sources have historically been generated with `HsColour`, although with Hadrian binary dists we've moved to using Hadd...Usually, binary distributions include Haddock documentation pages for all the bundled libraries with source links (the sources have historically been generated with `HsColour`, although with Hadrian binary dists we've moved to using Haddock's own Hyperlinker backend). It looks like 8.6.4 bindists are missing the source links and files altogether:
```sh
$ l ~/.ghcup/ghc/8.6.4/share/doc/ghc-8.6.4/html/libraries/base-4.12.0.0/src
ls: /Users/atheriault/.ghcup/ghc/8.6.4/share/doc/ghc-8.6.4/html/libraries/base-4.12.0.0/src: No such file or directory
$ l ~/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries/base-4.12.0.0/src
total 21400
drwxr-xr-x 240 atheriault staff 8.0K Dec 14 08:30 .
drwxr-xr-x 231 atheriault staff 7.7K Dec 14 08:30 ..
-rw-r--r-- 1 atheriault staff 26K Dec 14 08:30 Control-Applicative.html
-rw-r--r-- 1 atheriault staff 68K Dec 14 08:30 Control-Arrow.html
-rw-r--r-- 1 atheriault staff 11K Dec 14 08:30 Control-Category.html
-rw-r--r-- 1 atheriault staff 19K Dec 14 08:30 Control-Concurrent-Chan.html
...
```8.6.5https://gitlab.haskell.org/ghc/ghc/-/issues/16464ghc-8.6.4-release tag fails to build on 64bit windows using default options.2019-03-22T22:02:13ZAndreas Klebingerghc-8.6.4-release tag fails to build on 64bit windows using default options.There seems to be some issue with the haddock submodule/executable.
I did the usual ./boot && ./configure && make
```
"/c/Users/Andi/AppData/Roaming/cabal/bin//happy" -agc --strict compiler/cmm/CmmParse.y -o compiler/stage2/build/C...There seems to be some issue with the haddock submodule/executable.
I did the usual ./boot && ./configure && make
```
"/c/Users/Andi/AppData/Roaming/cabal/bin//happy" -agc --strict compiler/cmm/CmmParse.y -o compiler/stage2/build/CmmParse.hs
"/c/Users/Andi/AppData/Roaming/cabal/bin//alex" -g --latin1 compiler/parser/Lexer.x -o compiler/stage2/build/Lexer.hs
sed -e 's|\\|/|g' -e 's| /$| \\|' -e "1s|\.o|\.o|" -e "1s|^|compiler/ghci/|" -e "1s|compiler/|compiler/stage2/build/|" -e "1s|stage2/build/stage2/build|stage2/build|g" -e "s|^E:/ghc_86_src/||gi" compiler/stage2/build/.depend-v-p.c_asm.bit >> compiler/stage2/build/.depend-v-p.c_asm.tmp && sed -e 's|\\|/|g' -e 's| /$| \\|' -e "1s|\.o|\.p_o|" -e "1s|^|compiler/ghci/|" -e "1s|compiler/|compiler/stage2/build/|" -e "1s|stage2/build/stage2/build|stage2/build|g" -e "s|^E:/ghc_86_src/||gi" compiler/stage2/build/.depend-v-p.c_asm.bit >> compiler/stage2/build/.depend-v-p.c_asm.tmp && true
"/c/Users/Andi/AppData/Roaming/cabal/bin//happy" -agc --strict compiler/parser/Parser.y -o compiler/stage2/build/Parser.hs
E:/ghc_86_src/inplace/mingw/bin/gcc.exe -E -DMAKING_GHC_BUILD_SYSTEM_DEPENDENCIES -fno-stack-protector -Wall -Icompiler/stage2/build/./autogen -Icompiler/. -Icompiler/parser -Icompiler/utils -Icompiler/../rts/dist/build -Icompiler/stage2 -Icompiler/stage2/build/. -Icompiler/stage2/build/parser -Icompiler/stage2/build/utils -Icompiler/stage2/build/../rts/dist/build -Icompiler/stage2/build/stage2 -DGHCI -I'E:\ghc_86_src\libraries\process\include' -I'E:\ghc_86_src\libraries\process/dist-install/build/include' -I'E:\ghc_86_src\libraries\process\dist-install\build\include' -I'E:\ghc_86_src\libraries\process\dist-install\build/dist-install/build/include' -I'E:\ghc_86_src\libraries\directory\.' -I'E:\ghc_86_src\libraries\directory\dist-install\build\.' -I'E:\ghc_86_src\libraries\time\lib/include' -I'E:\ghc_86_src\libraries\time\lib/dist-install/build/include' -I'E:\ghc_86_src\libraries\time\dist-install\build\lib/include' -I'E:\ghc_86_src\libraries\time\dist-install\build\lib/dist-install/build/include' -I'E:\ghc_86_src\libraries\containers\include' -I'E:\ghc_86_src\libraries\containers/dist-install/build/include' -I'E:\ghc_86_src\libraries\containers\dist-install\build\include' -I'E:\ghc_86_src\libraries\containers\dist-install\build/dist-install/build/include' -I'E:\ghc_86_src\libraries\Win32\include' -I'E:\ghc_86_src\libraries\Win32/dist-install/build/include' -I'E:\ghc_86_src\libraries\Win32\dist-install\build\include' -I'E:\ghc_86_src\libraries\Win32\dist-install\build/dist-install/build/include' -I'E:\ghc_86_src\libraries\bytestring\include' -I'E:\ghc_86_src\libraries\bytestring/dist-install/build/include' -I'E:\ghc_86_src\libraries\bytestring\dist-install\build\include' -I'E:\ghc_86_src\libraries\bytestring\dist-install\build/dist-install/build/include' -I'E:\ghc_86_src\libraries\base\include' -I'E:\ghc_86_src\libraries\base/dist-install/build/include' -I'E:\ghc_86_src\libraries\base\dist-install\build\include' -I'E:\ghc_86_src\libraries\base\dist-install\build/dist-install/build/include' -I'E:\ghc_86_src\libraries\integer-gmp\include' -I'E:\ghc_86_src\libraries\integer-gmp/dist-install/build/include' -I'E:\ghc_86_src\libraries\integer-gmp\dist-install\build\include' -I'E:\ghc_86_src\libraries\integer-gmp\dist-install\build/dist-install/build/include' -I'E:/ghc_86_src/rts/dist/build' -I'E:/ghc_86_src/includes' -I'E:/ghc_86_src/includes/dist-derivedconstants/header' -Wno-error=inline -MM -x c compiler/cbits/genSym.c -MF compiler/stage2/build/.depend-v-p.c_asm.bit
sed -e 's|\\|/|g' -e 's| /$| \\|' -e "1s|\.o|\.o|" -e "1s|^|compiler/cbits/|" -e "1s|compiler/|compiler/stage2/build/|" -e "1s|stage2/build/stage2/build|stage2/build|g" -e "s|^E:/ghc_86_src/||gi" compiler/stage2/build/.depend-v-p.c_asm.bit >> compiler/stage2/build/.depend-v-p.c_asm.tmp && sed -e 's|\\|/|g' -e 's| /$| \\|' -e "1s|\.o|\.p_o|" -e "1s|^|compiler/cbits/|" -e "1s|compiler/|compiler/stage2/build/|" -e "1s|stage2/build/stage2/build|stage2/build|g" -e "s|^E:/ghc_86_src/||gi" compiler/stage2/build/.depend-v-p.c_asm.bit >> compiler/stage2/build/.depend-v-p.c_asm.tmp && true
"rm" -f compiler/stage2/build/.depend-v-p.c_asm.bit
echo "compiler_stage2_depfile_c_asm_EXISTS = YES" >> compiler/stage2/build/.depend-v-p.c_asm.tmp
mv compiler/stage2/build/.depend-v-p.c_asm.tmp compiler/stage2/build/.depend-v-p.c_asm
"inplace/bin/hsc2hs.exe" '--cc=E:/ghc_86_src/inplace/mingw/bin/gcc.exe' '--ld=E:/ghc_86_src/inplace/mingw/bin/gcc.exe' --cflag=-Wall --cflag=-fno-stack-protector --cflag=-Dx86_64_HOST_ARCH --cflag=-Dmingw32_HOST_OS --cflag=-D__GLASGOW_HASKELL__=806 '--cflag=-fno-stack-protector' '--cflag=-Wall' '--cflag=-Icompiler/stage2/build/./autogen' '--cflag=-Icompiler/.' '--cflag=-Icompiler/parser' '--cflag=-Icompiler/utils' '--cflag=-Icompiler/../rts/dist/build' '--cflag=-Icompiler/stage2' '--cflag=-Icompiler/stage2/build/.' '--cflag=-Icompiler/stage2/build/parser' '--cflag=-Icompiler/stage2/build/utils' '--cflag=-Icompiler/stage2/build/../rts/dist/build' '--cflag=-Icompiler/stage2/build/stage2' '--cflag=-DGHCI' '--cflag=-IE:\ghc_86_src\libraries\process\include' '--cflag=-IE:\ghc_86_src\libraries\process/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\process\dist-install\build\include' '--cflag=-IE:\ghc_86_src\libraries\process\dist-install\build/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\directory\.' '--cflag=-IE:\ghc_86_src\libraries\directory\dist-install\build\.' '--cflag=-IE:\ghc_86_src\libraries\time\lib/include' '--cflag=-IE:\ghc_86_src\libraries\time\lib/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\time\dist-install\build\lib/include' '--cflag=-IE:\ghc_86_src\libraries\time\dist-install\build\lib/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\containers\include' '--cflag=-IE:\ghc_86_src\libraries\containers/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\containers\dist-install\build\include' '--cflag=-IE:\ghc_86_src\libraries\containers\dist-install\build/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\Win32\include' '--cflag=-IE:\ghc_86_src\libraries\Win32/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\Win32\dist-install\build\include' '--cflag=-IE:\ghc_86_src\libraries\Win32\dist-install\build/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\bytestring\include' '--cflag=-IE:\ghc_86_src\libraries\bytestring/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\bytestring\dist-install\build\include' '--cflag=-IE:\ghc_86_src\libraries\bytestring\dist-install\build/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\base\include' '--cflag=-IE:\ghc_86_src\libraries\base/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\base\dist-install\build\include' '--cflag=-IE:\ghc_86_src\libraries\base\dist-install\build/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\integer-gmp\include' '--cflag=-IE:\ghc_86_src\libraries\integer-gmp/dist-install/build/include' '--cflag=-IE:\ghc_86_src\libraries\integer-gmp\dist-install\build\include' '--cflag=-IE:\ghc_86_src\libraries\integer-gmp\dist-install\build/dist-install/build/include' '--cflag=-IE:/ghc_86_src/rts/dist/build' '--cflag=-IE:/ghc_86_src/includes' '--cflag=-IE:/ghc_86_src/includes/dist-derivedconstants/header' '--cflag=-Wno-error=inline' --cflag=-Icompiler/stage2/build/./autogen --cflag=-include --cflag=compiler/stage2/build/./autogen/cabal_macros.h compiler/utils/Fingerprint.hsc -o compiler/stage2/build/Fingerprint.hs
E:/ghc_86_src/inplace/mingw/bin/gcc.exe -E -undef -traditional -P -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Icompiler/stage2 -x c compiler/prelude/primops.txt.pp | grep -v '^#pragma GCC' > compiler/stage2/build/primops.txt
"rm" -f utils/haddock/dist/build/.depend.c_asm.tmp
utils/haddock/ghc.mk:20: utils/haddock/dist/build/.depend.haskell: No such file or directory
make[1]: *** No rule to make target 'utils/haddock/dist/build/Main.hs', needed by 'utils/haddock/dist/build/.depend.haskell'. Stop.
make[1]: *** Waiting for unfinished jobs....
"rm" -f utils/haddock/dist/build/.depend.c_asm.bit
echo "utils/haddock_dist_depfile_c_asm_EXISTS = YES" >> utils/haddock/dist/build/.depend.c_asm.tmp
mv utils/haddock/dist/build/.depend.c_asm.tmp utils/haddock/dist/build/.depend.c_asm
unused terminals: 2
make: *** [Makefile:127: all] Error 2
```
I've tried to wipe the haddock folder completely and restoring it via submodule update to no avail.
Disabling haddock generation at least allows the build to proceed as a workaround.
I don't think this is all too important but better to document it than not.https://gitlab.haskell.org/ghc/ghc/-/issues/16498Broken bindist install with hadrian2019-04-26T09:23:10ZSylvain HenryBroken bindist install with hadrianBuilding a bindist with Hadrian works:
```bash
> ./hadrian/build.stack.sh -c -j binary-dist
> ./_build/bindist/ghc-8.9.20190320-x86_64-unknown-linux/bin/ghc
ghc: no input files
Usage: For basic information, try the `--help' option.
```
...Building a bindist with Hadrian works:
```bash
> ./hadrian/build.stack.sh -c -j binary-dist
> ./_build/bindist/ghc-8.9.20190320-x86_64-unknown-linux/bin/ghc
ghc: no input files
Usage: For basic information, try the `--help' option.
```
But installing it with "make install" doesn't:
```bash
> mkdir /tmp/ghc-install
> cd _build/bindist/ghc-8.9.20190320-x86_64-unknown-linux
> ./configure --prefix=/tmp/ghc-install
> make install
[...]
/tmp/ghc-install/lib/ghc-8.9.20190320/bin/ghc-pkg: error while loading shared libraries: libHSterminfo-0.4.1.3-ghc8.9.20190320.so: cannot open shared object file: No such file or directory
make: *** [Makefile:122: update_package_db] Error 127
> /tmp/ghc-install/bin/ghc
/tmp/ghc-install/lib/ghc-8.9.20190320/bin/ghc: error while loading shared libraries: libHShaskeline-0.7.5.0-ghc8.9.20190320.so: cannot open shared object file: No such file or directory
```
It seems to be a problem with RPATH and/or file copy as we can see with the following session:
```
> readelf -d /tmp/ghc-install/lib/ghc-8.9.20190320/bin/ghc | grep RUNPATH
0x000000000000001d (RUNPATH) Bibliothèque runpath:[$ORIGIN/../lib/x86_64-linux-ghc-8.9.20190320:_build/stage1/lib/../lib/x86_64-linux-ghc-8.9.20190320]
> mkdir /tmp/ghc-install/lib/ghc-8.9.20190320/lib
> mv /tmp/ghc-install/lib/* /tmp/ghc-install/lib/ghc-8.9.20190320/lib
> /tmp/ghc-install/lib/ghc-8.9.20190320/bin/ghc
ghc: no input files
Usage: For basic information, try the `--help' option.
```8.10.1https://gitlab.haskell.org/ghc/ghc/-/issues/16508Hadrian: invalid ghci wrapper script2019-05-01T13:08:54ZSylvain HenryHadrian: invalid ghci wrapper scriptWhen we install an Hadrian generated bindist with "make install", we obtain an invalid ghci wrapper script.
Hadrian conflates two wrapper scripts into one: wrappers/ghci and wrappers/ghci-script. Only the last one should be used. Patch ...When we install an Hadrian generated bindist with "make install", we obtain an invalid ghci wrapper script.
Hadrian conflates two wrapper scripts into one: wrappers/ghci and wrappers/ghci-script. Only the last one should be used. Patch coming.8.8.1Sylvain HenrySylvain Henryhttps://gitlab.haskell.org/ghc/ghc/-/issues/16516GHC 8.6.4 Windows 32 distributables2020-06-02T11:53:12ZvarosiGHC 8.6.4 Windows 32 distributablesCurrently there is no 32bit builds for Windows of GHC 8.6.4 - https://www.haskell.org/ghc/download_ghc_8_6_4.html#binaries
It would be great if there is 32bit build also.Currently there is no 32bit builds for Windows of GHC 8.6.4 - https://www.haskell.org/ghc/download_ghc_8_6_4.html#binaries
It would be great if there is 32bit build also.8.6.5https://gitlab.haskell.org/ghc/ghc/-/issues/16576Are the GHC 8.6.4 binaries for Windows missing haddock.exe?2019-04-16T19:12:28ZMike PilgremAre the GHC 8.6.4 binaries for Windows missing haddock.exe?# Summary
GHC 8.6.3's (and earlier) binaries on Windows include `haddock.exe` in the `\bin` folder as well as a small file named after the GHC version (eg `haddock-8.6.3.exe`). GHC 8.6.4's binaries include `haddock-8.6.4.exe` (a small f...# Summary
GHC 8.6.3's (and earlier) binaries on Windows include `haddock.exe` in the `\bin` folder as well as a small file named after the GHC version (eg `haddock-8.6.3.exe`). GHC 8.6.4's binaries include `haddock-8.6.4.exe` (a small file) but not `haddock.exe`.
# Steps to reproduce
See the contents of the archive file at: https://www.haskell.org/ghc/download_ghc_8_6_4.html#windows64
See also https://github.com/commercialhaskell/stack/issues/4727
# Expected behavior
GHC 8.6.4's binaries on Windows to include `haddock.exe` in the `\bin` folder.
# Environment
* GHC version used: 8.6.4
Optional:
* Operating System: Windows 10
* System Architecture: 64 bithttps://gitlab.haskell.org/ghc/ghc/-/issues/16602GHC 8.6.5 still bundling Cabal-2.4.0.12019-05-24T12:55:14ZHerbert Valerio Riedelhvr@gnu.orgGHC 8.6.5 still bundling Cabal-2.4.0.1After the GHC 8.6.5-rc1 release candidate was filed, [Mikhail pointed out](https://twitter.com/refold/status/1115503408008577025) that the RC had still not been updated to the Cabal-2.4.1.0 bugfix point release that had been released alr...After the GHC 8.6.5-rc1 release candidate was filed, [Mikhail pointed out](https://twitter.com/refold/status/1115503408008577025) that the RC had still not been updated to the Cabal-2.4.1.0 bugfix point release that had been released already ~5 months ago (on 2018-11-25) which had already failed to be included in the releases GHC 8.6.3, GHC 8.6.4 and now GHC 8.6.5 which all occurred *after* 2018-11-25. How are we supposed to coordinate lib:Cabal <-> GHC releases?
PS: As a fun fact, Stack(age) pays an almost guaranteed compile-time penalty here as [all recent Stackage snapshots seem to include lib:Cabal-2.4.1.0 in their snapshot freeze file](https://www.stackage.org/package/Cabal/snapshots), and compiling lib:Cabal is notoriously costly.8.8.1https://gitlab.haskell.org/ghc/ghc/-/issues/16715Make bindists still appear to be broken2020-09-21T18:33:47ZMatthew PickeringMake bindists still appear to be brokenAnother `settings` file fallout. Trying to install a recent bindist fails.
```
[matt@nixos:~]$ ghc-head-from
Fetching artefact from ghc/master
builder for '/nix/store/blcipng1ya3qhfw6862qmg0dnkfr30fm-ghc-8.9.0.20190529.drv' failed wit...Another `settings` file fallout. Trying to install a recent bindist fails.
```
[matt@nixos:~]$ ghc-head-from
Fetching artefact from ghc/master
builder for '/nix/store/blcipng1ya3qhfw6862qmg0dnkfr30fm-ghc-8.9.0.20190529.drv' failed with exit code 2; last 10 log lines:
echo 'executablename="$exedir/ghc"' >> "/nix/store/pqlmzdxsw3mjjp20lv0mvpifaskh74am-ghc-8.9.0.20190529/bin/ghc-8.9.0.20190529"
cat ghc/ghc.wrapper >> "/nix/store/pqlmzdxsw3mjjp20lv0mvpifaskh74am-ghc-8.9.0.20190529/bin/ghc-8.9.0.20190529"
chmod +x "/nix/store/pqlmzdxsw3mjjp20lv0mvpifaskh74am-ghc-8.9.0.20190529/bin/ghc-8.9.0.20190529"
"rm" -f "/nix/store/pqlmzdxsw3mjjp20lv0mvpifaskh74am-ghc-8.9.0.20190529/bin/ghc"
ln -s ghc-8.9.0.20190529 "/nix/store/pqlmzdxsw3mjjp20lv0mvpifaskh74am-ghc-8.9.0.20190529/bin/ghc"
/nix/store/fxvgwfb8f450aqq2xdbzy6jxvymcwvn3-coreutils-8.31/bin/install -c -m 755 -d "/nix/store/pqlmzdxsw3mjjp20lv0mvpifaskh74am-ghc-8.9.0.20190529/share/man"
/nix/store/fxvgwfb8f450aqq2xdbzy6jxvymcwvn3-coreutils-8.31/bin/install -c -m 755 -d "/nix/store/pqlmzdxsw3mjjp20lv0mvpifaskh74am-ghc-8.9.0.20190529/share/man/man1"
/nix/store/fxvgwfb8f450aqq2xdbzy6jxvymcwvn3-coreutils-8.31/bin/install -c -m 644 docs/users_guide/build-man/ghc.1 "/nix/store/pqlmzdxsw3mjjp20lv0mvpifaskh74am-ghc-8.9.0.20190529/share/man/man1"
make[1]: *** No rule to make target 'settings', needed by 'install_libs'. Stop.
make: *** [Makefile:51: install] Error 2
[1 built (1 failed), 2 copied (18.1 MiB), 195.2 MiB DL]
error: build of '/nix/store/blcipng1ya3qhfw6862qmg0dnkfr30fm-ghc-8.9.0.20190529.drv' failed
```
It would be useful if anyone else could reproduce this with one of the artefacts.https://gitlab.haskell.org/ghc/ghc/-/issues/16901GHC needs to distribute .hie files for base libraries2023-06-27T15:12:24ZMatthew PickeringGHC needs to distribute .hie files for base libraries`.hie` files need to be distributed as part of the release process so that projects using `.hie` files work with
the base libraries.
For example, go-to definition should work for functions defined in the base libraries as well as userl...`.hie` files need to be distributed as part of the release process so that projects using `.hie` files work with
the base libraries.
For example, go-to definition should work for functions defined in the base libraries as well as userland.
The best way to do this might be to distribute a separate tarball which just contains the `.hie` files which can be downloaded and installed separately to the usual bindists. Another option is to include the `.hie` files in the bindists, just like how we do for other documentation.
I made a MR !1337 towards this direction in the expectation of some refinement.ZubinZubinhttps://gitlab.haskell.org/ghc/ghc/-/issues/17051GHC 8.6.5 is quite a bit larger on aarch64 than x862022-11-22T03:32:26ZGraham ChristensenGHC 8.6.5 is quite a bit larger on aarch64 than x86I'm not sure "bug" or "feature requests right, so not sure about either template.
The NixOS build farm has a maximum output size of 2GiB, and the aarch64 build of GHC has been pushing over that limit.
On x86-64 we see output sizes arou...I'm not sure "bug" or "feature requests right, so not sure about either template.
The NixOS build farm has a maximum output size of 2GiB, and the aarch64 build of GHC has been pushing over that limit.
On x86-64 we see output sizes around 1600 MiB. On Aarch64, when it passes, the output is 400-500MiB larger at 2040 MiB.
Unfortunately when it goes over the limit, we're not able to provide any precompiled haskell toolchain for our aarch64 users.
Here is a summary of the difference in file sizes by bytes:
<details><summary><strong><em>Click to expand</em></strong> Column #1 is (size on aarch64 - size on x86) in bytes </summary>
```
808080 ./lib/ghc-8.6.5/array-0.5.3.0/HSarray-0.5.3.0.o
1273470 ./lib/ghc-8.6.5/array-0.5.3.0/libHSarray-0.5.3.0.a
262504 ./lib/ghc-8.6.5/array-0.5.3.0/libHSarray-0.5.3.0-ghc8.6.5.so
1131398 ./lib/ghc-8.6.5/array-0.5.3.0/libHSarray-0.5.3.0_p.a
11321848 ./lib/ghc-8.6.5/base-4.12.0.0/HSbase-4.12.0.0.o
15788724 ./lib/ghc-8.6.5/base-4.12.0.0/libHSbase-4.12.0.0.a
3826600 ./lib/ghc-8.6.5/base-4.12.0.0/libHSbase-4.12.0.0-ghc8.6.5.so
11769012 ./lib/ghc-8.6.5/base-4.12.0.0/libHSbase-4.12.0.0_p.a
784128 ./lib/ghc-8.6.5/binary-0.8.6.0/HSbinary-0.8.6.0.o
1086308 ./lib/ghc-8.6.5/binary-0.8.6.0/libHSbinary-0.8.6.0.a
238440 ./lib/ghc-8.6.5/binary-0.8.6.0/libHSbinary-0.8.6.0-ghc8.6.5.so
828596 ./lib/ghc-8.6.5/binary-0.8.6.0/libHSbinary-0.8.6.0_p.a
1030168 ./lib/ghc-8.6.5/bin/ghc
18132544 ./lib/ghc-8.6.5/bin/ghc-iserv
1640 ./lib/ghc-8.6.5/bin/ghc-iserv-dyn
16180144 ./lib/ghc-8.6.5/bin/ghc-iserv-prof
199864 ./lib/ghc-8.6.5/bin/ghc-pkg
3034800 ./lib/ghc-8.6.5/bin/haddock
330416 ./lib/ghc-8.6.5/bin/hpc
330392 ./lib/ghc-8.6.5/bin/hsc2hs
9296 ./lib/ghc-8.6.5/bin/runghc
1092536 ./lib/ghc-8.6.5/bytestring-0.10.8.2/HSbytestring-0.10.8.2.o
1620280 ./lib/ghc-8.6.5/bytestring-0.10.8.2/libHSbytestring-0.10.8.2.a
370384 ./lib/ghc-8.6.5/bytestring-0.10.8.2/libHSbytestring-0.10.8.2-ghc8.6.5.so
1293880 ./lib/ghc-8.6.5/bytestring-0.10.8.2/libHSbytestring-0.10.8.2_p.a
29456952 ./lib/ghc-8.6.5/Cabal-2.4.0.1/HSCabal-2.4.0.1.o
43209942 ./lib/ghc-8.6.5/Cabal-2.4.0.1/libHSCabal-2.4.0.1.a
7772504 ./lib/ghc-8.6.5/Cabal-2.4.0.1/libHSCabal-2.4.0.1-ghc8.6.5.so
31671894 ./lib/ghc-8.6.5/Cabal-2.4.0.1/libHSCabal-2.4.0.1_p.a
4128896 ./lib/ghc-8.6.5/containers-0.6.0.1/HScontainers-0.6.0.1.o
6536772 ./lib/ghc-8.6.5/containers-0.6.0.1/libHScontainers-0.6.0.1.a
1073024 ./lib/ghc-8.6.5/containers-0.6.0.1/libHScontainers-0.6.0.1-ghc8.6.5.so
5128692 ./lib/ghc-8.6.5/containers-0.6.0.1/libHScontainers-0.6.0.1_p.a
102240 ./lib/ghc-8.6.5/deepseq-1.4.4.0/HSdeepseq-1.4.4.0.o
144690 ./lib/ghc-8.6.5/deepseq-1.4.4.0/libHSdeepseq-1.4.4.0.a
49160 ./lib/ghc-8.6.5/deepseq-1.4.4.0/libHSdeepseq-1.4.4.0-ghc8.6.5.so
120714 ./lib/ghc-8.6.5/deepseq-1.4.4.0/libHSdeepseq-1.4.4.0_p.a
436736 ./lib/ghc-8.6.5/directory-1.3.3.0/HSdirectory-1.3.3.0.o
606946 ./lib/ghc-8.6.5/directory-1.3.3.0/libHSdirectory-1.3.3.0.a
156736 ./lib/ghc-8.6.5/directory-1.3.3.0/libHSdirectory-1.3.3.0-ghc8.6.5.so
449378 ./lib/ghc-8.6.5/directory-1.3.3.0/libHSdirectory-1.3.3.0_p.a
230632 ./lib/ghc-8.6.5/filepath-1.4.2.1/HSfilepath-1.4.2.1.o
342050 ./lib/ghc-8.6.5/filepath-1.4.2.1/libHSfilepath-1.4.2.1.a
73824 ./lib/ghc-8.6.5/filepath-1.4.2.1/libHSfilepath-1.4.2.1-ghc8.6.5.so
286650 ./lib/ghc-8.6.5/filepath-1.4.2.1/libHSfilepath-1.4.2.1_p.a
84961630 ./lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5.a
19685920 ./lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5-ghc8.6.5.so
49841666 ./lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5_p.a
489504 ./lib/ghc-8.6.5/ghc-boot-8.6.5/HSghc-boot-8.6.5.o
692496 ./lib/ghc-8.6.5/ghc-boot-8.6.5/libHSghc-boot-8.6.5.a
143816 ./lib/ghc-8.6.5/ghc-boot-8.6.5/libHSghc-boot-8.6.5-ghc8.6.5.so
449376 ./lib/ghc-8.6.5/ghc-boot-8.6.5/libHSghc-boot-8.6.5_p.a
139864 ./lib/ghc-8.6.5/ghc-boot-th-8.6.5/HSghc-boot-th-8.6.5.o
202648 ./lib/ghc-8.6.5/ghc-boot-th-8.6.5/libHSghc-boot-th-8.6.5.a
39216 ./lib/ghc-8.6.5/ghc-boot-th-8.6.5/libHSghc-boot-th-8.6.5-ghc8.6.5.so
161512 ./lib/ghc-8.6.5/ghc-boot-th-8.6.5/libHSghc-boot-th-8.6.5_p.a
36240 ./lib/ghc-8.6.5/ghc-compact-0.1.0.0/HSghc-compact-0.1.0.0.o
62388 ./lib/ghc-8.6.5/ghc-compact-0.1.0.0/libHSghc-compact-0.1.0.0.a
4048 ./lib/ghc-8.6.5/ghc-compact-0.1.0.0/libHSghc-compact-0.1.0.0-ghc8.6.5.so
51332 ./lib/ghc-8.6.5/ghc-compact-0.1.0.0/libHSghc-compact-0.1.0.0_p.a
287688 ./lib/ghc-8.6.5/ghc-heap-8.6.5/HSghc-heap-8.6.5.o
388632 ./lib/ghc-8.6.5/ghc-heap-8.6.5/libHSghc-heap-8.6.5.a
90352 ./lib/ghc-8.6.5/ghc-heap-8.6.5/libHSghc-heap-8.6.5-ghc8.6.5.so
248256 ./lib/ghc-8.6.5/ghc-heap-8.6.5/libHSghc-heap-8.6.5_p.a
2768944 ./lib/ghc-8.6.5/ghci-8.6.5/HSghci-8.6.5.o
3884458 ./lib/ghc-8.6.5/ghci-8.6.5/libHSghci-8.6.5.a
864216 ./lib/ghc-8.6.5/ghci-8.6.5/libHSghci-8.6.5-ghc8.6.5.so
2815098 ./lib/ghc-8.6.5/ghci-8.6.5/libHSghci-8.6.5_p.a
2060696 ./lib/ghc-8.6.5/ghc-prim-0.5.3/HSghc-prim-0.5.3.o
3041242 ./lib/ghc-8.6.5/ghc-prim-0.5.3/libHSghc-prim-0.5.3.a
831656 ./lib/ghc-8.6.5/ghc-prim-0.5.3/libHSghc-prim-0.5.3-ghc8.6.5.so
2719874 ./lib/ghc-8.6.5/ghc-prim-0.5.3/libHSghc-prim-0.5.3_p.a
1972592 ./lib/ghc-8.6.5/haskeline-0.7.4.3/HShaskeline-0.7.4.3.o
2771732 ./lib/ghc-8.6.5/haskeline-0.7.4.3/libHShaskeline-0.7.4.3.a
572536 ./lib/ghc-8.6.5/haskeline-0.7.4.3/libHShaskeline-0.7.4.3-ghc8.6.5.so
1778020 ./lib/ghc-8.6.5/haskeline-0.7.4.3/libHShaskeline-0.7.4.3_p.a
241464 ./lib/ghc-8.6.5/hpc-0.6.0.3/HShpc-0.6.0.3.o
344410 ./lib/ghc-8.6.5/hpc-0.6.0.3/libHShpc-0.6.0.3.a
86464 ./lib/ghc-8.6.5/hpc-0.6.0.3/libHShpc-0.6.0.3-ghc8.6.5.so
266522 ./lib/ghc-8.6.5/hpc-0.6.0.3/libHShpc-0.6.0.3_p.a
316024 ./lib/ghc-8.6.5/integer-gmp-1.0.2.0/HSinteger-gmp-1.0.2.0.o
511096 ./lib/ghc-8.6.5/integer-gmp-1.0.2.0/libHSinteger-gmp-1.0.2.0.a
110632 ./lib/ghc-8.6.5/integer-gmp-1.0.2.0/libHSinteger-gmp-1.0.2.0-ghc8.6.5.so
484296 ./lib/ghc-8.6.5/integer-gmp-1.0.2.0/libHSinteger-gmp-1.0.2.0_p.a
24192 ./lib/ghc-8.6.5/libiserv-8.6.3/HSlibiserv-8.6.3.o
38756 ./lib/ghc-8.6.5/libiserv-8.6.3/libHSlibiserv-8.6.3.a
34396 ./lib/ghc-8.6.5/libiserv-8.6.3/libHSlibiserv-8.6.3_p.a
247616 ./lib/ghc-8.6.5/mtl-2.2.2/HSmtl-2.2.2.o
304900 ./lib/ghc-8.6.5/mtl-2.2.2/libHSmtl-2.2.2.a
110696 ./lib/ghc-8.6.5/mtl-2.2.2/libHSmtl-2.2.2-ghc8.6.5.so
216148 ./lib/ghc-8.6.5/mtl-2.2.2/libHSmtl-2.2.2_p.a
912784 ./lib/ghc-8.6.5/parsec-3.1.13.0/HSparsec-3.1.13.0.o
1299202 ./lib/ghc-8.6.5/parsec-3.1.13.0/libHSparsec-3.1.13.0.a
295632 ./lib/ghc-8.6.5/parsec-3.1.13.0/libHSparsec-3.1.13.0-ghc8.6.5.so
882882 ./lib/ghc-8.6.5/parsec-3.1.13.0/libHSparsec-3.1.13.0_p.a
479640 ./lib/ghc-8.6.5/pretty-1.1.3.6/HSpretty-1.1.3.6.o
668336 ./lib/ghc-8.6.5/pretty-1.1.3.6/libHSpretty-1.1.3.6.a
173648 ./lib/ghc-8.6.5/pretty-1.1.3.6/libHSpretty-1.1.3.6-ghc8.6.5.so
513784 ./lib/ghc-8.6.5/pretty-1.1.3.6/libHSpretty-1.1.3.6_p.a
283216 ./lib/ghc-8.6.5/process-1.6.5.0/HSprocess-1.6.5.0.o
449196 ./lib/ghc-8.6.5/process-1.6.5.0/libHSprocess-1.6.5.0.a
65888 ./lib/ghc-8.6.5/process-1.6.5.0/libHSprocess-1.6.5.0-ghc8.6.5.so
371676 ./lib/ghc-8.6.5/process-1.6.5.0/libHSprocess-1.6.5.0_p.a
30172 ./lib/ghc-8.6.5/rts/libHSrts.a
120844 ./lib/ghc-8.6.5/rts/libHSrts_debug.a
77280 ./lib/ghc-8.6.5/rts/libHSrts_debug-ghc8.6.5.so
57488 ./lib/ghc-8.6.5/rts/libHSrts-ghc8.6.5.so
23932 ./lib/ghc-8.6.5/rts/libHSrts_l.a
42984 ./lib/ghc-8.6.5/rts/libHSrts_l-ghc8.6.5.so
30674 ./lib/ghc-8.6.5/rts/libHSrts_thr.a
139618 ./lib/ghc-8.6.5/rts/libHSrts_thr_debug.a
90400 ./lib/ghc-8.6.5/rts/libHSrts_thr_debug-ghc8.6.5.so
43232 ./lib/ghc-8.6.5/rts/libHSrts_thr-ghc8.6.5.so
25844 ./lib/ghc-8.6.5/rts/libHSrts_thr_l.a
45368 ./lib/ghc-8.6.5/rts/libHSrts_thr_l-ghc8.6.5.so
113048 ./lib/ghc-8.6.5/stm-2.5.0.0/HSstm-2.5.0.0.o
180264 ./lib/ghc-8.6.5/stm-2.5.0.0/libHSstm-2.5.0.0.a
36984 ./lib/ghc-8.6.5/stm-2.5.0.0/libHSstm-2.5.0.0-ghc8.6.5.so
161528 ./lib/ghc-8.6.5/stm-2.5.0.0/libHSstm-2.5.0.0_p.a
4177528 ./lib/ghc-8.6.5/template-haskell-2.14.0.0/HStemplate-haskell-2.14.0.0.o
5914574 ./lib/ghc-8.6.5/template-haskell-2.14.0.0/libHStemplate-haskell-2.14.0.0.a
1334408 ./lib/ghc-8.6.5/template-haskell-2.14.0.0/libHStemplate-haskell-2.14.0.0-ghc8.6.5.so
4455486 ./lib/ghc-8.6.5/template-haskell-2.14.0.0/libHStemplate-haskell-2.14.0.0_p.a
229912 ./lib/ghc-8.6.5/terminfo-0.4.1.2/HSterminfo-0.4.1.2.o
333404 ./lib/ghc-8.6.5/terminfo-0.4.1.2/libHSterminfo-0.4.1.2.a
86176 ./lib/ghc-8.6.5/terminfo-0.4.1.2/libHSterminfo-0.4.1.2-ghc8.6.5.so
264620 ./lib/ghc-8.6.5/terminfo-0.4.1.2/libHSterminfo-0.4.1.2_p.a
2705960 ./lib/ghc-8.6.5/text-1.2.3.1/HStext-1.2.3.1.o
4307484 ./lib/ghc-8.6.5/text-1.2.3.1/libHStext-1.2.3.1.a
625512 ./lib/ghc-8.6.5/text-1.2.3.1/libHStext-1.2.3.1-ghc8.6.5.so
3389124 ./lib/ghc-8.6.5/text-1.2.3.1/libHStext-1.2.3.1_p.a
1101176 ./lib/ghc-8.6.5/time-1.8.0.2/HStime-1.8.0.2.o
1598870 ./lib/ghc-8.6.5/time-1.8.0.2/libHStime-1.8.0.2.a
359504 ./lib/ghc-8.6.5/time-1.8.0.2/libHStime-1.8.0.2-ghc8.6.5.so
1224438 ./lib/ghc-8.6.5/time-1.8.0.2/libHStime-1.8.0.2_p.a
1655968 ./lib/ghc-8.6.5/transformers-0.5.6.2/HStransformers-0.5.6.2.o
2056668 ./lib/ghc-8.6.5/transformers-0.5.6.2/libHStransformers-0.5.6.2.a
615616 ./lib/ghc-8.6.5/transformers-0.5.6.2/libHStransformers-0.5.6.2-ghc8.6.5.so
1364948 ./lib/ghc-8.6.5/transformers-0.5.6.2/libHStransformers-0.5.6.2_p.a
804816 ./lib/ghc-8.6.5/unix-2.7.2.2/HSunix-2.7.2.2.o
1166896 ./lib/ghc-8.6.5/unix-2.7.2.2/libHSunix-2.7.2.2.a
337008 ./lib/ghc-8.6.5/unix-2.7.2.2/libHSunix-2.7.2.2-ghc8.6.5.so
944232 ./lib/ghc-8.6.5/unix-2.7.2.2/libHSunix-2.7.2.2_p.a
355520 ./lib/ghc-8.6.5/xhtml-3000.2.2.1/HSxhtml-3000.2.2.1.o
470372 ./lib/ghc-8.6.5/xhtml-3000.2.2.1/libHSxhtml-3000.2.2.1.a
160304 ./lib/ghc-8.6.5/xhtml-3000.2.2.1/libHSxhtml-3000.2.2.1-ghc8.6.5.so
356892 ./lib/ghc-8.6.5/xhtml-3000.2.2.1/libHSxhtml-3000.2.2.1_p.a
```
</details>
<details><summary><strong><em>Click to expand</em></strong> same list, sorted by diff:</summary>
````
84961630 ./lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5.a
49841666 ./lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5_p.a
43209942 ./lib/ghc-8.6.5/Cabal-2.4.0.1/libHSCabal-2.4.0.1.a
31671894 ./lib/ghc-8.6.5/Cabal-2.4.0.1/libHSCabal-2.4.0.1_p.a
29456952 ./lib/ghc-8.6.5/Cabal-2.4.0.1/HSCabal-2.4.0.1.o
19685920 ./lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5-ghc8.6.5.so
18132544 ./lib/ghc-8.6.5/bin/ghc-iserv
16180144 ./lib/ghc-8.6.5/bin/ghc-iserv-prof
15788724 ./lib/ghc-8.6.5/base-4.12.0.0/libHSbase-4.12.0.0.a
11769012 ./lib/ghc-8.6.5/base-4.12.0.0/libHSbase-4.12.0.0_p.a
11321848 ./lib/ghc-8.6.5/base-4.12.0.0/HSbase-4.12.0.0.o
7772504 ./lib/ghc-8.6.5/Cabal-2.4.0.1/libHSCabal-2.4.0.1-ghc8.6.5.so
6536772 ./lib/ghc-8.6.5/containers-0.6.0.1/libHScontainers-0.6.0.1.a
5914574 ./lib/ghc-8.6.5/template-haskell-2.14.0.0/libHStemplate-haskell-2.14.0.0.a
5128692 ./lib/ghc-8.6.5/containers-0.6.0.1/libHScontainers-0.6.0.1_p.a
4455486 ./lib/ghc-8.6.5/template-haskell-2.14.0.0/libHStemplate-haskell-2.14.0.0_p.a
4307484 ./lib/ghc-8.6.5/text-1.2.3.1/libHStext-1.2.3.1.a
4177528 ./lib/ghc-8.6.5/template-haskell-2.14.0.0/HStemplate-haskell-2.14.0.0.o
4128896 ./lib/ghc-8.6.5/containers-0.6.0.1/HScontainers-0.6.0.1.o
3884458 ./lib/ghc-8.6.5/ghci-8.6.5/libHSghci-8.6.5.a
3826600 ./lib/ghc-8.6.5/base-4.12.0.0/libHSbase-4.12.0.0-ghc8.6.5.so
3389124 ./lib/ghc-8.6.5/text-1.2.3.1/libHStext-1.2.3.1_p.a
3041242 ./lib/ghc-8.6.5/ghc-prim-0.5.3/libHSghc-prim-0.5.3.a
3034800 ./lib/ghc-8.6.5/bin/haddock
2815098 ./lib/ghc-8.6.5/ghci-8.6.5/libHSghci-8.6.5_p.a
2771732 ./lib/ghc-8.6.5/haskeline-0.7.4.3/libHShaskeline-0.7.4.3.a
2768944 ./lib/ghc-8.6.5/ghci-8.6.5/HSghci-8.6.5.o
2719874 ./lib/ghc-8.6.5/ghc-prim-0.5.3/libHSghc-prim-0.5.3_p.a
2705960 ./lib/ghc-8.6.5/text-1.2.3.1/HStext-1.2.3.1.o
2060696 ./lib/ghc-8.6.5/ghc-prim-0.5.3/HSghc-prim-0.5.3.o
2056668 ./lib/ghc-8.6.5/transformers-0.5.6.2/libHStransformers-0.5.6.2.a
1972592 ./lib/ghc-8.6.5/haskeline-0.7.4.3/HShaskeline-0.7.4.3.o
1778020 ./lib/ghc-8.6.5/haskeline-0.7.4.3/libHShaskeline-0.7.4.3_p.a
1655968 ./lib/ghc-8.6.5/transformers-0.5.6.2/HStransformers-0.5.6.2.o
1620280 ./lib/ghc-8.6.5/bytestring-0.10.8.2/libHSbytestring-0.10.8.2.a
1598870 ./lib/ghc-8.6.5/time-1.8.0.2/libHStime-1.8.0.2.a
1364948 ./lib/ghc-8.6.5/transformers-0.5.6.2/libHStransformers-0.5.6.2_p.a
1334408 ./lib/ghc-8.6.5/template-haskell-2.14.0.0/libHStemplate-haskell-2.14.0.0-ghc8.6.5.so
1299202 ./lib/ghc-8.6.5/parsec-3.1.13.0/libHSparsec-3.1.13.0.a
1293880 ./lib/ghc-8.6.5/bytestring-0.10.8.2/libHSbytestring-0.10.8.2_p.a
1273470 ./lib/ghc-8.6.5/array-0.5.3.0/libHSarray-0.5.3.0.a
1224438 ./lib/ghc-8.6.5/time-1.8.0.2/libHStime-1.8.0.2_p.a
1166896 ./lib/ghc-8.6.5/unix-2.7.2.2/libHSunix-2.7.2.2.a
1131398 ./lib/ghc-8.6.5/array-0.5.3.0/libHSarray-0.5.3.0_p.a
1101176 ./lib/ghc-8.6.5/time-1.8.0.2/HStime-1.8.0.2.o
1092536 ./lib/ghc-8.6.5/bytestring-0.10.8.2/HSbytestring-0.10.8.2.o
1086308 ./lib/ghc-8.6.5/binary-0.8.6.0/libHSbinary-0.8.6.0.a
1073024 ./lib/ghc-8.6.5/containers-0.6.0.1/libHScontainers-0.6.0.1-ghc8.6.5.so
1030168 ./lib/ghc-8.6.5/bin/ghc
944232 ./lib/ghc-8.6.5/unix-2.7.2.2/libHSunix-2.7.2.2_p.a
912784 ./lib/ghc-8.6.5/parsec-3.1.13.0/HSparsec-3.1.13.0.o
882882 ./lib/ghc-8.6.5/parsec-3.1.13.0/libHSparsec-3.1.13.0_p.a
864216 ./lib/ghc-8.6.5/ghci-8.6.5/libHSghci-8.6.5-ghc8.6.5.so
831656 ./lib/ghc-8.6.5/ghc-prim-0.5.3/libHSghc-prim-0.5.3-ghc8.6.5.so
828596 ./lib/ghc-8.6.5/binary-0.8.6.0/libHSbinary-0.8.6.0_p.a
808080 ./lib/ghc-8.6.5/array-0.5.3.0/HSarray-0.5.3.0.o
804816 ./lib/ghc-8.6.5/unix-2.7.2.2/HSunix-2.7.2.2.o
784128 ./lib/ghc-8.6.5/binary-0.8.6.0/HSbinary-0.8.6.0.o
692496 ./lib/ghc-8.6.5/ghc-boot-8.6.5/libHSghc-boot-8.6.5.a
668336 ./lib/ghc-8.6.5/pretty-1.1.3.6/libHSpretty-1.1.3.6.a
625512 ./lib/ghc-8.6.5/text-1.2.3.1/libHStext-1.2.3.1-ghc8.6.5.so
615616 ./lib/ghc-8.6.5/transformers-0.5.6.2/libHStransformers-0.5.6.2-ghc8.6.5.so
606946 ./lib/ghc-8.6.5/directory-1.3.3.0/libHSdirectory-1.3.3.0.a
572536 ./lib/ghc-8.6.5/haskeline-0.7.4.3/libHShaskeline-0.7.4.3-ghc8.6.5.so
513784 ./lib/ghc-8.6.5/pretty-1.1.3.6/libHSpretty-1.1.3.6_p.a
511096 ./lib/ghc-8.6.5/integer-gmp-1.0.2.0/libHSinteger-gmp-1.0.2.0.a
489504 ./lib/ghc-8.6.5/ghc-boot-8.6.5/HSghc-boot-8.6.5.o
484296 ./lib/ghc-8.6.5/integer-gmp-1.0.2.0/libHSinteger-gmp-1.0.2.0_p.a
479640 ./lib/ghc-8.6.5/pretty-1.1.3.6/HSpretty-1.1.3.6.o
470372 ./lib/ghc-8.6.5/xhtml-3000.2.2.1/libHSxhtml-3000.2.2.1.a
449378 ./lib/ghc-8.6.5/directory-1.3.3.0/libHSdirectory-1.3.3.0_p.a
449376 ./lib/ghc-8.6.5/ghc-boot-8.6.5/libHSghc-boot-8.6.5_p.a
449196 ./lib/ghc-8.6.5/process-1.6.5.0/libHSprocess-1.6.5.0.a
436736 ./lib/ghc-8.6.5/directory-1.3.3.0/HSdirectory-1.3.3.0.o
388632 ./lib/ghc-8.6.5/ghc-heap-8.6.5/libHSghc-heap-8.6.5.a
371676 ./lib/ghc-8.6.5/process-1.6.5.0/libHSprocess-1.6.5.0_p.a
370384 ./lib/ghc-8.6.5/bytestring-0.10.8.2/libHSbytestring-0.10.8.2-ghc8.6.5.so
359504 ./lib/ghc-8.6.5/time-1.8.0.2/libHStime-1.8.0.2-ghc8.6.5.so
356892 ./lib/ghc-8.6.5/xhtml-3000.2.2.1/libHSxhtml-3000.2.2.1_p.a
355520 ./lib/ghc-8.6.5/xhtml-3000.2.2.1/HSxhtml-3000.2.2.1.o
344410 ./lib/ghc-8.6.5/hpc-0.6.0.3/libHShpc-0.6.0.3.a
342050 ./lib/ghc-8.6.5/filepath-1.4.2.1/libHSfilepath-1.4.2.1.a
337008 ./lib/ghc-8.6.5/unix-2.7.2.2/libHSunix-2.7.2.2-ghc8.6.5.so
333404 ./lib/ghc-8.6.5/terminfo-0.4.1.2/libHSterminfo-0.4.1.2.a
330416 ./lib/ghc-8.6.5/bin/hpc
330392 ./lib/ghc-8.6.5/bin/hsc2hs
316024 ./lib/ghc-8.6.5/integer-gmp-1.0.2.0/HSinteger-gmp-1.0.2.0.o
304900 ./lib/ghc-8.6.5/mtl-2.2.2/libHSmtl-2.2.2.a
295632 ./lib/ghc-8.6.5/parsec-3.1.13.0/libHSparsec-3.1.13.0-ghc8.6.5.so
287688 ./lib/ghc-8.6.5/ghc-heap-8.6.5/HSghc-heap-8.6.5.o
286650 ./lib/ghc-8.6.5/filepath-1.4.2.1/libHSfilepath-1.4.2.1_p.a
283216 ./lib/ghc-8.6.5/process-1.6.5.0/HSprocess-1.6.5.0.o
266522 ./lib/ghc-8.6.5/hpc-0.6.0.3/libHShpc-0.6.0.3_p.a
264620 ./lib/ghc-8.6.5/terminfo-0.4.1.2/libHSterminfo-0.4.1.2_p.a
262504 ./lib/ghc-8.6.5/array-0.5.3.0/libHSarray-0.5.3.0-ghc8.6.5.so
248256 ./lib/ghc-8.6.5/ghc-heap-8.6.5/libHSghc-heap-8.6.5_p.a
247616 ./lib/ghc-8.6.5/mtl-2.2.2/HSmtl-2.2.2.o
241464 ./lib/ghc-8.6.5/hpc-0.6.0.3/HShpc-0.6.0.3.o
238440 ./lib/ghc-8.6.5/binary-0.8.6.0/libHSbinary-0.8.6.0-ghc8.6.5.so
230632 ./lib/ghc-8.6.5/filepath-1.4.2.1/HSfilepath-1.4.2.1.o
229912 ./lib/ghc-8.6.5/terminfo-0.4.1.2/HSterminfo-0.4.1.2.o
216148 ./lib/ghc-8.6.5/mtl-2.2.2/libHSmtl-2.2.2_p.a
202648 ./lib/ghc-8.6.5/ghc-boot-th-8.6.5/libHSghc-boot-th-8.6.5.a
199864 ./lib/ghc-8.6.5/bin/ghc-pkg
180264 ./lib/ghc-8.6.5/stm-2.5.0.0/libHSstm-2.5.0.0.a
173648 ./lib/ghc-8.6.5/pretty-1.1.3.6/libHSpretty-1.1.3.6-ghc8.6.5.so
161528 ./lib/ghc-8.6.5/stm-2.5.0.0/libHSstm-2.5.0.0_p.a
161512 ./lib/ghc-8.6.5/ghc-boot-th-8.6.5/libHSghc-boot-th-8.6.5_p.a
160304 ./lib/ghc-8.6.5/xhtml-3000.2.2.1/libHSxhtml-3000.2.2.1-ghc8.6.5.so
156736 ./lib/ghc-8.6.5/directory-1.3.3.0/libHSdirectory-1.3.3.0-ghc8.6.5.so
144690 ./lib/ghc-8.6.5/deepseq-1.4.4.0/libHSdeepseq-1.4.4.0.a
143816 ./lib/ghc-8.6.5/ghc-boot-8.6.5/libHSghc-boot-8.6.5-ghc8.6.5.so
139864 ./lib/ghc-8.6.5/ghc-boot-th-8.6.5/HSghc-boot-th-8.6.5.o
139618 ./lib/ghc-8.6.5/rts/libHSrts_thr_debug.a
120844 ./lib/ghc-8.6.5/rts/libHSrts_debug.a
120714 ./lib/ghc-8.6.5/deepseq-1.4.4.0/libHSdeepseq-1.4.4.0_p.a
113048 ./lib/ghc-8.6.5/stm-2.5.0.0/HSstm-2.5.0.0.o
110696 ./lib/ghc-8.6.5/mtl-2.2.2/libHSmtl-2.2.2-ghc8.6.5.so
110632 ./lib/ghc-8.6.5/integer-gmp-1.0.2.0/libHSinteger-gmp-1.0.2.0-ghc8.6.5.so
102240 ./lib/ghc-8.6.5/deepseq-1.4.4.0/HSdeepseq-1.4.4.0.o
90400 ./lib/ghc-8.6.5/rts/libHSrts_thr_debug-ghc8.6.5.so
90352 ./lib/ghc-8.6.5/ghc-heap-8.6.5/libHSghc-heap-8.6.5-ghc8.6.5.so
86464 ./lib/ghc-8.6.5/hpc-0.6.0.3/libHShpc-0.6.0.3-ghc8.6.5.so
86176 ./lib/ghc-8.6.5/terminfo-0.4.1.2/libHSterminfo-0.4.1.2-ghc8.6.5.so
77280 ./lib/ghc-8.6.5/rts/libHSrts_debug-ghc8.6.5.so
73824 ./lib/ghc-8.6.5/filepath-1.4.2.1/libHSfilepath-1.4.2.1-ghc8.6.5.so
65888 ./lib/ghc-8.6.5/process-1.6.5.0/libHSprocess-1.6.5.0-ghc8.6.5.so
62388 ./lib/ghc-8.6.5/ghc-compact-0.1.0.0/libHSghc-compact-0.1.0.0.a
57488 ./lib/ghc-8.6.5/rts/libHSrts-ghc8.6.5.so
51332 ./lib/ghc-8.6.5/ghc-compact-0.1.0.0/libHSghc-compact-0.1.0.0_p.a
49160 ./lib/ghc-8.6.5/deepseq-1.4.4.0/libHSdeepseq-1.4.4.0-ghc8.6.5.so
45368 ./lib/ghc-8.6.5/rts/libHSrts_thr_l-ghc8.6.5.so
43232 ./lib/ghc-8.6.5/rts/libHSrts_thr-ghc8.6.5.so
42984 ./lib/ghc-8.6.5/rts/libHSrts_l-ghc8.6.5.so
39216 ./lib/ghc-8.6.5/ghc-boot-th-8.6.5/libHSghc-boot-th-8.6.5-ghc8.6.5.so
38756 ./lib/ghc-8.6.5/libiserv-8.6.3/libHSlibiserv-8.6.3.a
36984 ./lib/ghc-8.6.5/stm-2.5.0.0/libHSstm-2.5.0.0-ghc8.6.5.so
36240 ./lib/ghc-8.6.5/ghc-compact-0.1.0.0/HSghc-compact-0.1.0.0.o
34396 ./lib/ghc-8.6.5/libiserv-8.6.3/libHSlibiserv-8.6.3_p.a
30674 ./lib/ghc-8.6.5/rts/libHSrts_thr.a
30172 ./lib/ghc-8.6.5/rts/libHSrts.a
25844 ./lib/ghc-8.6.5/rts/libHSrts_thr_l.a
24192 ./lib/ghc-8.6.5/libiserv-8.6.3/HSlibiserv-8.6.3.o
23932 ./lib/ghc-8.6.5/rts/libHSrts_l.a
9296 ./lib/ghc-8.6.5/bin/runghc
4048 ./lib/ghc-8.6.5/ghc-compact-0.1.0.0/libHSghc-compact-0.1.0.0-ghc8.6.5.so
1640 ./lib/ghc-8.6.5/bin/ghc-iserv-dyn
```
</details>
I can provide access to a powerful aarch64 builder if anybody needs it for testing: https://github.com/nix-community/aarch64-build-boxhttps://gitlab.haskell.org/ghc/ghc/-/issues/17265Source distributions contain rts.cabal2019-11-03T20:24:49ZJudah JacobsonSource distributions contain rts.cabal## Summary
GHC source distributions contain the file `rts.cabal`, which is generated by the build. That file should probably be excluded from source distributions.
## Steps to reproduce
```
$ tar -tf ghc-8.8.1-src.tar.xz | grep rts....## Summary
GHC source distributions contain the file `rts.cabal`, which is generated by the build. That file should probably be excluded from source distributions.
## Steps to reproduce
```
$ tar -tf ghc-8.8.1-src.tar.xz | grep rts.cabal
ghc-8.8.1/rts/rts.cabal.in
ghc-8.8.1/rts/rts.cabal
```
I also confirmed that this is still happening in HEAD with Hadrian:
```
$ tar -tf _build/source-dist/ghc-8.9.0.20190926-src.tar.xz | grep rts.cabal
_build/source-dist/ghc-8.9.0.20190926-src/rts/rts.cabal
_build/source-dist/ghc-8.9.0.20190926-src/rts/rts.cabal.in
```
## Expected behavior
The tarballs should not include `rts.cabal`.
## Environment
* GHC version used: 8.6.4 and 8.8.18.8.2https://gitlab.haskell.org/ghc/ghc/-/issues/17418MacOS notarization2024-03-27T12:34:17ZBen GamariMacOS notarizationIt seems that macOS Catalina may [require](https://appletoolbox.com/everything-you-need-to-know-about-app-notarization-in-macos-catalina/) that all "Apps" (which I believe covers GHC, although it is such a vague term that it is hard to t...It seems that macOS Catalina may [require](https://appletoolbox.com/everything-you-need-to-know-about-app-notarization-in-macos-catalina/) that all "Apps" (which I believe covers GHC, although it is such a vague term that it is hard to tell) must be ["notarized"](https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution). I suppose this is yet another hoop that we will have to jump through. Sigh...
# Temporary workaround
Users can explicitly mark the binary distribution as trusted after extraction by running `xattr -rc $path_to_bindist_directory`.
# References
* [NodeJS issue](https://github.com/nodejs/node/issues/29216)
* [golang issue](https://github.com/golang/go/issues/34986)
* [GraalVM issue](https://github.com/oracle/graal/issues/1724)
* [Mono issue](https://github.com/mono/mono/issues/15333)
* [a potential workaround](https://news.ycombinator.com/item?id=21180185) although apparently this requires that the user have `root`
* [macports thread](https://lists.macports.org/pipermail/macports-dev/2019-April/040593.html)
* [a useful StackOverflow question](https://apple.stackexchange.com/questions/356994/how-will-apples-notarization-impact-programs-written-in-python)
* [bit of prose from Apple](https://developer.apple.com/news/?id=09032019a) which states that all software released after Jan 2020 will need to use the [hardened runtime](https://developer.apple.com/documentation/security/hardened_runtime_entitlements)https://gitlab.haskell.org/ghc/ghc/-/issues/17726Offer lzip-compressed binary distributions2024-03-19T18:37:09ZBen GamariOffer lzip-compressed binary distributionsRecently @vmchale suggested that we use [lzip](https://www.nongnu.org/lzip/lzip.html) instead of `xz` for compressing binary distributions. While I think the ubiquity of `xz` is a good reason to continue offering it, I am not opposed to ...Recently @vmchale suggested that we use [lzip](https://www.nongnu.org/lzip/lzip.html) instead of `xz` for compressing binary distributions. While I think the ubiquity of `xz` is a good reason to continue offering it, I am not opposed to also offering lzip tarballs in the future. Afterall, we offered both `bzip2` and `xz` for many years.8.10.1Ben GamariBen Gamarihttps://gitlab.haskell.org/ghc/ghc/-/issues/177698.10.1 RC1: containers documentation gets installed with HADDOCK_DOCS=NO2022-02-24T15:10:52ZJens Petersen8.10.1 RC1: containers documentation gets installed with HADDOCK_DOCS=NO## Summary
Build ghc-8.10.1 RC1 with `HADDOCK_DOCS=NO` (in build.mk).
## Steps to reproduce
My `build.mk` containers
```
HADDOCK_DOCS = NO
BUILD_MAN = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
```
`make install` leads to the d...## Summary
Build ghc-8.10.1 RC1 with `HADDOCK_DOCS=NO` (in build.mk).
## Steps to reproduce
My `build.mk` containers
```
HADDOCK_DOCS = NO
BUILD_MAN = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
```
`make install` leads to the documentation for the containers-0.6.2.1 library being installed.
## Expected behavior
No haddocks to be installed.
## Environment
* GHC version used: ghc-8.10.0.20200123
Optional:
* Operating System: Fedora (Linux)
* System Architecture: x86_648.10.2Ben GamariBen Gamari