Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Can't make buildroot for at91sam9260
PostPosted: Tue Dec 11, 2007 12:05 am 
Offline

Joined: Mon Oct 22, 2007 4:45 pm
Posts: 8
I'm trying to make buildroot for my at91sam9260 based board. As a first step, I'm trying to make it with all the default settings from make at91sam9260_defconfig.
However, I get the following results:
(This is just the end of the log, I can post more if needed)

/bin/sh /home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc/../move-if-change tmp-gtyp.h gtyp-gen.h
echo timestamp > s-gtyp-gen
creating nm
echo timestamp > stamp-nm
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
/bin/sh /home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc/mkconfig.sh tconfig.h
(echo "@set version-GCC 4.2.1"; \
if [ "" = "experimental" ]; \
then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \
fi) > gcc-vers.texiT
echo "@set srcdir /home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc" >> gcc-vers.texiT
mv -f gcc-vers.texiT gcc-vers.texi
gawk -f /home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc/opt-functions.awk -f /home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc/optc-gen.awk \
-v header_name="config.h system.h coretypes.h tm.h" <optionlist> options.c
/usr/bin/gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I/home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc -I/home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc/. -I/home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc/../include -I/home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc/../libcpp/include -I/home/acs/drew/buildroot/toolchain_build_arm/gmp/include -I/home/acs/drew/buildroot/toolchain_build_arm/mpfr/include -I/home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc/../libdecnumber -I../libdecnumber /home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1/gcc/opts-common.c -o opts-common.o
/home/acs/drew/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-as: unrecognized option `-Qy'
make[2]: *** [opts-common.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1-initial/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1-initial'
make: *** [/home/acs/drew/buildroot/toolchain_build_arm/gcc-4.2.1-initial/.compiled] Error 2

Any suggestions on how to get rid of the -Qy option or why it's a problem?
Thanks,
Joe


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 11, 2007 11:09 pm 
Offline

Joined: Thu Apr 19, 2007 10:15 pm
Posts: 204
Location: USA
Hi htere

What is your development environment (Linux host? Cygwin?) ?
Are the host tools in working order?

Regards


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 6:18 am 
Offline

Joined: Mon Oct 22, 2007 4:45 pm
Posts: 8
Redhat 7? Linux version 2.6.9-42
gcc version 3.4.6 20060404
I created / compiled / ran 'hello world' on the host machine, so I think (at least the host portion) of gcc is ok.
Regards,
Joe


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 11:09 pm 
Offline

Joined: Thu Apr 19, 2007 10:15 pm
Posts: 204
Location: USA
Hi there

I don't know how much a difference the host compiler makes, but I used gcc 4.0.3 for buildroot. I do know that the version of cross compiler will affect the U-Boot or kernel build process. Perhaps you could update the host compiler as a preliminary step.

Regards


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 25, 2008 8:16 pm 
Offline

Joined: Mon Oct 22, 2007 4:45 pm
Posts: 8
Updated to gcc-4.2.1 and everything compiled fine.
Joe


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 25, 2008 9:11 pm 
Offline

Joined: Mon Oct 22, 2007 4:45 pm
Posts: 8
Updated to gcc-4.2.1 and everything compiled fine.
Joe


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 28, 2008 2:19 pm 
Offline

Joined: Tue Jun 26, 2007 6:27 pm
Posts: 81
Hello,

could you send me you configuration files (for buildroot and the Kernel) ?

Do you use Serial Dataflash with the AT91SAM9260EK ?

Thanks for your help...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 11:07 am 
Offline

Joined: Sat Jun 30, 2007 1:18 am
Posts: 20
Location: Belgrade
ARMed_and_? wrote:
Updated to gcc-4.2.1 and everything compiled fine.
Joe


Have you updated your host gcc, or just reconfigured buildroot to build gcc-4.2.1?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 06, 2008 4:13 pm 
Offline

Joined: Mon Oct 22, 2007 4:45 pm
Posts: 8
ManuelSahm, I followed the steps listed on http://www.linux4sam.org/twiki/bin/view ... /BuildRoot . So my configurations were the defaults.

bole, I upgraded my host gcc. I think the cross compiled version within the buildroot toolchain was always 4.2.1.
Regards,
Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: