From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 25 Aug 2014 14:12:43 +0200 (CEST) Received: from localhost.localdomain ([127.0.0.1]:51886 "EHLO linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S27006709AbaHYMMkuNZ3g (ORCPT ); Mon, 25 Aug 2014 14:12:40 +0200 Received: from scotty.linux-mips.net (localhost.localdomain [127.0.0.1]) by scotty.linux-mips.net (8.14.8/8.14.8) with ESMTP id s7PCCeU3028498; Mon, 25 Aug 2014 14:12:40 +0200 Received: (from ralf@localhost) by scotty.linux-mips.net (8.14.8/8.14.8/Submit) id s7PCCerR028497; Mon, 25 Aug 2014 14:12:40 +0200 Date: Mon, 25 Aug 2014 14:12:40 +0200 From: Ralf Baechle To: Chen Jie Cc: "Maciej W. Rozycki" , Linux MIPS Mailing List , =?utf-8?B?6ZmI5Y2O5omN?= , =?utf-8?B?546L6ZSQ?= Subject: Re: [PATCH] mips: define _MIPS_ARCH_LOONGSON3A for Loongson3 Message-ID: <20140825121240.GG27724@linux-mips.org> References: <1408504488-12319-1-git-send-email-chenj@lemote.com> <1408504488-12319-2-git-send-email-chenj@lemote.com> <20140820105356.GA21497@linux-mips.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 42218 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Wed, Aug 20, 2014 at 07:59:41PM +0800, Chen Jie wrote: > 2014-08-20 18:53 GMT+08:00 Ralf Baechle : > > On Wed, Aug 20, 2014 at 11:14:48AM +0800, chenj wrote: > > > >> +cflags-$(CONFIG_CPU_LOONGSON3) += -D_MIPS_ARCH_LOONGSON3A > > > > The _MIPS_ARCH_* namespace belongs to GCC. While it seems current GCC > > does not define this symbol _MIPS_ARCH_LOONGSON3A runs into the danger > > of causing a conflict when GCC eventually will define the symbol. > When this symbol will be defined? With option '-march=loongson3a'? Well, not currently (at least not in my gcc 4.9.0) - but it might. In fact, I'm wondering why it doesn't. Maciej? Ralf