Skip to contentSkip to conversation

arch: avr32: compiler: compiling tools issue

Suggestion Chen Gang 2 participants 3 messages Jun 25, 2013 Generic include/asm header files

lore
Share & tools
lore

Chen Gang

author
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Chen Gang

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.

Quoted 2 lines

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.

Signature · 2 lines
mvh
Hans-Christian Egtvedt
author
#2 lore raw
Quoted 14 lines · Hans-Christian Egtvedt
Quoted 11 lines · Chen Gang
Quoted 11 lines

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.

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines

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.

Signature · 3 lines
Chen Gang

Asianux Corporation