Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Embedded (http://www.linux-archive.org/gentoo-embedded/)
-   -   Fail to build cross-toolchain arm-softfloat-linux-uclibc (http://www.linux-archive.org/gentoo-embedded/87247-fail-build-cross-toolchain-arm-softfloat-linux-uclibc.html)

"Siong-Ui Te" 05-13-2008 07:58 PM

Fail to build cross-toolchain arm-softfloat-linux-uclibc
 
The following are my commands to build toolchian

USE="-*" UCLIBC_CPU=ARM920T crossdev -v -t armeb-softfloat-linux-uclibc --b 2.18-r1 --g 3.4.6-r2 --k 2.6.25-r2 --l 0.9.28.3-r3
USE="-*" UCLIBC_CPU=ARM920T crossdev -v -t armeb-softfloat-linux-uclibc --b 2.18-r1 --g 3.4.6-r2 --k 2.6.25-r2 --l 0.9.28.3-r6


Both failed with the following messages:

armeb-softfloat-linux-uclibc-gcc* -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing* -mbig-endian -mtune=arm9tdmi -march=armv4 -msoft-float -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../../include -I.* -fstrict-aliasing -Os -funit-at-a-time** -isystem /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -c iopl.c -o iopl.o

armeb-softfloat-linux-uclibc-strip -x -R .note -R .comment iopl.o
ioperm.c:47:22:armeb-softfloat-linux-uclibc-gcc* -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing* -mbig-endian -mtune=arm9tdmi -march=armv4 -msoft-float -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../../include -I.* -fstrict-aliasing -Os -funit-at-a-time** -isystem /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -c sigaction.c -o sigaction.o

*asm/page.h: No such file or directory
armeb-softfloat-linux-uclibc-strip -x -R .note -R .comment sigaction.o
armeb-softfloat-linux-uclibc-gcc* -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing* -mbig-endian -mtune=arm9tdmi -march=armv4 -msoft-float -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../../include -I.* -fstrict-aliasing -Os -funit-at-a-time** -isystem /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -c __syscall_error.c -o __syscall_error.o

make[4]: *** [ioperm.o] Error 1


It looks like the header file "asm/page.h" is obsoleted in 2.6.25-r2, so uclibc cannot be compiled due to the missing header file.
Any solution to this? Thanks.

Mike Frysinger 05-14-2008 07:12 PM

Fail to build cross-toolchain arm-softfloat-linux-uclibc
 
On Tuesday 13 May 2008, Siong-Ui Te wrote:
> armeb-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs
> -fno-strict-aliasing -mbig-endian -mtune=arm9tdmi -march=armv4
> -msoft-float -fno-stack-protector -fno-builtin -nostdinc -D_LIBC
> -I../../../../include -I. -fstrict-aliasing -Os -funit-at-a-time
> -isystem
> /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -c
> iopl.c -o iopl.o
> armeb-softfloat-linux-uclibc-strip -x -R .note -R .comment iopl.o
> ioperm.c:47:22:armeb-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes
> -Wno-trigraphs -fno-strict-aliasing -mbig-endian -mtune=arm9tdmi
> -march=armv4 -msoft-float -fno-stack-protector -fno-builtin -nostdinc
> -D_LIBC -I../../../../include -I. -fstrict-aliasing -Os -funit-at-a-time
> -isystem /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG
> -fPIC -c sigaction.c -o sigaction.o
> asm/page.h: No such file or directory
> armeb-softfloat-linux-uclibc-strip -x -R .note -R .comment sigaction.o
> armeb-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs
> -fno-strict-aliasing -mbig-endian -mtune=arm9tdmi -march=armv4
> -msoft-float -fno-stack-protector -fno-builtin -nostdinc -D_LIBC
> -I../../../../include -I. -fstrict-aliasing -Os -funit-at-a-time
> -isystem
> /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -c
> __syscall_error.c -o __syscall_error.o

none of this is actually relevant ...

> make[4]: *** [ioperm.o] Error 1
>
> It looks like the header file "asm/page.h" is obsoleted in 2.6.25-r2, so
> uclibc cannot be compiled due to the missing header file.
> Any solution to this? Thanks.

i thought Ned included a patch for this in newer 0.9.28 versions ... you could
just touch the "asm/page.h" file in your kernel dir to work around the issue
-mike


All times are GMT. The time now is 09:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.