Bug 415301

Summary: possible bug in gcc-fortran
Product: [Fedora] Fedora Reporter: Marek Mahut <mmahut>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-07 11:31:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marek Mahut 2007-12-07 07:54:59 UTC
Description of problem:

My package does not compile with gcc in rawhide.

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

Broken (buggy) version is 4.1.2-35
Working version is 4.1.2-33


How reproducible:

always

Steps to Reproduce:

Try to compile it with gcc-gfortran-4.1.2-35.

Actual results:

Package fails to compile.

Expected results:

Package is build successfully and can be included in Astronomy spin :)

Additional info:

Failed task in koji, rawhide:
http://koji.fedoraproject.org/koji/taskinfo?taskID=280485
Correct build in koji, F8: http://koji.fedoraproject.org/koji/taskinfo?taskID=280596
Source RPM: http://mmahut.fedorapeople.org/reviews/munipack/

Comment 1 Lubomir Kundrak 2007-12-07 08:03:17 UTC
Worth noting that the package only fails on ppc and ppc64.

Another thing is that fortran compiler doesn't return with a failure -- it just
seems to skip generating .mod file output for some reason. It is rather
unpredictable which .mod file doesn't get built (ie varies between the builds).

Comment 2 Lubomir Kundrak 2007-12-07 08:18:09 UTC
http://koji.fedoraproject.org/koji/getfile?taskID=280599&name=build.log

Seems like it's due to -j8 and the modules building concurently, due to poorly
specified dependencies of makefile targets. I tried a scratch build without
mflags, and it succeeded.

Comment 3 Jakub Jelinek 2007-12-07 11:31:47 UTC
That's just buggy Makefile.  Whenever you USE some_module, you need a Makefile
dependency on .o file which creates the corresponding *.mod file.