* [Buildroot] GCC 4.6.x building : bootstraps and some other packages fail
@ 2011-06-02 8:53 Sagaert Johan
2011-06-02 16:27 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Sagaert Johan @ 2011-06-02 8:53 UTC (permalink / raw)
To: buildroot
Hi
Just tried a rebuild of my existing configuration build with gcc 4.5.x and
now I used GCC 4.6.0 to build it.
Bootstrap build failed, and some other fatal issues with other packages also
exist.
It seems using GCC 4.6.x would need some package specific patches, or GCC
may need some extra work.
So for me I will keep using GCC 4.5.x
/usr/bin/make -j2
CROSS_COMPILE=/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uc
libcgnueabi- \
-C
/home/johan/buildroot/output/build/at91bootstrap-1.16/board/at91sam9260ek/na
ndflash
make[1]: Entering directory
`/home/johan/buildroot-2011.05/output/build/at91bootstrap-1.16/board/at91sam
9260ek/nandflash'
rm -f *.o *.bin *.elf *.map
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -g -mcpu=arm926ej-s -c -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -DTOP_OF_MEM=0x301000
../../../crt0_gnu.S -o crt0_gnu.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -c -g -mcpu=arm926ej-s -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables
../../../board/at91sam9260ek/at91sam9260ek.c -o at91sam9260ek.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -c -g -mcpu=arm926ej-s -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables ../../../main.c -o main.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -c -g -mcpu=arm926ej-s -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables ../../../driver/gpio.c -o
gpio.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -c -g -mcpu=arm926ej-s -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables ../../../driver/pmc.c -o
pmc.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -c -g -mcpu=arm926ej-s -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables ../../../driver/debug.c
-o debug.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -c -g -mcpu=arm926ej-s -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables ../../../driver/sdramc.c
-o sdramc.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -c -g -mcpu=arm926ej-s -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables
../../../driver/nandflash.c -o nandflash.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -g -mcpu=arm926ej-s -c -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -DTOP_OF_MEM=0x301000
../../../lib/_udivsi3.S -o _udivsi3.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -g -mcpu=arm926ej-s -c -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -DTOP_OF_MEM=0x301000
../../../lib/_umodsi3.S -o _umodsi3.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -c -g -mcpu=arm926ej-s -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables ../../../lib/div0.c -o
div0.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -c -g -mcpu=arm926ej-s -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables ../../../lib/udiv.c -o
udiv.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -c -g -mcpu=arm926ej-s -Os -Wall -DAT91SAM9260
-I./../../../board/at91sam9260ek/nandflash -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables ../../../lib/string.c -o
string.o
/home/johan/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gc
c -nostartfiles -nostdlib -Wl,-Map=nandflash_at91sam9260ek.map,--cref -T
../../../elf32-littlearm.lds -Ttext 0x200000 -n -o
nandflash_at91sam9260ek.elf crt0_gnu.o at91sam9260ek.o main.o gpio.o pmc.o
debug.o sdramc.o nandflash.o _udivsi3.o _umodsi3.o div0.o udiv.o string.o
/home/johan/buildroot-2011.05/output/host/usr/bin/../lib/gcc/arm-unknown-lin
ux-uclibcgnueabi/4.6.0/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld:
section .text.startup loaded at [00200e7c,00200ea3] overlaps section .data
loaded at [00200e7c,00200f3f]
collect2: ld returned 1 exit status
make[1]: *** [nandflash_at91sam9260ek] Error 1
make[1]: Leaving directory
`/home/johan/buildroot-2011.05/output/build/at91bootstrap-1.16/board/at91sam
9260ek/nandflash'
make: ***
[/home/johan/buildroot/output/build/at91bootstrap-1.16/board/at91sam9260ek/n
andflash/nandflash_at91sam9260ek.bin] Error 2
Regards Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110602/e4265574/attachment-0001.html>
^ permalink raw reply [flat|nested] 2+ messages in thread* [Buildroot] GCC 4.6.x building : bootstraps and some other packages fail
2011-06-02 8:53 [Buildroot] GCC 4.6.x building : bootstraps and some other packages fail Sagaert Johan
@ 2011-06-02 16:27 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2011-06-02 16:27 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 2 Jun 2011 10:53:32 +0200
"Sagaert Johan" <sagaert.johan@skynet.be> wrote:
> /home/johan/buildroot-2011.05/output/host/usr/bin/../lib/gcc/arm-unknown-lin
> ux-uclibcgnueabi/4.6.0/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld:
> section .text.startup loaded at [00200e7c,00200ea3] overlaps
> section .data loaded at [00200e7c,00200f3f]
This doesn't surprise me a lot. AT91Bootstrap is not an open community
project, so everybody keeps fixing the issues on their own without
contributing things back, and Atmel isn't really maintaining it
very actively. The upstream 1.16 version doesn't even build with EABI
toolchains, and Buildroot has a patch to fix this.
I'm afraid the build issue you had might be a problem in AT91Bootstrap
that you have to find and fix. Of course, we're interested by the patch.
Note that Atmel is working on a newer AT91Bootstrap version, available
as part of their Android4Sam initiative. This version, labeled "3" is
available at
ftp://ftp.linux4sam.org/pub/Android4SAM/9m10g45/v1.1/patches/bootstrap30.tar.gz.
I haven't tried it for now, but it uses kconfig for the configuration,
so it's probably a bit better than the 1.16 that is packaged in
Buildroot currently.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-02 16:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-02 8:53 [Buildroot] GCC 4.6.x building : bootstraps and some other packages fail Sagaert Johan
2011-06-02 16:27 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox