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

Re: PPC64: gcc currently compiles for power4 by default, causing glibc's sqrtf to fail on e6500



On 02/06/2018 07:29 PM, Bas Vermeulen wrote:
> I get that. But configure in the gcc sources doesn't actually process those. So while they are in rules2, it doesn't actually change anything.
> 
> See https://github.com/gcc-mirror/gcc/blob/da8dff89fa9398f04b107e388cb706517ced9505/configure and search for with-cpu (which would catch both --with-cpu-32 and
> --with-cpu-64), and you won't find it there.

I really don't think that Matthias Klose had put those there without testing.

"--with-cpu-*" is a common configure switch supported by gcc across all
architectures. We use it on sparc64 as well, for example to set the
default CPU to UltraSPARC for 32-bit sparc.

Also, you're looking at the wrong file. It's in gcc/gcc/config.gcc:

> https://github.com/gcc-mirror/gcc/blob/master/gcc/config.gcc

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: