Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1427000 (gtk2hs-gcc7)

Summary: c2hs does not like gcc7 i686 __float128
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: gtk2hs-buildtoolsAssignee: Jens Petersen <petersen>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: fweimer, haskell-devel, petersen, releng
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-29 12:00:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1423041    

Description Jens Petersen 2017-02-27 02:39:27 UTC
Description of problem:
gtk2hs packages are failing to build on i686 in F26 Rawhide with gcc7
due to the addition of a __float128 alignment directive in stddef.h.

Configuring glib-
+ '[' -x Setup ']'
+ LANG=en_US.utf8
+ ./Setup build
Building glib-
Preprocessing library glib-
gtk2hsC2hs: Error in C header file.
/usr/lib/gcc/i686-redhat-linux/7/include/stddef.h:435: (column 3) [FATAL] 
  >>> Syntax error!
  The symbol `__float128' does not fit here.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. try to build ghc-glib, ghc-gio, ghc-pango, ghc-gtk3, etc

Actual results:
see above

Expected results:
no failure

Additional info:
Upstream report

Comment 1 Jens Petersen 2017-02-27 02:40:02 UTC
*** Bug 1423606 has been marked as a duplicate of this bug. ***

Comment 2 Jens Petersen 2017-02-27 02:42:48 UTC
*** Bug 1423609 has been marked as a duplicate of this bug. ***

Comment 3 Jens Petersen 2017-02-27 03:07:49 UTC
*** Bug 1423603 has been marked as a duplicate of this bug. ***

Comment 4 Jens Petersen 2017-02-27 03:08:36 UTC
*** Bug 1423602 has been marked as a duplicate of this bug. ***

Comment 5 Jens Petersen 2017-02-27 03:10:13 UTC
*** Bug 1423608 has been marked as a duplicate of this bug. ***

Comment 6 Jens Petersen 2017-02-27 03:11:54 UTC
*** Bug 1423605 has been marked as a duplicate of this bug. ***

Comment 7 Jens Petersen 2017-02-27 03:13:12 UTC
*** Bug 1423604 has been marked as a duplicate of this bug. ***

Comment 8 Florian Weimer 2017-02-27 06:42:33 UTC
c2hs should probably ship its own version of <stddef.h> because that header necessarily uses GNU extensions.

Comment 9 Fedora End Of Life 2017-02-28 12:26:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 10 Jens Petersen 2017-08-14 09:22:10 UTC
I found an upstream patch a while ago

Comment 11 Fedora End Of Life 2018-05-03 08:17:47 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 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 '26'.

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 26 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 12 Fedora End Of Life 2018-05-29 12:00:01 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.