Bug 1684998 - gi-gtk fails to build on armv7hl
Summary: gi-gtk fails to build on armv7hl
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: ghc-gi-gtk
Version: rawhide
Hardware: armv7hl
OS: Unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
Reported: 2019-03-04 06:11 UTC by Jens Petersen
Modified: 2020-07-20 05:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)

Description Jens Petersen 2019-03-04 06:11:53 UTC
Description of problem:
Summary pretty much says it all

Actual results:
[484 of 498] Compiling GI.Gtk.Functions ( GI/Gtk/Functions.hs, dist/build/GI/Gtk/Functions.o )
BUILDSTDERR: ghc: internal error: getMBlock: mmap: Invalid argument
BUILDSTDERR:     (GHC version 8.4.4 for arm_unknown_linux)
BUILDSTDERR:     Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
BUILDSTDERR: /var/tmp/rpm-tmp.McmHQu: line 52:  5271 Aborted                 (core dumped) ./Setup build

Comment 1 Jens Petersen 2019-03-04 06:13:49 UTC
I filed an upstream bug: https://ghc.haskell.org/trac/ghc/ticket/16383

Comment 2 Ben Cotton 2020-04-30 22:15:41 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Jens Petersen 2020-07-20 05:31:59 UTC
Building with -O0 does not seem to help (on ghc-8.8.4):

[473 of 504] Compiling GI.Gtk.Objects.TextBuffer ( GI/Gtk/Objects/TextBuffer.hs, dist/build/GI/Gtk/Objects/TextBuffer.o )
ghc: out of memory (requested 2097152 bytes)

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