Bug 1806116 - [armv7hl] FTBFS ghc-lib-parser with -O1
Summary: [armv7hl] FTBFS ghc-lib-parser with -O1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hlint
Version: 32
Hardware: armv7hl
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-22 08:46 UTC by Jens Petersen
Modified: 2021-02-11 01:52 UTC (History)
1 user (show)

Fixed In Version: hlint-2.1.26-2.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-11 01:52:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jens Petersen 2020-02-22 08:46:45 UTC
Description of problem:
When building recent hlint, ghc-lib-parser failed to build on F32 armv7hl.

Version-Release number of selected component (if applicable):
ghc-8.6.5-102.fc32.armv7hl

Steps to Reproduce:
1. Build hlint (or ghc-lib-parser not yet packaged) on armv7hl

Actual results:
Building library for ghc-lib-parser-8.8.0.20190424..
:
[146 of 205] Compiling HsLit            ( compiler/hsSyn/HsLit.hs, dist/build/HsLit.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 8.6.5 for arm-unknown-linux):
	idInfo
  p_a1om
  Call stack:
      CallStack (from HasCallStack):
        callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable
        pprPanic, called at compiler/basicTypes/Var.hs:541:34 in ghc:Var
Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Expected results:
No crash

Additional info:
To be reported upstream after more investigation.

Comment 1 Jens Petersen 2020-07-20 11:40:44 UTC
It looks like hlint can build with -O0 at least for ghc-8.8.4/lts-16 (hlint-3.1.6).

Comment 2 Jens Petersen 2021-02-01 09:01:04 UTC
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=61018990
rebasing to F33 GA

Comment 3 Jens Petersen 2021-02-01 10:46:46 UTC
Scratch take 2: https://koji.fedoraproject.org/koji/taskinfo?taskID=61024991

Comment 4 Jens Petersen 2021-02-01 15:28:54 UTC
Take 3: https://koji.fedoraproject.org/koji/taskinfo?taskID=61042513

Comment 5 Fedora Update System 2021-02-03 01:31:02 UTC
FEDORA-2021-cde23f5448 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cde23f5448`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cde23f5448

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-02-11 01:52:22 UTC
FEDORA-2021-cde23f5448 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.