[En-Nut-Discussion] at91eb40a build fails
Harald Kipp
harald.kipp at egnite.de
Thu Sep 12 18:08:05 CEST 2013
Hi Uwe,
On 12.09.2013 15:50, bon at elektron.ikp.physik.tu-darmstadt.de wrote:
>>>>>> "Harald" == Harald Kipp <harald.kipp at egnite.de> writes:
>
> ...
>
> Harald> I think I'd be able to fix this, but I'm current busy on another
> Harald> problem with avrlib's prog_char change. So, if your time allows,
> Harald> may be you can have a look.
>
> Fixed in r5283.
Confirmed.
> A "armdbg" build however later fails when building httpd:
> make[1]: Entering directory `/devel/ethernut_sf/build/at91eb40a/apps/httpd'
> arm-none-eabi-gcc httpserv.o urom.o -mcpu=arm7tdmi -nostartfiles -L../../../../nut/arch/arm/ldscripts -Teb40a_ram.ld -Wl,-Map=httpserv.map,--cref,--no-warn-mismatch -L../.././lib -Wl,--start-group ../.././lib/nutinit.o -lnutpro -lnutos -lnutarch -lnutdev -lnutgorp -lnutnet -lnutfs -lnutcrt -lnutc -Wl,--end-group -o httpserv.elf
> /opt/cross/gcc-arm-none-eabi-4_7-2013q2/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/bin/ld: httpserv.elf section `.text' will not fit in region `ram'
> /opt/cross/gcc-arm-none-eabi-4_7-2013q2/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/bin/ld: region `ram' overflowed by 4880 bytes
> collect2: error: ld returned 1 exit status
> make[1]: *** [httpserv.elf] Fehler 1
> make[1]: Leaving directory `/devel/ethernut_sf/build/at91eb40a/apps/httpd'
The distcheck.lua script didn't get that far. It failed earlier with
i2ctest.c:(.text+0x4a4): undefined reference to `NutI2cMasterTransceive'
> Should I provide a fix like r5099 did for avr and lua?
It's not that easy here. Actually that patch isn't fully correct for the
AVR too. It excludes all AVR CPUs, but it will probably work with the
ATmega256x.
The AT91R40X may use additional external memory for code.
Regards,
Harald
More information about the En-Nut-Discussion
mailing list