[Buildroot] making buildroot for arm7tdmi static flat fails

Gustavo Zacarias gustavo at zacarias.com.ar
Mon Nov 15 16:55:50 UTC 2010

On 11/14/10 10:05, Dan Engel wrote:

> I have a follow-up:
> In the configuration that led to the above error, I had disabled global
> constructors and destructors in the uclibc configuration ("make
> uclibc-menuconfig").
> If I first try to build with global constructors and destructors
> enabled, it eventually gives an error (I think during gcc construction)
> about missing __fini_array and __init_array stuff. If I then change the
> configuration (using "make uclibc-menuconfig") to disable the global
> ctors and dtors and type "make" again, it builds to completion.
> Something in that two-step process gets me past the above error about
> lib/crti.o.
> However, when I try to compile and link a simple flat "hello," the
> following happens:
> dan at cecilia ~/tmp $ arm-linux-gcc -Wl,-elf2flt hello.c
> /mnt/local/armtc/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.5/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld.real: error: no memory region specified for loadable section `.ARM.extab'
> collect2: ld returned 1 exit status
> dan at cecilia ~/tmp $ 
> Does anyone have any idea what I'm missing?
> Thanks,
> -Dan

Did you disable MMU support in uclibc's config and enable one of the
flat target file formats?

More information about the buildroot mailing list