On Mon, 2007-02-26 at 09:17 -0600, Clark Williams wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anthony Joseph Seward wrote:
> On Sat, 2007-02-24 at 00:13 +0000, Karanbir Singh wrote:
>> Anthony Joseph Seward wrote:
>>> On Fri, 2007-02-23 at 17:42 -0600, Connie Sieh wrote:
>>>> On Fri, 23 Feb 2007, Anthony Joseph Seward wrote:
>>>>
>>>>> My situation is this: my build system is running Scientific Linux
4.4
>>>>> (basically RHEL 4) with mock 0.6.12. It fails to build a particular
RPM
>>>>> when trying to compile a fortran file. The error issued is
>>>>>
>>>>> mkscrlib.f:381: internal compiler error: Illegal instruction
>>>> What rpm are you trying to build?
>>>>
>>> An in-house application for work.
>> if you post your .src.rpm online somewhere, someone might be able to
>> help debug the issue.
>>
>
> I don't think the .src.rpm is the issue.
>
> Again, using the same version of mock, the RPM will build when mock is
> hosted on an FC 6 system but not when running SL 4.4.
>
> Tony
Hmmm. That sounds like the version of gfortran on SL4.4 has a problem.
What's the version of the fortran package (gcc4-gfortran or gcc-gfortran)?
Also, if you run the build by hand on SL4.4, do you still get the
internal compiler error? If not, then there's something going on in the
environment set up by mock. If you do, then you have a toolchain issue
with gfortran and will need to take it up with your distro vendor :).
Here are the build attempts:
Target: SL 4.4
(gcc 3.4, g77)
Native build: OK
Mock build:
FC 6 host: OK
SL 4.4 host: OK
Target: FC 6
(gcc 4.1, gfortran)
Native build: OK
Mock build:
FC 6 host: OK
SL 4.4 host: FAIL: internal compiler error using gfortran
This leads me to believe that there is a problem with mock, but I have
no idea where to look.
Tony