[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:22 PM, Bas Vermeulen wrote:
> I just checked gcc's configure, and that doesn't take --with-cpu= as an argument. It doesn't fail when it has it, but it doesn't actually do anything with it
> either.
> So my patch would be the correct way to handle this.

That's because you have to use --with-cpu-32 and --with-cpu-64, see:

> https://sources.debian.org/src/gcc-7/7.3.0-1/debian/rules2/#L390

It's in the very same file I linked :).

-- 
 .''`.  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: