Page MenuHomeFreeBSD

lang/ghc: Update to 8.4.2.
AbandonedPublic

Authored by tcberner on Apr 7 2018, 4:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 9:50 PM
Unknown Object (File)
Wed, Dec 4, 1:56 PM
Unknown Object (File)
Tue, Dec 3, 6:04 AM
Unknown Object (File)
Sun, Dec 1, 8:29 PM
Unknown Object (File)
Sun, Dec 1, 7:55 AM
Unknown Object (File)
Sat, Nov 30, 9:08 PM
Unknown Object (File)
Sat, Nov 30, 10:58 AM
Unknown Object (File)
Sat, Nov 30, 10:07 AM

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 Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 16472
Build 16390: arc lint + arc unit

Event Timeline

  • 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?

lang/ghc/Makefile
266

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

  • New round of updating hs-ports. Make devel/hs-cabal-install compile.

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.

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.

  • Incorporate patch from PR 225834.
  • More hs-ports updates.
  • Another round of hs-ports updates.

How many more do you have to go through?

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

  • 20 more hs-ports updated.
  • A few hs-ports updates. This brings down failed/skipped numbers to 56/85.
  • Still updating hs-ports.
  • Update some hs-ports. Failed/Skipped ports numbers are down to 35/55.
  • Some more hs-ports updates.
  • Remove hs-stm port. STM package is in the base now.
  • More hs-ports updates.
  • Update devel/stack to the recent release.
  • Remove hs-text and hs-parsec ports and update many others. Failed/Skipped/Ignored numbers are 16/27/13.
  • Last iteration of hs-ports updates. All hs-ports are now either compile, or are ignored.
  • Connect newly added ports to their category/Makefile.
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.
  • Use IGNORE= instead of BROKEN=

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)
  • Add bootstrap compiler for i386 arch. Update amd64 bootstrap to 8.4.2.
  • 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 abandoned this revision.
tcberner edited reviewers, added: arrowd; removed: tcberner.

Did not auto close