Page MenuHomeFreeBSD

lang/ghc: Update to 8.4.2.
AbandonedPublic

Authored by tcberner on Apr 7 2018, 4:55 PM.

Details

Summary

This revision updates lang/ghc as well as bootstrap compiler to 8.4.1. Also switch GHC to use ld.bfd linker, because when lld is used broken executables are produced.

Things to do:

  • Update */hs-* ports. Most of them fail with the new compiler.
  • Package the bootstrap compiler for i386.
  • exp-runs for both arches for all supported versions.

Diff Detail

Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16472
Build 16390: arc lint + arc unit

Event Timeline

arrowd created this revision.Apr 7 2018, 4:55 PM
arrowd updated this revision to Diff 41242.Apr 7 2018, 8:40 PM
  • Update some hs-ports removing those that aren't compilable anymore and have no updates upstream.

Thanks for working on this

lang/ghc/Makefile
266

Sure about this change?

arrowd added inline comments.Apr 8 2018, 8:14 AM
lang/ghc/Makefile
266

Without last * libraries with names like libffi.so.6 were not stripped and stage-qa was complaining.

arrowd updated this revision to Diff 41300.Apr 9 2018, 8:00 PM
  • New round of updating hs-ports. Make devel/hs-cabal-install compile.
emaste added a subscriber: emaste.Apr 10 2018, 7:10 PM

Still have broken binaries w/ lld in 8.4.1? AFAICT upstream reported things are working with lld as of 8.4.1 and lld may even be preferred. Maybe ghc+lld works on Linux but not on FreeBSD; if so that would also be an interesting data point.

Still have broken binaries w/ lld in 8.4.1? AFAICT upstream reported things are working with lld as of 8.4.1 and lld may even be preferred. Maybe ghc+lld works on Linux but not on FreeBSD; if so that would also be an interesting data point.

Yes, I plan to closely look at it after this update.

arrowd updated this revision to Diff 41340.Apr 10 2018, 8:09 PM
  • More hs-ports updates.
In D15005#316497, @6yearold_gmail.com wrote:

Yes, I plan to closely look at it after this update.

Great, thanks; let me know if there's anything you'd like me to do to help.

arrowd updated this revision to Diff 41362.Apr 11 2018, 11:36 AM
  • Incorporate patch from PR 225834.
  • More hs-ports updates.
arrowd updated this revision to Diff 41377.Apr 11 2018, 7:03 PM
  • Another round of hs-ports updates.
arrowd updated this revision to Diff 41450.Apr 13 2018, 9:27 PM
  • More hs-ports updates.

How many more do you have to go through?

arrowd updated this revision to Diff 41470.Apr 14 2018, 9:15 PM

Some more hs-ports updates. At this points building */hs-* in poudriere yields 82 failed and 161 skipped ports.

arrowd updated this revision to Diff 41491.Apr 15 2018, 8:51 PM
  • 20 more hs-ports updated.
arrowd updated this revision to Diff 41593.Apr 17 2018, 8:23 PM
  • Some hs-ports updates.
arrowd updated this revision to Diff 41663.Apr 19 2018, 7:21 PM
  • More hs-ports updates.
arrowd updated this revision to Diff 41700.Apr 20 2018, 7:53 PM
  • A few hs-ports updates. This brings down failed/skipped numbers to 56/85.
arrowd updated this revision to Diff 41732.Apr 22 2018, 8:25 PM
  • Still updating hs-ports.
arrowd updated this revision to Diff 41840.Apr 25 2018, 10:36 AM
  • Update some hs-ports. Failed/Skipped ports numbers are down to 35/55.
arrowd updated this revision to Diff 41958.Apr 28 2018, 7:56 PM
  • Some more hs-ports updates.
  • Remove hs-stm port. STM package is in the base now.
  • More hs-ports updates.
arrowd updated this revision to Diff 41967.Apr 29 2018, 11:52 AM
  • Update devel/stack to the recent release.
arrowd updated this revision to Diff 41977.Apr 29 2018, 8:22 PM
  • Remove hs-text and hs-parsec ports and update many others. Failed/Skipped/Ignored numbers are 16/27/13.
arrowd updated this revision to Diff 42035.May 1 2018, 3:41 PM
  • Last iteration of hs-ports updates. All hs-ports are now either compile, or are ignored.
arrowd updated this revision to Diff 42037.May 1 2018, 4:45 PM
  • Connect newly added ports to their category/Makefile.
tcberner added inline comments.May 1 2018, 4:52 PM
devel/hs-threadscope/Makefile
19

^ in others you used IGNORE

security/hs-cryptonite-conduit/Makefile
1

why was this file copied from hs-crypthoash-md5?

arrowd marked an inline comment as done.May 1 2018, 7:32 PM
arrowd updated this revision to Diff 42054.
  • Use IGNORE= instead of BROKEN=
arrowd updated this revision to Diff 42061.May 2 2018, 8:11 AM
  • Upgrade GHC to 8.4.2.

What's the status on i386?

arrowd added a comment.May 2 2018, 9:16 AM

What's the status on i386?

I've started producing bootstrap compiler for it. After that, all FreeBSD version of i386 arch can be tested too.

arrowd retitled this revision from lang/ghc: Update to 8.4.1. to lang/ghc: Update to 8.4.2..May 2 2018, 9:17 AM
arrowd edited the summary of this revision. (Show Details)
arrowd edited the test plan for this revision. (Show Details)
arrowd updated this revision to Diff 42074.May 2 2018, 7:34 PM
  • Add bootstrap compiler for i386 arch. Update amd64 bootstrap to 8.4.2.
arrowd edited the summary of this revision. (Show Details)May 2 2018, 7:35 PM
arrowd updated this revision to Diff 42262.May 8 2018, 7:34 AM
  • Rebase onto master.
  • Update textproc/cgrep.
  • Unbreak xmonad by pulling a patch from github.

git apply complained about some whitespace issues:

<stdin>:976: trailing whitespace.
 
<stdin>:980: trailing whitespace.
 
<stdin>:1384: trailing whitespace.
  * provide a base like sets of modules that provide a consistent set of 
<stdin>:1389: trailing whitespace.
  * Better numerical classes that better represent mathematical thing 
<stdin>:1392: trailing whitespace.
  * Usual partial functions distinguished through type system
tcberner edited reviewers, added: arrowd; removed: tcberner.Jun 1 2018, 7:51 PM
tcberner commandeered this revision.
tcberner abandoned this revision.

Did not auto close