On Fri, 2012-06-08 at 11:43 -0500, Jason Wessel wrote:
> If building on 32bit host and creating 64bit libraries, the target
> package builds should not invoke the 32bit hosts's ar.  Specifically
> you will get an error message like:
> 
> x86_64-linux-gcc    -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -g 
> -o test test.o libnewt.a -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lslang
> libnewt.a: could not read symbols: Archive has no index; run ranlib to add one
> collect2: error: ld returned 1 exit status
> 
> Signed-off-by: Jason Wessel <jason.wes...@windriver.com>
> ---
>  meta/recipes-extended/newt/files/cross_ar.patch |   51 
> +++++++++++++++++++++++
>  meta/recipes-extended/newt/libnewt_0.52.14.bb   |    5 +-
>  2 files changed, 54 insertions(+), 2 deletions(-)
>  create mode 100644 meta/recipes-extended/newt/files/cross_ar.patch

Merged to master, thanks.

Richard


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to