4 Jul 04:41
Error building glibc for arm on AMD's?
I am new to this list. I'm hoping someone will be able to help me solve
a problem building a toolchain for use with a 2.6 kernel on an arm9
board using crossdev. The issue is this: I can build a toolchain
successfully on a Pentium 4 dual-core machine. But when I try to build
the exact same toolchain on either of two AMD boxes it fails with the
same error while building glibc.
I looked through the archives of this mailing list without seeing
anything relevant. I am hoping someone has seen this before and can tell
me what I'm doing wrong.
Here are the particulars:
The toolchain in question will build with the following command:
USE="-* nls glibc-omitfp nptl nptlonly tls" crossdev \
--b 2.16.1-r3 \
--g 4.1.1-r3 \
--k 2.6.19.2-r2 \
--l 2.3.6-r5 \
-t arm-softfloat-linux-gnu
on the Intel P4 box is running Gentoo 2.6.18 (I don't know the revision
number right now). But if fails on both of these:
Athlon-xp box running Gentoo 2.6-19-r5 or 2.6-20-r8
Duron box running Gentoo 2.6.17-r4
Here is the error message for either of the AMD's:
(Continue reading)
~/Chris
Vladimir Pouzanov wrote:
> I've tried to merge arm-softfloat-linux-gnueabi toolchain based on
> gcc-4.1.2/glibc-2.5/linux-headers-2.6.20-r1/binutils-2.17 but failed
> to compile glibc:
> ../ports/sysdeps/arm/eabi/setfpucw.c:26:26: error: asm/procinfo.h: No
> such file or directory
> ../ports/sysdeps/arm/eabi/setfpucw.c: In function '__setfpucw':
> ../ports/sysdeps/arm/eabi/setfpucw.c:31: error: 'HWCAP_VFP' undeclared
> (first use in this function)
> ../ports/sysdeps/arm/eabi/setfpucw.c:31: error: (Each undeclared
> identifier is reported only once
> ../ports/sysdeps/arm/eabi/setfpucw.c:31: error: for each function it
> appears in.)
> make[2]: ***
>
[/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/glibc-2.5/work/
>
> build-default-arm-softfloat-linux-gnueabi-nptl/math/setfpucw.o] Error 1
>
> It seems to be a known problem for gibc 2.5 and arm eabi (googled
RSS Feed