Gentoo Archives: gentoo-embedded

From: Robert Szentmihalyi <robert.szentmihalyi@×××.de>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] undefined reference to `LINUX_TARGET_OS_CPP_BUILTINS'
Date: Thu, 04 Oct 2007 09:55:53
Message-Id: 200710041144.47638.robert.szentmihalyi@gmx.de
1 Hi, guys!
2
3 Building gcc for ARM with
4 # crossdev --target arm-softfloat-uclinux-gnu
5 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6 * Host Portage ARCH: x86
7 * Target Portage ARCH: arm
8 * Target System: arm-softfloat-uclinux-gnu
9 * Stage: 4 (C/C++ compiler)
10
11 * binutils: binutils-[latest]
12 * gcc: gcc-[latest]
13 * headers: linux-headers-[latest]
14 * libc: glibc-[latest]
15
16 * PORTDIR_OVERLAY: /usr/local/portage
17 * PORT_LOGDIR: /var/log/portage
18 * PKGDIR: /usr/portage/packages/cross/arm-softfloat-uclinux-gnu
19 * PORTAGE_TMPDIR: /var/tmp/cross/arm-softfloat-uclinux-gnu
20 _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~
21 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ... [ ok ]
22 * Log: /var/log/portage/cross-arm-softfloat-uclinux-gnu-binutils.log
23 * Emerging cross-binutils ... [ ok ]
24 * Log: /var/log/portage/cross-arm-softfloat-uclinux-gnu-gcc-stage1.log
25 * Emerging cross-gcc-stage1 ...
26
27 * gcc failed :(
28 * If you file a bug, please attach the following logfiles:
29 * /var/log/portage/cross-arm-softfloat-uclinux-gnu-info.log
30 * /var/log/portage/cross-arm-softfloat-uclinux-gnu-gcc-stage1.log
31
32 fails with
33 c-cppbuiltin.c:(.text+0x1366): undefined reference to `LINUX_TARGET_OS_CPP_BUILTINS'
34
35 I have tried different versions of gcc...
36
37 Any idea what is going on?
38
39 Thanks,
40 Robert
41 --
42 gentoo-embedded@g.o mailing list

Replies