From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752064Ab3FYHoA (ORCPT ); Tue, 25 Jun 2013 03:44:00 -0400 Received: from intranet.asianux.com ([58.214.24.6]:59709 "EHLO intranet.asianux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751211Ab3FYHn7 (ORCPT ); Tue, 25 Jun 2013 03:43:59 -0400 X-Spam-Score: -100.8 Message-ID: <51C94A0B.7070002@asianux.com> Date: Tue, 25 Jun 2013 15:43:07 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Hans-Christian Egtvedt CC: =?UTF-8?B?SMOldmFyZCBTa2lubmVtb2Vu?= , "linux-kernel@vger.kernel.org" , Linux-Arch Subject: Re: [Suggestion] arch: avr32: compiler: compiling tools issue References: <51C90B06.5070802@asianux.com> <20130625064800.GB23182@samfundet.no> In-Reply-To: <20130625064800.GB23182@samfundet.no> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/25/2013 02:48 PM, Hans-Christian Egtvedt wrote: > Around Tue 25 Jun 2013 11:14:14 +0800 or thereabout, Chen Gang wrote: >> > Hello Maintainers: >> > >> > With allmodconfig, and set "avr32-linux-gnu-" as cross compiler prefix. >> > >> > It will report error: >> > avr32-linux-gnu-gcc: error: unrecognized command line option ‘-mno-pic’ >> > avr32-linux-gnu-gcc: error: unrecognized command line option ‘-march=ap’ >> > >> > The related gcc version: >> > [root@dhcp122 linux-next]# rpm -qf /usr/bin/avr32-linux-gnu-gcc >> > gcc-avr32-linux-gnu-4.7.1-0.1.20120606.fc17.x86_64 > Interesting version, 4.7.1. > >> > Can we say: it is compiler's issue, and I need try to compile the cross >> > compiler to test it again ? > I would assume so, I didn't know Atmel finally pushed all the source code to > support avr32-linux from upstream. > > I still use a jay old 4.2 based GCC port, which was the last one I used when > working for Atmel. Is it possible to use the compiler tools (may from source code and compile the compiler tools firstly), to compile the latest upstream kernel (e.g next-20130624) for avr32 ? Thanks. -- Chen Gang Asianux Corporation