Gentoo Archives: gentoo-embedded

From: Grzegorz Borowiak <gborowiak@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] crossdev and powerpc-e500v2-linux-gnuspe
Date: Tue, 29 Jan 2013 08:52:15
Message-Id: CAMwbjeUkqQmLt2XhDRx6hYY1EQvkp9VnjuOmkBbW96aM2FnEhw@mail.gmail.com
1 Good morning, I'm new to gentoo-embedded.
2
3 I'm trying to create a toolchain for powerpc-e500v2-linux-gnuspe.
4
5 I have created (but not tested) a toolchain for powerpc-e500v2-linux-gnu.
6 However, when I'm trying to create powerpc-e500v2-linux-gnuspe, I get the
7 following error while compiling glibc:
8
9 ../sysdeps/powerpc/fpu/fclrexcpt.c: In function ‘__feclearexcept’:
10 ../sysdeps/powerpc/fpu/fclrexcpt.c:29:12: error: impossible constraint in
11 ‘asm’
12 ../sysdeps/powerpc/fpu/fclrexcpt.c:36:3: error: impossible constraint in
13 ‘asm’
14 ../sysdeps/powerpc/fpu/fclrexcpt.c:36:3: error: impossible constraint in
15 ‘asm’
16
17 I attach the logs.
18
19
20 I also tried to create a toolchain for powerpc-softfloat-linux-gnuspe, as
21 it would at least partially meet my needs, and also failed, albeit with
22 different errors:
23
24 iofclose.c:(.text+0x2c8): undefined reference to `_Unwind_Resume'
25 /var/tmp/portage/cross-powerpc-softfloat-linux-gnuspe/glibc-2.15-r3/work/build-default-powerpc-softfloat-linux-gnuspe-nptl/libc.a(iofclose.o):(.eh_fra
26 me+0x13): undefined reference to `__gcc_personality_v0'
27 /var/tmp/portage/cross-powerpc-softfloat-linux-gnuspe/glibc-2.15-r3/work/build-default-powerpc-softfloat-linux-gnuspe-nptl/libc.a(iofflush.o):
28 In func
29 tion `fflush':
30 iofflush.c:(.text+0x1a8): undefined reference to `_Unwind_Resume'
31 /var/tmp/portage/cross-powerpc-softfloat-linux-gnuspe/glibc-2.15-r3/work/build-default-powerpc-softfloat-linux-gnuspe-nptl/libc.a(iofflush.o):(.eh_fra
32 me+0x13): undefined reference to `__gcc_personality_v0'
33 /var/tmp/portage/cross-powerpc-softfloat-linux-gnuspe/glibc-2.15-r3/work/build-default-powerpc-softfloat-linux-gnuspe-nptl/libc.a(iofputs.o):
34 In funct
35 ion `fputs':
36 [...some more errors regarding mysterious _Unwind_Resume...]
37 ftello.c:(.text+0x268): undefined reference to `_Unwind_Resume'
38 /var/tmp/portage/cross-powerpc-softfloat-linux-gnuspe/glibc-2.15-r3/work/build-default-powerpc-softfloat-linux-gnuspe-nptl/libc.a(ftello.o):(.eh_frame+0x13):
39 undefined reference to `__gcc_personality_v0'
40 collect2: error: ld returned 1 exit status
41
42 I also attach the logs for that case.
43
44 Am I doing anything wrong?
45
46 Versions:
47
48 sys-devel/crossdev-20120913
49 binutils-2.22-r1
50 gcc-4.6.3
51 linux-headers-3.6
52 glibc-2.15-r3
53
54
55
56 Regards
57 Grzegorz Borowiak

Attachments

File name MIME type
cross-powerpc-e500v2-linux-gnuspe-glibc.log.xz application/octet-stream
cross-powerpc-e500v2-linux-gnuspe-info.log application/octet-stream
e500v2-glibc-config.logs.tar.xz application/octet-stream
cross-powerpc-softfloat-linux-gnuspe-glibc.log.xz application/octet-stream
cross-powerpc-softfloat-linux-gnuspe-info.log application/octet-stream
softfloat-glibc-config.logs.tar.xz application/octet-stream