1 |
Try glibc-2.5-r1 and binutils 2.17.50.0.9. You may have to unmask them |
2 |
first. Also, to protect your system from human error, you may want to do it |
3 |
in a 32/64bit chrooted env. |
4 |
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1 |
5 |
<http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2> |
6 |
&chap=2 |
7 |
|
8 |
(e.g.) USE="-fortran" crossdev-stable --binutils 2.17.50.0.9 --gcc 4.1.2 |
9 |
--libc 2.5-r1 --kernel 2.6.19.2-r2 -t armv5te-softfloat-linux-gnueabi |
10 |
|
11 |
|
12 |
_____ |
13 |
|
14 |
From: Chuck McKenzie [mailto:cmckenzie@×××××××××××.com] |
15 |
Sent: Wednesday, March 21, 2007 4:13 PM |
16 |
To: gentoo-embedded@l.g.o |
17 |
Subject: [gentoo-embedded] configure: error: forced unwind support is |
18 |
required |
19 |
|
20 |
|
21 |
|
22 |
Hi all, |
23 |
|
24 |
I'm new to Gentoo embedded and fairly new to Gentoo, so I apologize if I am |
25 |
missing something obvious. I'm having trouble getting the crossdev toolchain |
26 |
up and running with a current portage sync. Could someone please point me |
27 |
in the direction of fixing this? |
28 |
|
29 |
Here's what I'm seeing: |
30 |
|
31 |
buildhost ~ # crossdev -t i686-unknown-linux-gnu |
32 |
---------------------------------------------------------------------------- |
33 |
---------------------------------------------------------------------------- |
34 |
------ |
35 |
* Host Portage ARCH: x86 |
36 |
* Target Portage ARCH: x86 |
37 |
* Target System: i686-unknown-linux-gnu |
38 |
* Stage: 4 (C/C++ compiler) |
39 |
|
40 |
* binutils: binutils-[latest] |
41 |
* gcc: gcc-[latest] |
42 |
* headers: linux-headers-[latest] |
43 |
* libc: glibc-[latest] |
44 |
|
45 |
* PORTDIR_OVERLAY: /usr/local/portage |
46 |
* PORT_LOGDIR: /var/log/portage |
47 |
* PKGDIR: /usr/portage/packages/cross/i686-unknown-linux-gnu |
48 |
* PORTAGE_TMPDIR: /var/tmp/cross/i686-unknown-linux-gnu |
49 |
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ |
50 |
- ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ |
51 |
- |
52 |
* Forcing the latest versions of binutils-config/gcc-config ... |
53 |
[ ok ] |
54 |
* Log: /var/log/portage/cross-i686-unknown-linux-gnu-binutils.log |
55 |
* Emerging cross-binutils ... |
56 |
[ ok ] |
57 |
* Log: /var/log/portage/cross-i686-unknown-linux-gnu-gcc-stage1.log |
58 |
* Emerging cross-gcc-stage1 ... |
59 |
[ ok ] |
60 |
* Log: /var/log/portage/cross-i686-unknown-linux-gnu-linux-headers.log |
61 |
* Emerging cross-linux-headers ... |
62 |
[ ok ] |
63 |
* Log: /var/log/portage/cross-i686-unknown-linux-gnu-glibc.log |
64 |
* Emerging cross-glibc ... |
65 |
|
66 |
* glibc failed :( |
67 |
|
68 |
>From /var/log/portage/cross-i686-unknown-linux-gnu-glibc.log |
69 |
|
70 |
<snip> |
71 |
checking for forced unwind support... no |
72 |
configure: error: forced unwind support is required |
73 |
|
74 |
!!! ERROR: cross-i686-unknown-linux-gnu/glibc-2.5 failed. |
75 |
Call stack: |
76 |
ebuild.sh, line 1614: Called dyn_compile |
77 |
ebuild.sh, line 971: Called qa_call 'src_compile' |
78 |
environment, line 4123: Called src_compile |
79 |
glibc-2.5.ebuild, line 1119: Called src_compile |
80 |
glibc-2.5.ebuild, line 1130: Called toolchain-glibc_src_compile |
81 |
glibc-2.5.ebuild, line 240: Called glibc_do_configure 'nptl' |
82 |
glibc-2.5.ebuild, line 900: Called die |
83 |
|
84 |
!!! failed to configure glibc |
85 |
!!! If you need support, post the topmost build error, and the call stack if |
86 |
relevant. |
87 |
!!! A complete build log is located at |
88 |
'/var/tmp/cross/i686-unknown-linux-gnu/portage/cross-i686-unknown-linux-gnu/ |
89 |
glibc-2.5/temp/build.log'. |
90 |
|
91 |
!!! This ebuild is from an overlay: '/usr/local/portage' |