* [Buildroot] AVR32 defconfig
@ 2007-08-29 13:24 Jonathan Dumaresq
2007-08-30 6:42 ` Hans-Christian Egtvedt
0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Dumaresq @ 2007-08-29 13:24 UTC (permalink / raw)
To: buildroot
Hi all,
I try to use the buildroot from svn to build my avr32 board.
I have a NGW100 board and sucessfuly used with the buildroot from atmel website. Now i want to try the latest buildroot from the svn.
When i use the buildroot from the atmel, I just do the folowing.
make atngw100_defconfig
make
and i get kernel, rootfs, uboot. not error.
When i do the same thing with the latest buildroot, I have to manualy choose option. Since i'm not an expert, i choose usualy the default to start. But this time, i get an error at compile time.
so to resume, i do this.
make atngw100_defconfig
make
only push the return when question asked.
here the error that i have.
make[2]: Entering directory `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/libc/sysdeps/linux/i386'ln -fs ../libc/sysdeps/linux/i386/fpu_control.h ../../../../include/
make[2]: Leaving directory `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/libc/sysdeps/linux/i386'
/usr/bin/make -j1 -C ldso
make[2]: Entering directory `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso'
/usr/bin/make -j1 -C ldso
make[3]: Entering directory `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso/ldso'
/home/dumarjo/buildroot/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -falign-jumps=0 -falign-loops=0 -Os -funit-at-a-time -DUCLIBC_LDSO=\"ld-uClibc.so.0\" -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -DLDSO_ELFINTERP=\"i386/elfinterp.c\" -I../../ldso/ldso/i386 -I../../ldso/include -I../../ldso/ldso -I../../include -D_GNU_SOURCE -isystem /home/dumarjo/buildroot/build_avr32/staging_dir/bin/../lib/gcc/avr32-linux-uclibc/4.1.2/include -c i386/resolve.S -o i386/resolve.o
i386/resolve.S: Assembler messages:
i386/resolve.S:30: Error: unrecognized instruction `pusha'
i386/resolve.S:31: Error: unrecognized instruction `lea 0x20(%esp),%eax'
i386/resolve.S:32: Error: unrecognized instruction `pushl 4(%eax)'
i386/resolve.S:33: Error: unrecognized instruction `pushl (%eax)'
i386/resolve.S:38: Error: unrecognized instruction `popl %ebx'
i386/resolve.S:39: Error: unrecognized instruction `addl $_GLOBAL_OFFSET_TABLE_+[.-.L24],%ebx'
i386/resolve.S:40: Error: unrecognized instruction `movl _dl_linux_resolver at GOT(%ebx),%ebx'
i386/resolve.S:41: Error: bad expression
i386/resolve.S:45: Error: unrecognized instruction `movl %eax,0x28(%esp)'
i386/resolve.S:47: Error: unrecognized instruction `addl $0x8,%esp'
i386/resolve.S:48: Error: unrecognized instruction `popa'
i386/resolve.S:49: Error: invalid return value `$4'
make[3]: *** [i386/resolve.o] Error 1
make[3]: Leaving directory `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso/ldso'
make[2]: *** [ldso] Error 2
make[2]: Leaving directory `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso'
make[1]: *** [_dir_ldso] Error 2
make[1]: Leaving directory `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0'
make: *** [/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/lib/libc.a] Error 2
debian:/home/dumarjo/buildroot#
i probably have setting in the config file that is not correct.
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070829/bb0df047/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] AVR32 defconfig
2007-08-29 13:24 [Buildroot] AVR32 defconfig Jonathan Dumaresq
@ 2007-08-30 6:42 ` Hans-Christian Egtvedt
2007-08-31 18:55 ` Jonathan Dumaresq
2007-09-01 16:27 ` Bernhard Fischer
0 siblings, 2 replies; 5+ messages in thread
From: Hans-Christian Egtvedt @ 2007-08-30 6:42 UTC (permalink / raw)
To: buildroot
On Wed, 2007-08-29 at 09:24 -0400, Jonathan Dumaresq wrote:
<cut Atmel snapshot of Buildroot>
> When i do the same thing with the latest buildroot, I have to manualy
> choose option. Since i'm not an expert, i choose usualy the default to
> start. But this time, i get an error at compile time.
>
> so to resume, i do this.
>
> make atngw100_defconfig
> make
> only push the return when question asked.
If you are asked about a FPU in uClibc, you must answer no. AVR32
devices does not have a FPU.
> here the error that i have.
>
> make[2]: Entering directory
> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/libc/sysdeps/linux/i386'ln -fs ../libc/sysdeps/linux/i386/fpu_control.h ../../../../include/
ring-ring
For some reason uClibc is configured for i386, and that is why some
assembler instructions fail later in your compilation.
> make[2]: Leaving directory
> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/libc/sysdeps/linux/i386'
> /usr/bin/make -j1 -C ldso
> make[2]: Entering directory
> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso'
> /usr/bin/make -j1 -C ldso
> make[3]: Entering directory
> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso/ldso'
> /home/dumarjo/buildroot/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -falign-jumps=0 -falign-loops=0 -Os -funit-at-a-time -DUCLIBC_LDSO=\"ld-uClibc.so.0\" -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -DLDSO_ELFINTERP=\"i386/elfinterp.c\" -I../../ldso/ldso/i386 -I../../ldso/include -I../../ldso/ldso -I../../include -D_GNU_SOURCE -isystem /home/dumarjo/buildroot/build_avr32/staging_dir/bin/../lib/gcc/avr32-linux-uclibc/4.1.2/include -c i386/resolve.S -o i386/resolve.o
> i386/resolve.S: Assembler messages:
> i386/resolve.S:30: Error: unrecognized instruction `pusha'
> i386/resolve.S:31: Error: unrecognized instruction `lea 0x20(%esp),%
> eax'
> i386/resolve.S:32: Error: unrecognized instruction `pushl 4(%eax)'
> i386/resolve.S:33: Error: unrecognized instruction `pushl (%eax)'
> i386/resolve.S:38: Error: unrecognized instruction `popl %ebx'
> i386/resolve.S:39: Error: unrecognized instruction `addl
> $_GLOBAL_OFFSET_TABLE_+[.-.L24],%ebx'
> i386/resolve.S:40: Error: unrecognized instruction `movl
> _dl_linux_resolver at GOT(%ebx),%ebx'
> i386/resolve.S:41: Error: bad expression
> i386/resolve.S:45: Error: unrecognized instruction `movl %eax,0x28(%
> esp)'
> i386/resolve.S:47: Error: unrecognized instruction `addl $0x8,%esp'
> i386/resolve.S:48: Error: unrecognized instruction `popa'
> i386/resolve.S:49: Error: invalid return value `$4'
> make[3]: *** [i386/resolve.o] Error 1
> make[3]: Leaving directory
> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso/ldso'
> make[2]: *** [ldso] Error 2
> make[2]: Leaving directory
> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso'
> make[1]: *** [_dir_ldso] Error 2
> make[1]: Leaving directory
> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0'
> make: ***
> [/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/lib/libc.a] Error 2
> debian:/home/dumarjo/buildroot#
>
> i probably have setting in the config file that is not correct.
Check what architecture is chosen in uClibc configuration:
cd toolchain_build_avr32/uClibc-0.9.28.3
make menuconfig
--
With kind regards,
Hans-Christian Egtvedt, Applications Engineer
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] AVR32 defconfig
2007-08-30 6:42 ` Hans-Christian Egtvedt
@ 2007-08-31 18:55 ` Jonathan Dumaresq
2007-09-01 16:27 ` Bernhard Fischer
1 sibling, 0 replies; 5+ messages in thread
From: Jonathan Dumaresq @ 2007-08-31 18:55 UTC (permalink / raw)
To: buildroot
Hi,
I have done what you tell me and i go into another step now.
Not i have another error when i build it. I would like to know what file i
need to attach to the list for you guys see what happen.
I post here the result of the build
I have attached the output of make.
Jonathan
----- Original Message -----
From: "Hans-Christian Egtvedt" <hcegtvedt@atmel.com>
To: "Jonathan Dumaresq" <jdumaresq@cimeq.qc.ca>
Cc: <buildroot@uclibc.org>
Sent: Thursday, August 30, 2007 2:42 AM
Subject: Re: [Buildroot] AVR32 defconfig
> On Wed, 2007-08-29 at 09:24 -0400, Jonathan Dumaresq wrote:
>
> <cut Atmel snapshot of Buildroot>
>
>> When i do the same thing with the latest buildroot, I have to manualy
>> choose option. Since i'm not an expert, i choose usualy the default to
>> start. But this time, i get an error at compile time.
>>
>> so to resume, i do this.
>>
>> make atngw100_defconfig
>> make
>> only push the return when question asked.
>
> If you are asked about a FPU in uClibc, you must answer no. AVR32
> devices does not have a FPU.
>
>> here the error that i have.
>>
>> make[2]: Entering directory
>> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/libc/sysdeps/linux/i386'ln
>> -fs ../libc/sysdeps/linux/i386/fpu_control.h ../../../../include/
>
> ring-ring
>
> For some reason uClibc is configured for i386, and that is why some
> assembler instructions fail later in your compilation.
>
>> make[2]: Leaving directory
>> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/libc/sysdeps/linux/i386'
>> /usr/bin/make -j1 -C ldso
>> make[2]: Entering directory
>> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso'
>> /usr/bin/make -j1 -C ldso
>> make[3]: Entering directory
>> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso/ldso'
>> /home/dumarjo/buildroot/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc
>> -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector
>> -falign-jumps=0 -falign-loops=0 -Os -funit-at-a-time -DUCLIBC_LDSO=\"ld-uClibc.so.0\"
>> -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -DLDSO_ELFINTERP=\"i386/elfinterp.c\"
>> -I../../ldso/ldso/i386 -I../../ldso/include -I../../ldso/ldso -I../../include
>> -D_GNU_SOURCE -isystem
>> /home/dumarjo/buildroot/build_avr32/staging_dir/bin/../lib/gcc/avr32-linux-uclibc/4.1.2/include
>> -c i386/resolve.S -o i386/resolve.o
>> i386/resolve.S: Assembler messages:
>> i386/resolve.S:30: Error: unrecognized instruction `pusha'
>> i386/resolve.S:31: Error: unrecognized instruction `lea 0x20(%esp),%
>> eax'
>> i386/resolve.S:32: Error: unrecognized instruction `pushl 4(%eax)'
>> i386/resolve.S:33: Error: unrecognized instruction `pushl (%eax)'
>> i386/resolve.S:38: Error: unrecognized instruction `popl %ebx'
>> i386/resolve.S:39: Error: unrecognized instruction `addl
>> $_GLOBAL_OFFSET_TABLE_+[.-.L24],%ebx'
>> i386/resolve.S:40: Error: unrecognized instruction `movl
>> _dl_linux_resolver at GOT(%ebx),%ebx'
>> i386/resolve.S:41: Error: bad expression
>> i386/resolve.S:45: Error: unrecognized instruction `movl %eax,0x28(%
>> esp)'
>> i386/resolve.S:47: Error: unrecognized instruction `addl $0x8,%esp'
>> i386/resolve.S:48: Error: unrecognized instruction `popa'
>> i386/resolve.S:49: Error: invalid return value `$4'
>> make[3]: *** [i386/resolve.o] Error 1
>> make[3]: Leaving directory
>> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso/ldso'
>> make[2]: *** [ldso] Error 2
>> make[2]: Leaving directory
>> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/ldso'
>> make[1]: *** [_dir_ldso] Error 2
>> make[1]: Leaving directory
>> `/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0'
>> make: ***
>> [/home/dumarjo/buildroot/toolchain_build_avr32/uClibc-0.9.28.3-avr32-2.0/lib/libc.a]
>> Error 2
>> debian:/home/dumarjo/buildroot#
>>
>> i probably have setting in the config file that is not correct.
>
> Check what architecture is chosen in uClibc configuration:
> cd toolchain_build_avr32/uClibc-0.9.28.3
> make menuconfig
>
> --
> With kind regards,
> Hans-Christian Egtvedt, Applications Engineer
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error.txt
Url: http://busybox.net/lists/buildroot/attachments/20070831/9297024c/attachment.txt
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] AVR32 defconfig
2007-08-30 6:42 ` Hans-Christian Egtvedt
2007-08-31 18:55 ` Jonathan Dumaresq
@ 2007-09-01 16:27 ` Bernhard Fischer
2007-09-04 13:00 ` Jonathan Dumaresq
1 sibling, 1 reply; 5+ messages in thread
From: Bernhard Fischer @ 2007-09-01 16:27 UTC (permalink / raw)
To: buildroot
On Thu, Aug 30, 2007 at 08:42:33AM +0200, Hans-Christian Egtvedt wrote:
>On Wed, 2007-08-29 at 09:24 -0400, Jonathan Dumaresq wrote:
>
><cut Atmel snapshot of Buildroot>
>> i probably have setting in the config file that is not correct.
>
>Check what architecture is chosen in uClibc configuration:
>cd toolchain_build_avr32/uClibc-0.9.28.3
>make menuconfig
Generally you should not do this in order not to risk mis-configuration.
See docs/README
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] AVR32 defconfig
2007-09-01 16:27 ` Bernhard Fischer
@ 2007-09-04 13:00 ` Jonathan Dumaresq
0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Dumaresq @ 2007-09-04 13:00 UTC (permalink / raw)
To: buildroot
I have done a make disclean and redo the make atngw100_defconfig from
scratch.
At the uclibc question i answered avr32 instead of i386. Wi this i have a
better compiling, but get some issue. I have started a new thread with it
thanx for this info.
Jonathan
----- Original Message -----
From: "Bernhard Fischer" <rep.dot.nop@gmail.com>
To: "Hans-Christian Egtvedt" <hcegtvedt@atmel.com>
Cc: "Jonathan Dumaresq" <jdumaresq@cimeq.qc.ca>; <buildroot@uclibc.org>
Sent: Saturday, September 01, 2007 12:27 PM
Subject: Re: [Buildroot] AVR32 defconfig
> On Thu, Aug 30, 2007 at 08:42:33AM +0200, Hans-Christian Egtvedt wrote:
>>On Wed, 2007-08-29 at 09:24 -0400, Jonathan Dumaresq wrote:
>>
>><cut Atmel snapshot of Buildroot>
>
>>> i probably have setting in the config file that is not correct.
>>
>>Check what architecture is chosen in uClibc configuration:
>>cd toolchain_build_avr32/uClibc-0.9.28.3
>>make menuconfig
>
> Generally you should not do this in order not to risk mis-configuration.
> See docs/README
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-09-04 13:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-29 13:24 [Buildroot] AVR32 defconfig Jonathan Dumaresq
2007-08-30 6:42 ` Hans-Christian Egtvedt
2007-08-31 18:55 ` Jonathan Dumaresq
2007-09-01 16:27 ` Bernhard Fischer
2007-09-04 13:00 ` Jonathan Dumaresq
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox