From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752642AbeC1DuO (ORCPT ); Tue, 27 Mar 2018 23:50:14 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:39894 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751085AbeC1DuL (ORCPT ); Tue, 27 Mar 2018 23:50:11 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1362376|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03271;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=10;RT=10;SR=0;TI=SMTPD_---.BTTJpFU_1522208999; Date: Wed, 28 Mar 2018 11:49:59 +0800 From: Guo Ren To: Arnd Bergmann Cc: linux-arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org Subject: Re: [PATCH 15/19] csky: Build infrastructure Message-ID: <20180328034957.GA4482@guoren> References: <20180320131342.GA31542@guoren> <20180321124137.GA21320@guoren> <20180327023927.GA11454@guoren> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Tue, Mar 27, 2018 at 09:38:56AM +0200, Arnd Bergmann wrote: > Usually the way gcc handles this, either each CPU is a strict superset > of another > one, so you just need to specify the one with the smallest instruction set, > or you have an option like -mcpu=generic that produces the common subset. > ck807 ck810 ck860 are diffrent architecture, so they can not be strict superset and there is no option like '-mcpu=generic' in our gcc and binutils. I know you want one vmlinux which could run on all ck807 ck810 ck860 with different dts-setting. But now, may I keep current design for abiv1&abiv2? In abiv3, we will take your advice seriously. Best Regards Guo Ren