[Git][ghc/ghc][wip/toolchain-selection] 10 commits: configure: Revert ripping out of toolchain selection logic

Rodrigo Mesquita (@alt-romes) gitlab at gitlab.haskell.org
Mon Jun 26 14:52:56 UTC 2023



Rodrigo Mesquita pushed to branch wip/toolchain-selection at Glasgow Haskell Compiler / GHC


Commits:
5312975c by Rodrigo Mesquita at 2023-06-26T15:52:45+01:00
configure: Revert ripping out of toolchain selection logic

- - - - -
5d82b556 by Rodrigo Mesquita at 2023-06-26T15:52:45+01:00
Stop configuring into settings unused Ld command

- - - - -
c82aff8c by Rodrigo Mesquita at 2023-06-26T15:52:45+01:00
configure: Create and validate toolchain target file

- - - - -
a765ff7c by Rodrigo Mesquita at 2023-06-26T15:52:45+01:00
Don't pass options to ghc-toolchain, it should arrive at the same conclusion as configure for now

- - - - -
89de6cfe by Rodrigo Mesquita at 2023-06-26T15:52:45+01:00
ghc-toolchain: set CC LD plat. dependent flags

A lot to be said about this approach, we might want to re-do this all
eventually...
Perhaps I ought to add a TODO at the top level of these functions?

We might also not do it altogether, some of these might be outdated?

- - - - -
e498cb2b by Rodrigo Mesquita at 2023-06-26T15:52:45+01:00
Configure -Wl,--no-as-needed

- - - - -
127a083b by Rodrigo Mesquita at 2023-06-26T15:52:45+01:00
ghc-toolchain: Create default.target in the bindist

- - - - -
3dd4ddf4 by Rodrigo Mesquita at 2023-06-26T15:52:45+01:00
Part of -Wl,--no-as-needed saga

- - - - -
aa18d4a4 by Rodrigo Mesquita at 2023-06-26T15:52:45+01:00
Split GHC.Platform.ArchOS from ghc-boot into ghc-platform

- - - - -
549acef6 by Rodrigo Mesquita at 2023-06-26T15:52:45+01:00
Use ghc-platform instead of ghc-boot

del async dep

- - - - -


30 changed files:

- configure.ac
- + default.target.in
- distrib/configure.ac.in
- ghc/Main.hs
- hadrian/bindist/Makefile
- hadrian/bindist/config.mk.in
- hadrian/cabal.project
- hadrian/hadrian.cabal
- hadrian/src/Oracles/Setting.hs
- hadrian/src/Packages.hs
- hadrian/src/Rules/BinaryDist.hs
- hadrian/src/Rules/Generate.hs
- hadrian/src/Rules/ToolArgs.hs
- hadrian/src/Settings/Default.hs
- hadrian/stack.yaml
- libraries/ghc-boot/ghc-boot.cabal.in
- + libraries/ghc-platform/CHANGELOG.md
- + libraries/ghc-platform/LICENSE
- + libraries/ghc-platform/ghc-platform.cabal
- libraries/ghc-boot/GHC/Platform/ArchOS.hs → libraries/ghc-platform/src/GHC/Platform/ArchOS.hs
- + m4/check_for_gold_t22266.m4
- + m4/check_ld_copy_bug.m4
- + m4/find_ld.m4
- m4/fp_cpp_cmd_with_args.m4
- + m4/fp_find_nm.m4
- + m4/fp_gcc_supports_no_pie.m4
- + m4/fp_gcc_supports_via_c_flags.m4
- + m4/fp_gcc_version.m4
- m4/fp_hs_cpp_cmd_with_args.m4
- + m4/fp_link_supports_no_as_needed.m4


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/5e3cabd7f53d99ef25464bf0e5280b2f418be81b...549acef6786090dc81ece120d2e0a4c52df2980d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/5e3cabd7f53d99ef25464bf0e5280b2f418be81b...549acef6786090dc81ece120d2e0a4c52df2980d
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230626/cc9c9ac9/attachment.html>


More information about the ghc-commits mailing list