[Buildroot] can't compile ccache with static uClibc
Eric Schwartz
eric.schwartz at hp.com
Tue Jan 30 22:04:35 UTC 2007
Eric Schwartz wrote:
> I was using uClibc 0.9.28. I'll go ahead and try with the snapshot,
> shall I, unless you know it's going to fail in the same way?
>
Using the latest uClibc snapshot, I get the following
interesting-looking failure:
/home/emschwar/working.hg/tools/xm-test/ramdisk/buildroot/build_ia64/staging_dir/bin/ia64-linux-uclibc-gcc
-Os -pipe -o ccache ccache.o mdfour.o hash.o execute.o util.o args.o
stats.o cleanup.o snprintf.o unify.o
/home/emschwar/working.hg/tools/xm-test/ramdisk/buildroot/build_ia64/staging_dir/bin-ccache/../lib/gcc/ia64-linux-uclibc/4.1.1/../../../../ia64-linux-uclibc/lib/libc.a(vsnprintf.os):
In function `vsnprintf':
vsnprintf.c:(.text+0x0): multiple definition of `vsnprintf'
snprintf.o:snprintf.c:(.text+0x630): first defined here
/home/emschwar/working.hg/tools/xm-test/ramdisk/buildroot/build_ia64/staging_dir/bin-ccache/../lib/gcc/ia64-linux-uclibc/4.1.1/../../../../ia64-linux-uclibc/bin/ld:
Warning: size of symbol `vsnprintf' changed from 5696 in snprintf.o to
448 in
/home/emschwar/working.hg/tools/xm-test/ramdisk/buildroot/build_ia64/staging_dir/bin-ccache/../lib/gcc/ia64-linux-uclibc/4.1.1/../../../../ia64-linux-uclibc/lib/libc.a(vsnprintf.os)
collect2: ld returned 1 exit status
make[2]: *** [ccache] Error 1
make[2]: Leaving directory
`/home/emschwar/working.hg/tools/xm-test/ramdisk/buildroot/build_ia64/ccache-2.4'
make[1]: ***
[/home/emschwar/working.hg/tools/xm-test/ramdisk/buildroot/build_ia64/ccache-2.4/ccache]
Error 2
make[1]: Leaving directory
`/home/emschwar/working.hg/tools/xm-test/ramdisk/buildroot'
make: *** [buildroot/rootfs.ia64.ext2] Error 2
More information about the buildroot
mailing list