OpenCores

* Amber ARM-compatible core

Issue List
hello-world.elf failed #40
Open jayanthbalaji opened this issue almost 8 years ago
jayanthbalaji commented almost 8 years ago

root@jayanth:/home/jayanth/proc_paper/amber_down/trunk/hw/isim# ./run.sh hello-world Test hello-world, type 4 make -s -C ../mini-libc MIN_SIZE=1 arm-none-linux-gnueabi-ld -Bstatic -Map boot-loader-serial.map --strip-debug --fix-v4bx -o boot-loader-serial.elf -T sections.lds boot-loader-serial.o start.o crc16.o xmodem.o elfsplitter.o ../mini-libc/printf.o ../mini-libc/libc_asm.o ../mini-libc/memcpy.o arm-none-linux-gnueabi-ld: warning: crc16.o uses 32-bit enums yet the output is to use variable-size enums; use of enum values across objects may fail arm-none-linux-gnueabi-ld: warning: xmodem.o uses 32-bit enums yet the output is to use variable-size enums; use of enum values across objects may fail arm-none-linux-gnueabi-ld: warning: elfsplitter.o uses 32-bit enums yet the output is to use variable-size enums; use of enum values across objects may fail arm-none-linux-gnueabi-objcopy -R .comment -R .note boot-loader-serial.elf ../tools/amber-elfsplitter boot-loader-serial.elf > boot-loader-serial.mem ../tools/amber-memparams32.sh boot-loader-serial.mem boot-loader-serial_memparams32.v ../tools/amber-memparams128.sh boot-loader-serial.mem boot-loader-serial_memparams128.v arm-none-linux-gnueabi-objdump -C -S -EL boot-loader-serial.elf > boot-loader-serial.dis ../tools/check_mem_size.sh boot-loader-serial.mem "@000020" make -s -C ../mini-libc MIN_SIZE=1 arm-none-linux-gnueabi-ld -Bstatic -Map hello-world.map --strip-debug --fix-v4bx -elf2flt=-v -elf2flt=-k -o hello-world.flt -T sections.lds hello-world.o start.o ../mini-libc/printf.o ../mini-libc/libc_asm.o ../mini-libc/memcpy.o arm-none-linux-gnueabi-ld: warning: ../mini-libc/printf.o uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail arm-none-linux-gnueabi-ld: warning: ../mini-libc/memcpy.o uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail arm-none-linux-gnueabi-ld: warning: cannot find entry symbol lf2flt=-k; defaulting to 00008000 hello-world.o: In function main': hello-world.c:(.text.startup+0xc): undefined reference toprintf_chk' hello-world.c:(.text.startup+0x18): undefined reference to `printf_chk' ../include/common.mk:111: recipe for target 'hello-world.elf' failed make: *** hello-world.elf Error 1

jayanthbalaji commented almost 8 years ago

please help me to solve this issue

nanoeng commented almost 7 years ago

Please, post your C source, header and make files

nanoeng commented almost 7 years ago

Please, post your C source, header and make files


Assignee
No one
Labels
Request