Bug 244788 - lang/ghc: update bootstrap for powerpc64 elfv2
Summary: lang/ghc: update bootstrap for powerpc64 elfv2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Some People
Assignee: freebsd-haskell (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-13 10:30 UTC by Piotr Kubaj
Modified: 2020-03-13 18:17 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (haskell)


Attachments
patch (1.73 KB, patch)
2020-03-13 10:30 UTC, Piotr Kubaj
no flags Details | Diff
v2 (1.73 KB, patch)
2020-03-13 15:15 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (haskell)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2020-03-13 10:30:11 UTC
Created attachment 212378 [details]
patch

After ncurses bump, the previous bootstrap doesn't work.

Adding powerpc64 libraries for compat12x is not possible, because 12 is elfv1.

New bootstrap at https://people.freebsd.org/~pkubaj/ghc-8.6.5-boot-powerpc64-freebsd-elfv2.tar.xz
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2020-03-13 10:37:05 UTC
The bootstrap is huge. I don't really mind, but if you want to reroll it, turn DOCS, DYNAMIC, GMP and PROFILE options off when creating a bootstrap. This should significantly reduce bootstrap size.
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2020-03-13 15:15:51 UTC
Created attachment 212384 [details]
v2

Is that ok?
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-03-13 18:16:14 UTC
A commit references this bug:

Author: arrowd
Date: Fri Mar 13 18:15:40 UTC 2020
New revision: 528369
URL: https://svnweb.freebsd.org/changeset/ports/528369

Log:
  lang/ghc: Unhreak on powerpc64 by using new bootstrap compiler.

  PR:		244788
  Submitted by:	pkubaj

Changes:
  head/lang/ghc/Makefile
  head/lang/ghc/distinfo