public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] Fail to build cross-toolchain arm-softfloat-linux-uclibc
@ 2008-05-13 19:58 Siong-Ui Te
  2008-05-14 19:12 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Siong-Ui Te @ 2008-05-13 19:58 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 1879 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 2054 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-embedded] Fail to build cross-toolchain arm-softfloat-linux-uclibc
  2008-05-13 19:58 [gentoo-embedded] Fail to build cross-toolchain arm-softfloat-linux-uclibc Siong-Ui Te
@ 2008-05-14 19:12 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2008-05-14 19:12 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Siong-Ui Te

[-- Attachment #1: Type: text/plain, Size: 1869 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-14 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-13 19:58 [gentoo-embedded] Fail to build cross-toolchain arm-softfloat-linux-uclibc Siong-Ui Te
2008-05-14 19:12 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox