First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 121855
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Scott Robert Ladd <gentoo@coyotegulch.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
euler-1.61.0.ebuild.patch patch taking care of bad configure and gfortran invocation patch Markus Dittrich 2006-02-08 17:33 0000 1005 bytes Details | Diff
configure-gentoo.patch patch for autotool files patch Markus Dittrich 2006-02-08 17:33 0000 677 bytes Details | Diff
command-gcc4-gentoo.patch patch to fix invalid declaration in C file patch Markus Dittrich 2006-02-08 17:34 0000 341 bytes Details | Diff
euler-1.61.0.ebuild.patch updated patch for ebuild using autotools.eclass patch Markus Dittrich 2006-02-09 10:12 0000 882 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 121855 depends on: Show dependency tree
Show dependency graph
Bug 121855 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-06 11:25 0000
This is not necessarily a "bug" in gentoo as it is an issue that needs to be
addressed. When using GCC 4.0+ as the system compiler, many Fortran-dependent
packages do not compile, since their configurations do not yet support the new
gfortran compiler (which replaced GCC).

Among the packages affected:

sci-libs/blas-atlas
sci-libs/lapack-atlas
sci-chemistry/mpqc
sci-mathematics/euler

------- Comment #1 From Donnie Berkholz 2006-02-06 15:01:37 0000 -------
I've got patches for blas-atlas and lapack-atlas, but I haven't committed them
yet.

------- Comment #2 From Markus Dittrich 2006-02-06 15:52:12 0000 -------
I'll have a look at mpqc. 
I am pretty sure that sci-chemistry/gamess will also have problems, 
and I have some patches that might fix this, but simply haven't had 
the time to test them yet.

Thanks,
Markus

------- Comment #3 From Markus Dittrich 2006-02-07 06:36:15 0000 -------
(In reply to comment #0)
> Among the packages affected:
> 
> sci-chemistry/mpqc

mpqc compiles and works fine for me using gcc-4.0.2-r3.
Could you please post your error message.

Thanks,
Markus

------- Comment #4 From Donnie Berkholz 2006-02-07 09:25:29 0000 -------
Wouldn't mind some testing on my blas-atlas and lapack-atlas changes ...
http://dev.gentoo.org/~spyderous/overlay/sci-libs/

------- Comment #5 From Markus Dittrich 2006-02-07 14:33:17 0000 -------
(In reply to comment #4)
> Wouldn't mind some testing on my blas-atlas and lapack-atlas changes ...
> http://dev.gentoo.org/~spyderous/overlay/sci-libs/
> 
Both compile fine for me!
The only thing I noticed was that instead of completely removing the 
compiler check in the allow-any-gcc-version.patch one could also just 
add gcc-4.x to the list of allowed ones. Then again, considering the gcc
versions available in portage the check doesn't do anything anyway.

------- Comment #6 From Markus Dittrich 2006-02-08 17:29:54 0000 -------
(In reply to comment #0)
> sci-mathematics/euler

Ok, I had a go at euler-1.61.0 and the main problem isn't gfortran, but rather
an invalid declaration in one of the C files. Also, it seems that at least
on my setup the supplied configure completely ignores the supplied CFLAGS.
I think I've fixed it all and it compiles and runs fine for me. I'll attach the 
patches below; if somebody could give them a try that would be great.

Thanks,
Markus

------- Comment #7 From Markus Dittrich 2006-02-08 17:33:10 0000 -------
Created an attachment (id=79289) [edit]
patch taking care of bad configure and gfortran invocation

------- Comment #8 From Markus Dittrich 2006-02-08 17:33:52 0000 -------
Created an attachment (id=79290) [edit]
patch for autotool files

------- Comment #9 From Markus Dittrich 2006-02-08 17:34:45 0000 -------
Created an attachment (id=79291) [edit]
patch to fix invalid declaration in C file

------- Comment #10 From Markus Dittrich 2006-02-09 10:12:22 0000 -------
Created an attachment (id=79343) [edit]
updated patch for ebuild using autotools.eclass

------- Comment #11 From John Sonnenschein 2006-02-12 02:58:35 0000 -------
sci-mathematics/octave also needs to be added to the list

------- Comment #12 From Markus Dittrich 2006-02-12 07:48:25 0000 -------
The following two packages should now work properly with gfortran/gcc-4.x

sci-mathematics/euler
sci-chemistry/gamess

------- Comment #13 From Markus Dittrich 2006-02-12 10:06:44 0000 -------
(In reply to comment #11)
> sci-mathematics/octave also needs to be added to the list
>

sci-mathematics/octave-2.1.72 compiles fine here with gcc-4.0.2-r3.
Could you please give some more details regarding your compile
failure?

Thanks,
Markus

------- Comment #14 From Donnie Berkholz 2006-02-12 10:13:58 0000 -------
One thing worth noting is that applications can compile with the gcc-4.1
gfortran and fail with the gcc-4.0 gfortran, so if you test with 4.1, make sure
you also test with 4.0.

------- Comment #15 From Markus Dittrich 2006-02-12 18:12:09 0000 -------
(In reply to comment #14)
> One thing worth noting is that applications can compile with the gcc-4.1
> gfortran and fail with the gcc-4.0 gfortran, so if you test with 4.1, make sure
> you also test with 4.0.
> 

Thanks for pointing that out - I am currently testing with gcc-4.0.2 only!

------- Comment #16 From Donnie Berkholz 2006-03-06 11:17:06 0000 -------
*** Bug 125205 has been marked as a duplicate of this bug. ***

------- Comment #17 From Jakub Moc 2006-03-10 02:21:51 0000 -------
*** Bug 125682 has been marked as a duplicate of this bug. ***

------- Comment #18 From Patrizio Bassi 2006-03-10 02:41:57 0000 -------
scilab missing, i opened a specific bug for that some days ago

------- Comment #19 From Jakub Moc 2006-03-18 12:52:43 0000 -------
*** Bug 126710 has been marked as a duplicate of this bug. ***

------- Comment #20 From Darren Dale 2006-03-18 14:55:43 0000 -------
(In reply to comment #4)
> Wouldn't mind some testing on my blas-atlas and lapack-atlas changes ...
> http://dev.gentoo.org/~spyderous/overlay/sci-libs/
> 

No problems to report with gcc-4.1 on a P4. Thanks!

------- Comment #21 From Donnie Berkholz 2006-03-21 11:34:52 0000 -------
Committed blas-atlas and lapack-atlas fixes.

------- Comment #22 From Donnie Berkholz 2006-03-21 11:49:20 0000 -------
(In reply to comment #5)
> (In reply to comment #4)
> > Wouldn't mind some testing on my blas-atlas and lapack-atlas changes ...
> > http://dev.gentoo.org/~spyderous/overlay/sci-libs/
> > 
> Both compile fine for me!
> The only thing I noticed was that instead of completely removing the 
> compiler check in the allow-any-gcc-version.patch one could also just 
> add gcc-4.x to the list of allowed ones. Then again, considering the gcc
> versions available in portage the check doesn't do anything anyway.

Yeah, the reason I didn't do that is so it's scalable to future gcc versions as
well. I'd rather be able to completely forget about that patch instead of
touching it even once a year or whatever.

------- Comment #23 From Jakub Moc 2006-05-30 01:57:37 0000 -------
*** Bug 134880 has been marked as a duplicate of this bug. ***

------- Comment #24 From Donnie Berkholz 2006-06-04 03:16:07 0000 -------
If there are any remaining applications in this bug, please open individual
bugs for them.

First Last Prev Next    No search results available      Search page      Enter new bug