linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Suggestion] arch: avr32: compiler: compiling tools issue
@ 2013-06-25  3:14 Chen Gang
  2013-06-25  6:48 ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Gang @ 2013-06-25  3:14 UTC (permalink / raw)
  To: Håvard Skinnemoen, Hans-Christian Egtvedt, linux-kernel, Linux-Arch

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

Can we say: it is compiler's issue, and I need try to compile the cross
compiler to test it again ?

Welcome any additional suggestion or completions.

Thanks.
--
Chen Gang

Asianux Corporation 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Suggestion] arch: avr32: compiler: compiling tools issue
  2013-06-25  3:14 [Suggestion] arch: avr32: compiler: compiling tools issue Chen Gang
@ 2013-06-25  6:48 ` Hans-Christian Egtvedt
  2013-06-25  7:43   ` Chen Gang
  0 siblings, 1 reply; 3+ messages in thread
From: Hans-Christian Egtvedt @ 2013-06-25  6:48 UTC (permalink / raw)
  To: Chen Gang; +Cc: Håvard Skinnemoen, linux-kernel, Linux-Arch

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.

-- 
mvh
Hans-Christian Egtvedt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Suggestion] arch: avr32: compiler: compiling tools issue
  2013-06-25  6:48 ` Hans-Christian Egtvedt
@ 2013-06-25  7:43   ` Chen Gang
  0 siblings, 0 replies; 3+ messages in thread
From: Chen Gang @ 2013-06-25  7:43 UTC (permalink / raw)
  To: Hans-Christian Egtvedt; +Cc: Håvard Skinnemoen, linux-kernel, Linux-Arch

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-25  7:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-25  3:14 [Suggestion] arch: avr32: compiler: compiling tools issue Chen Gang
2013-06-25  6:48 ` Hans-Christian Egtvedt
2013-06-25  7:43   ` Chen Gang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).