Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 592590

Summary: app-text/docbook-sgml-utils-0.6.14-r1: building w/gcc-6: [Makefile:300: backend-spec.html] Segmentation fault (core dumped)
Product: Gentoo Linux Reporter: Francesco Turco <mail>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: build log for docbook-sgml-utils-0.6.14-r1 using gcc-6.2.0
emerge --info

Description Francesco Turco 2016-08-31 13:08:15 UTC
Created attachment 444636 [details]
build log for docbook-sgml-utils-0.6.14-r1 using gcc-6.2.0

After upgrading to GCC 6.2.0 I can't build app-text/docbook-sgml-utils-0.6.14-r1 anymore. It used to work with GCC 5.4.0.

-------

# emerge -pv docbook-sgml-utils 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-text/docbook-sgml-utils-0.6.14-r1::gentoo  USE="-jadetex" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

-----
Comment 1 Francesco Turco 2016-08-31 13:08:32 UTC
Created attachment 444638 [details]
emerge --info
Comment 2 Francesco Turco 2016-08-31 15:02:48 UTC
In order to fix this it seems you have to rebuild app-text/openjade first by adding -fno-lifetime-dse to CXXFLAGS in the ebuild:

> append-cxxflags -fno-lifetime-dse

Then you can rebuild app-text/docbook-sgml-utils.

Please see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534
Comment 3 David Seifert gentoo-dev 2016-09-14 22:28:40 UTC
commit fc7a9facd7afd81edbc0d408f53e7e714d2a27d5
Author: David Seifert <soap@gentoo.org>
Date:   Thu Sep 15 00:27:11 2016 +0200

    app-text/openjade: Allow for compiling with GCC 6
    
    Gentoo-bug: 592590
    * Fix overlong DESCRIPTION