Bug#571572: Revert to gcc-4.3 with -O3?

Sylvestre Ledru sylvestre at debian.org
Mon Oct 4 21:54:19 UTC 2010


Le mardi 28 septembre 2010 à 17:53 -0500, Kumar Appaiah a écrit :
> Dear Sylvestre,
> 
> Given that the gcc upstream has said that it is infeasible to fix this
> bug in gcc-4.4, and that gcc-4.3 is going to be part of squeeze (it is
> used to build the kernel), I was wondering what you felt about
> going back to building blas with -O3 and gcc-4.3. Do you feel strongly
> against this, or are you open to this consideration?
I am open. However, I am not planning to implement your suggestion
because other might felt into this bug ;)

I would like to do something like:
if GCCversion == 4.3 && arch=*amd64
CFLAGS=-O2
else
CFLAGS=-O3
endif

However, I don't know if there is a clean way to detect the gcc
version ?!

Cheers,
Sylvestre






More information about the debian-science-maintainers mailing list