[Top] [All Lists]

Re: [PATCH mips-for-linux-next] MIPS: check for -mfix-cn63xxp1 compiler

To: David Daney <>
Subject: Re: [PATCH mips-for-linux-next] MIPS: check for -mfix-cn63xxp1 compiler option
From: Florian Fainelli <>
Date: Wed, 15 Jan 2014 12:04:44 -0800
Cc: Linux-MIPS <>, Ralf Baechle <>, John Crispin <>,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Q921tOot2HkQznTMfP0gj26/eRDOj7j00b7FZqr3Q4c=; b=LiRdLwGzociZEVFWPPXM9Kfb3SixM4pxeugYvHh/NuRNcKHNnLYhuFTyYB72SQNL/a HIpLaTv+vo8B6uF6HbXpM9b4oASoN9gR4w6XCK/C2gOAsFD2ergIzEdZr8PF1i91QxDZ VjB/CRatrJW1dHoTuadLLMRmGc066jCGChuD/ZIiT1KwFyuYSx0IBoF3qpRbfsEOT78/ cNf8gOU5KBM6DXa6ZpMuq+IC1DFITCntDTqaXSkoy48uqdQo6eIRMEuN7L+yVvcTNRCU N+Mj5tHRjOUTPoz11BTP88p6yZc6DEKzak3vr5Gf070L7wGis6DnXbUVjXcSJM83eYQ7 yqVA==
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <> <>
2014/1/15 David Daney <>:
> On 01/15/2014 11:06 AM, Florian Fainelli wrote:
>> Attempting to build for Cavium Octeon with an unpatched or old
>> toolchain will fail due to the -mfix-cn63xxp1 option being unrecognized.
>> Call cc-option on this option to make sure we can safely use it.
>> Signed-off-by: Florian Fainelli <>
> If the chip you are building for needs -Wa,-mfix-cn63xxp1, then building
> without this option yields a system the generates random errors.  So I would
> argue that if -Wa,-mfix-cn63xxp1 is not supported by your assembler,
> breaking the build is the proper thing to do.

Fair enough. Maybe the condition should be refined to be based off

<Prev in Thread] Current Thread [Next in Thread>