Gentoo Archives: gentoo-embedded

From: YouTube Support <support@×××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] crossdev builds libiberty.a with host arch
Date: Wed, 09 Nov 2011 15:49:46
Message-Id: #14.35eedb45.f8b5cc0f.4ebaa103.b80@google.trakken.com
In Reply to: [gentoo-embedded] crossdev builds libiberty.a with host arch by Joakim Tjernlund
1 You are receiving this automated reply because you have sent mail to
2 an invalid email address. If you are trying to contact YouTube,
3 please visit the YouTube Help Center at:
4 http://www.google.com/support/youtube
5
6 If you're unable to find the answer to your question in the Help
7 Center, you may use the contact forms located there to send us your
8 question.
9
10
11
12 Original Message Follows:
13 ------------------------
14 From: Joakim Tjernlund <joakim.tjernlund@×××××××××.se>
15 Subject: [gentoo-embedded] crossdev builds libiberty.a with host arch
16 Date: Wed, 9 Nov 2011 16:37:18 +0100
17
18
19 Tried to build oprofile
20 ./configure --host powerpc-softfloat-linux-gnu
21 LDFLAGS="-L/usr/lib/binutils/powerpc-softfloat-linux-gnu
22 -L/usr/local/src/FS/fsall/basicfs/usr/lib"
23 CPPFLAGS=-I/usr/lib/binutils/powerpc-softfloat-linux-gnu/include
24
25 configure: error: liberty library not found
26
27 this appears to be caused by crossdevs libiberty.a beeing built with the
28 hosts arch instead of powerpc:
29 nm /usr/i686-pc-linux-gnu/powerpc-softfloat-linux-gnu/lib/libiberty.a |
30 grep __i686
31 00000000 T __i686.get_pc_thunk.bx
32 00000000 T __i686.get_pc_thunk.bx
33 ....
34
35 Bug in crossdev, oprofile or user error?
36
37 Jocke

Replies

Subject Author
Re: [gentoo-embedded] crossdev builds libiberty.a with host arch Mike Frysinger <vapier@g.o>