Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132363 - sci-libs/blas-atlas needs fix for config.c to compile with gcc-4.* on PPC
Summary: sci-libs/blas-atlas needs fix for config.c to compile with gcc-4.* on PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-05 10:21 UTC by Matti Bickel (RETIRED)
Modified: 2006-05-07 14:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Bickel (RETIRED) gentoo-dev 2006-05-05 10:21:20 UTC
Ok, blas-atlas checks for Altivec and requires >= gcc-3.3 to compile altivec code.
Sadly it checks it like that:
if (major >= 3 && minor >= 3)

Which is good, but not until Gnu decides to ship >=gcc-4.3.*
Therefore i've changed it to read:
if ((major >= 3 && minor >= 3)||(major >= 4))

Maybe that should be added to 3.7.11-allow-any-gcc-version.patch (as it already deals with gcc-issues)?
Comment 1 David Gurvich 2006-05-07 09:05:06 UTC
Compiles with no problem using gcc-4.1.0 on ppc
'interactive=1 emerge blas-atlas'
Allows you to ignore the version check during configuration with a series of y/n questions.  
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2006-05-07 14:57:44 UTC
Hi Matti,

Thanks for pointing this out. I've updated the 3.7.11-allow-any-gcc-version.patch
to remove the compiler check for altivec completely since it is not really needed
considering the gcc versions available in portage.

Thanks,
Markus