Bug 1107972

Summary: Segmentation fault when compiling gmic with openmp
Product: [Fedora] Fedora Reporter: Olivier Samyn <code>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: berrange, jakub, law
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-4.8.3-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-27 02:24:07 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:
Embargoed:

Description Olivier Samyn 2014-06-11 07:46:16 UTC
Description of problem:
gcc crashes while compiling latest gmic code that includes openmp directives.

Version-Release number of selected component (if applicable):
gcc --version
gcc (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7)

Steps to Reproduce:
1. download & extract latest gmic source code: 
   curl -L http://sourceforge.net/projects/gmic/files/gmic_1.5.9.3_beta.tar.gz/download | tar zx 
2. cd gmic-1.5.9.3/src/ && make linux

Actual results:
internal compiler error: Segmentation fault

Workaround:
Compiles and work with latest koji build: gcc-4.8.2-18.fc20 (id 516900)

A simple fix should be to release this build as an update.

Comment 1 Daniel Berrangé 2014-06-24 13:37:29 UTC
Confirmed that this is broken for me with gcc-4.8.2-7.fc20.x86_64 and that gcc-4.8.2-18.fc20 fixes the build.  I'm attempting to get GMIC packages into Fedora, so having the new GCC build issued as an F20 update would be very helpful.

Comment 2 Fedora Update System 2014-06-25 09:03:07 UTC
gcc-4.8.3-1.fc20,libtool-2.4.2-24.fc20,gcc-python-plugin-0.12-16.fc20,dragonegg-3.4-0.4.rc0.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/gcc-4.8.3-1.fc20,libtool-2.4.2-24.fc20,gcc-python-plugin-0.12-16.fc20,dragonegg-3.4-0.4.rc0.fc20

Comment 3 Fedora Update System 2014-06-26 01:55:12 UTC
Package gcc-4.8.3-1.fc20, libtool-2.4.2-24.fc20, gcc-python-plugin-0.12-16.fc20, dragonegg-3.4-0.4.rc0.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gcc-4.8.3-1.fc20 libtool-2.4.2-24.fc20 gcc-python-plugin-0.12-16.fc20 dragonegg-3.4-0.4.rc0.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7741/gcc-4.8.3-1.fc20,libtool-2.4.2-24.fc20,gcc-python-plugin-0.12-16.fc20,dragonegg-3.4-0.4.rc0.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-06-27 02:24:07 UTC
gcc-4.8.3-1.fc20, libtool-2.4.2-24.fc20, gcc-python-plugin-0.12-16.fc20, dragonegg-3.4-0.4.rc0.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.