[Buildroot] can't resolve symbol bcopy

Bernhard Fischer rep.nop at aon.at
Wed Sep 20 16:24:06 UTC 2006

On Wed, Sep 20, 2006 at 09:34:24PM +0800, Qiu Yu wrote:
>Hi, all
>Paid some effort, I finally got my first buildroot-made rootfs image for
>mipsel platform, but this pleasure did't last long.
>When I mount it on my board, after kernel started, I got an error message:
>"bin/sh" can't resolve symbol bcopy

Either enable legacy support in uClibc (i wouldn't do this), or make
sure that busybox doesn't contain bcopy which itself is flagged

Same goes for bzero which, too, is deprecated and generates equal size
to a plain memset with any reasonable version of gcc anyway.

That said, current busybox trunk doesn't contain bcopy, i don't have a
1.2 tarball at hand to see if it's erroneously used there.

Only recently one instance of bzero was erroneously added to busybox:

If uClibc was cleaned up properly NOT to provide fallback defines behind
your back for e.g. bzero, then you'd have seen a proper compile failure
(there most likely was an error about a call to "(bcopy)(s,d,sz)"
somewhere in your make output anyway...).

>I tried to google it, and only got this page "
>http://mailman.uclinux.org/pipermail/uclinux-dev/2006-April/037797.html". I
>contacted the guy who sent this message, and he did't find out the cause of
>the problem. All he suggests me is to try different version, and maybe
>change some compiler option.
>But...any body knows why and how to fix it? Please help me out and thanks!
>My buildroot configuration:
>Kernel Headers (Linux 2.4.31 kernel headers)       <-- I'm using Linux
>2.4.17 to boot the board, can this be a problem?
>Binutils Version (binutils 2.16.1)
>GCC compiler Version (gcc 3.4.2)
>Qiu, Yu
>email:  unicell at gmail.com

>buildroot mailing list
>buildroot at uclibc.org

More information about the buildroot mailing list