[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FTBFS: fftw3



Paul Brossier <piem@altern.org> writes:

> well, steve's patch only added `--build $(DEB_HOST_GNU_TYPE)' to the
> configure flags. maybe this gets somehow wrong on sparc. 

The gcc flags are inconsistent between sparc and x86 (and former gcc
maintainers can forget which way round they are...).  -mcpu on sparc
selects the instruction/register set, not just the tuning as it does
on x86.

For sparc, -mtune=ultrasparc would be reasonable, on the basis that
number crunching normally should be tuned for recent machines.  On the
other hand, if it can be made to go significantly faster on ultras by
compiling with -mcpu=ultrasparc, it would be worth making multiple
library versions like openssl does.



Reply to: