Bug 415301 - possible bug in gcc-fortran
Summary: possible bug in gcc-fortran
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-07 07:54 UTC by Marek Mahut
Modified: 2007-12-07 11:31 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-07 11:31:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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