You are receiving this automated reply because you have sent mail to
an invalid email address. If you are trying to contact YouTube,
please visit the YouTube Help Center at:
http://www.google.com/support/youtube

If you're unable to find the answer to your question in the Help
Center, you may use the contact forms located there to send us your
question.



Original Message Follows:
------------------------
From: Joakim Tjernlund <[email protected]>
Subject: [gentoo-embedded] crossdev builds libiberty.a with host arch
Date: Wed, 9 Nov 2011 16:37:18 +0100


Tried to build oprofile
./configure --host powerpc-softfloat-linux-gnu
LDFLAGS="-L/usr/lib/binutils/powerpc-softfloat-linux-gnu
-L/usr/local/src/FS/fsall/basicfs/usr/lib"
CPPFLAGS=-I/usr/lib/binutils/powerpc-softfloat-linux-gnu/include

configure: error: liberty library not found

this appears to be caused by crossdevs libiberty.a beeing built with the
hosts arch instead of powerpc:
 nm /usr/i686-pc-linux-gnu/powerpc-softfloat-linux-gnu/lib/libiberty.a |
grep __i686
 00000000 T __i686.get_pc_thunk.bx
 00000000 T __i686.get_pc_thunk.bx
 ....

Bug in crossdev, oprofile or user error?

 Jocke




Reply via email to