guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] setbfree: Fix build on MIPS64


From: Ricardo Wurmus
Subject: Re: [PATCH] setbfree: Fix build on MIPS64
Date: Mon, 06 Jul 2015 09:40:18 +0200

(I failed to send this email out before the one containing a corrected
patch.)

>> +             ;; Disable unsupported optimization flags on MIPS64
>> +             ,@(if (string-prefix? "mips64" (or (%current-target-system)
>> +                                                (%current-system)))
>> +                   '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3")
>> +                   '()))
>
> Can you tell what would happen on ARM systems, or other systems?
> Depending on the answer to that question, it might be better to invert
> the conditional and override OPTIMIZATIONS on any non-Intel system.

I think you are right.  The default OPTIMIZATIONS (according to
common.mak) are

    OPTIMIZATIONS ?= -msse -msse2 -mfpmath=sse -ffast-math \
      -fomit-frame-pointer -O3 -fno-finite-math-only

and I think that at least the first three are only valid for x86.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]