Gentoo Archives: gentoo-embedded

From: Siong-Ui Te <siongui@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Fail to build cross-toolchain arm-softfloat-linux-uclibc
Date: Tue, 13 May 2008 19:58:27
Message-Id: a7ea0d70805131258u3c3bf12bnf82ea088d7100dae@mail.gmail.com
1 The following are my commands to build toolchian
2
3 USE="-*" UCLIBC_CPU=ARM920T crossdev -v -t armeb-softfloat-linux-uclibc --b
4 2.18-r1 --g 3.4.6-r2 --k 2.6.25-r2 --l 0.9.28.3-r3
5 USE="-*" UCLIBC_CPU=ARM920T crossdev -v -t armeb-softfloat-linux-uclibc --b
6 2.18-r1 --g 3.4.6-r2 --k 2.6.25-r2 --l 0.9.28.3-r6
7
8 Both failed with the following messages:
9
10 armeb-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs
11 -fno-strict-aliasing -mbig-endian -mtune=arm9tdmi -march=armv4 -msoft-float
12 -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../../include
13 -I. -fstrict-aliasing -Os -funit-at-a-time -isystem
14 /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -c
15 iopl.c -o iopl.o
16 armeb-softfloat-linux-uclibc-strip -x -R .note -R .comment iopl.o
17 ioperm.c:47:22:armeb-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes
18 -Wno-trigraphs -fno-strict-aliasing -mbig-endian -mtune=arm9tdmi
19 -march=armv4 -msoft-float -fno-stack-protector -fno-builtin -nostdinc
20 -D_LIBC -I../../../../include -I. -fstrict-aliasing -Os -funit-at-a-time
21 -isystem /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG
22 -fPIC -c sigaction.c -o sigaction.o
23 asm/page.h: No such file or directory
24 armeb-softfloat-linux-uclibc-strip -x -R .note -R .comment sigaction.o
25 armeb-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs
26 -fno-strict-aliasing -mbig-endian -mtune=arm9tdmi -march=armv4 -msoft-float
27 -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../../include
28 -I. -fstrict-aliasing -Os -funit-at-a-time -isystem
29 /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -c
30 __syscall_error.c -o __syscall_error.o
31 make[4]: *** [ioperm.o] Error 1
32
33
34 It looks like the header file "asm/page.h" is obsoleted in 2.6.25-r2, so
35 uclibc cannot be compiled due to the missing header file.
36 Any solution to this? Thanks.

Replies