Bug 415301 - possible bug in gcc-fortran
possible bug in gcc-fortran
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-12-07 02:54 EST by Marek Mahut
Modified: 2007-12-07 06:31 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-07 06:31:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Marek Mahut 2007-12-07 02:54:59 EST
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:


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:
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 03:03:17 EST
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 03:18:09 EST

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 06:31:47 EST
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.