diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-25 23:51:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-25 23:51:57 +0100 |
commit | a04d50a0318cd16d5fb02a625d739e03b94e42b7 (patch) | |
tree | 9c859123571b862a43d02e7d2d1aab0c1626c456 /meta/recipes-devtools/binutils/binutils-cross-canadian.inc | |
parent | 2ba5ce85dcc3c6812b10073bfc4ab600ca169df1 (diff) | |
download | openembedded-core-a04d50a0318cd16d5fb02a625d739e03b94e42b7.tar.gz openembedded-core-a04d50a0318cd16d5fb02a625d739e03b94e42b7.tar.bz2 openembedded-core-a04d50a0318cd16d5fb02a625d739e03b94e42b7.tar.xz openembedded-core-a04d50a0318cd16d5fb02a625d739e03b94e42b7.zip |
binutils: Add missing dependency on zlib-native
Without this, compiler errors such as:
configure:33440: i586-poky-linux-gcc -march=i586 --sysroot=/media/build2/builds/rptest/b2/tmp/sysroots/qemux86 -o conftest -D_REENTRANT -Wl,-O1 -Wl,--as-needed conftest.c -lpthread >&5
/media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.0/as: /media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/../../../usr/lib/libz.so.1: no version information available (required by /media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.0/as)
/media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.0/ld: /media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/../../../usr/lib/libz.so.1: no version information available (required by /media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.0/ld)
can be see. This is due to the compiler being built against the system
zlib, before zlib-native is built and in the sysroot. Once that has been
built it can confuse the linker depending on the relative library versions.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-cross-canadian.inc')
0 files changed, 0 insertions, 0 deletions