* [Buildroot] bash-3.1 link error "undefined reference to `__fini_array_start'"
@ 2006-10-30 14:16 renxuefeng
0 siblings, 0 replies; only message in thread
From: renxuefeng @ 2006-10-30 14:16 UTC (permalink / raw)
To: buildroot
i was build bash with buildroot.
my target platform was arm720t, uclibc.
when i compiling the bash-3.1 without -Wl,-elf2flt ,there was no error.
but when i added the ldflags -Wl,-elf2flt , some link error showed as
follows.
bash.elf2flt: In function `__uClibc_fini':
/home/renxf/uclinux/cross_tool/buildroot/toolchain_build_arm_nofpu/gcc-3.4.3/gcc/config/arm/lib1funcs.asm:(.text+0x876f8):
undefined reference to `__fini_array_start'
/home/renxf/uclinux/cross_tool/buildroot/toolchain_build_arm_nofpu/gcc-3.4.3/gcc/config/arm/lib1funcs.asm:(.text+0x876fc):
undefined reference to `__fini_array_end'
bash.elf2flt: In function `__uClibc_main':
/home/renxf/uclinux/cross_tool/buildroot/toolchain_build_arm_nofpu/gcc-3.4.3/gcc/config/arm/lib1funcs.asm:(.text+0x8788c):
undefined reference to `__preinit_array_end'
/home/renxf/uclinux/cross_tool/buildroot/toolchain_build_arm_nofpu/gcc-3.4.3/gcc/config/arm/lib1funcs.asm:(.text+0x87890):
undefined reference to `__preinit_array_start'
/home/renxf/uclinux/cross_tool/buildroot/toolchain_build_arm_nofpu/gcc-3.4.3/gcc/config/arm/lib1funcs.asm:(.text+0x8789c):
undefined reference to `__init_array_end'
/home/renxf/uclinux/cross_tool/buildroot/toolchain_build_arm_nofpu/gcc-3.4.3/gcc/config/arm/lib1funcs.asm:(.text+0x878a0):
undefined reference to `__init_array_start'
collect2: ld returned 1 exit status
make[1]: *** [bash] Error 1
anyone can help me?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-30 14:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 14:16 [Buildroot] bash-3.1 link error "undefined reference to `__fini_array_start'" renxuefeng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox