From: renxuefeng <renxf_maillist@126.com>
To: buildroot@busybox.net
Subject: [Buildroot] bash-3.1 link error "undefined reference to `__fini_array_start'"
Date: Mon, 30 Oct 2006 22:16:33 +0800 [thread overview]
Message-ID: <45460941.40607@126.com> (raw)
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?
reply other threads:[~2006-10-30 14:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45460941.40607@126.com \
--to=renxf_maillist@126.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.