[arm-gnu] large footprint when building with CS-lite toolchain
Bob Brusa
bob.brusa at gmail.com
Thu Jan 10 20:42:54 UTC 2013
Hi,
I am using the toolchain that came with eCos3.0 for a AT91Sam7s-based
platform. Now I upgraded to the most recent code sourcery lite version
(4.7.2) and find, that the program requires much more memory (although I
still use the eCos-library built with the old eCos3.0-toolchain). The
message I get is shown below:
arm-none-eabi-g++ -nostdlib
"-LC:\\Projekte\\TDSsw\\libs\\**tds_lib_12_install\\lib"
"-T..\\tds_1.ld" -Xlinker -Map -Xlinker tds_4_1.Map -o tds_4_1 util.o
usbs_at91.o usbs.o usb_cdc.o uart_dma.o tds_sm.o tds_res.o tds_hif.o
tds_execs.o tds_defs.o tds.o sensio.o rombuf.o pa.o help.o eeprom.o
c:/osy/codesourcery/**sourcerycodebench_lite_for_**arm_eabi/bin/
../lib/gcc/arm-**none-eabi/4.7.2/../../../../**arm-none-eabi/bin/ld.exe:
address 0x142386 of tds_4_1 section `.rodata' is not within region `rom'
c:/osy/codesourcery/**sourcerycodebench_lite_for_**arm_eabi/bin/
../lib/gcc/arm-**none-eabi/4.7.2/../../../../**arm-none-eabi/bin/ld.exe:
address 0x142386 of tds_4_1 section `.rodata' is not within region `rom'
c:/osy/codesourcery/**sourcerycodebench_lite_for_**arm_eabi/bin/
../lib/gcc/arm-**none-eabi/4.7.2/../../../../**arm-none-eabi/bin/ld.exe:
address 0x142386 of tds_4_1 section `.rodata' is not within region `rom'
collect2.exe: error: ld returned 1 exit status
The footprint is almost 20% bigger and the program no longer fits into the
flash of the uP. Do I miss something?
Let me add, that the previous version (4.6.3) of CS-lite did not produce a
footprint that was much different of the one produced by the
eCos3.0-toolchain.
Thanks for advice and regards - Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/arm-gnu/attachments/20130110/6963b0b5/attachment.html>
More information about the arm-gnu
mailing list