Page MenuHomeFreeBSD

lang/ghc: Update bootstrap on arm to 8.10.7
ClosedPublic

Authored by mikael on Sep 27 2021, 11:07 AM.
Tags
None
Referenced Files
F103323558: D32155.diff
Sat, Nov 23, 1:36 PM
Unknown Object (File)
Thu, Nov 21, 5:37 PM
Unknown Object (File)
Tue, Nov 19, 10:44 AM
Unknown Object (File)
Sun, Nov 10, 5:29 PM
Unknown Object (File)
Sun, Nov 10, 4:54 PM
Unknown Object (File)
Sun, Nov 10, 4:49 PM
Unknown Object (File)
Tue, Nov 5, 10:14 AM
Unknown Object (File)
Wed, Oct 30, 5:05 PM

Details

Summary

Update bootstrap on arm to 8.10.7
Pass --host to the configure script otherwise ghc thinks we are crosscompiling (only affects armv6 and armv7)
Remove CONFIGURE_ENV, it is now handled in patch-aclocal.m4 (submitted upstream as https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6599)

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mikael created this revision.

Looks good, thanks for upstreaming the patch!

Did you upload bootstraps somewhere?

This revision is now accepted and ready to land.Sep 27 2021, 11:42 AM

Looks good, thanks for upstreaming the patch!

Did you upload bootstraps somewhere?

Yes, they are on freefall:/home/mikael/ghc

markmi_dsl-only.net added inline comments.
lang/ghc/Makefile
203

So CONFIGURE_ENV_BOOTSTRAP, if non-empty (i.e, ${BOOT_LLVM_VERSION} != ${LLVM_VERSION}), overrode CONFIGURE_ENV 's LLC, OPT, CLANG, and CC for phase_0_build, phase_1_build, and final? In such a context, LLVM_VERSION validly went unused for all phases for all 4 of the related commands generated?

And, after the change, phase_0_build, phase_1_build, and final instead now ignore LLVM_VERSION and BOOT_LLVM_VERSION relative to llc, opt, clang, and cc commands, even when ${BOOT_LLVM_VERSION} != ${LLVM_VERSION} ? Is this expected to be appropriate for modern enough llvm* ?