Jakub Ladman wrote:
> Dne Sunday 30 December 2007 20:16:22 Mike Frysinger napsal(a):
>> On Sunday 30 December 2007, Jakub Ladman wrote:
>>> Dne Sunday 30 December 2007 19:28:39 jste napsal(a):
>>>> On Sunday 30 December 2007, Jakub Ladman wrote:
>>>>> hovado / # crossdev --g 3.4.6 --target arm-softfloat-linux-uclibc
>>>> review crossdev usage.  the --g option is explicit down to the portage
>>>> rev. if you quickly glance in the log file, you'll see it's trying to
>>>> build gcc-3.3.6.
>>> I do not understand you precisely. What version of gcc in --g parameter
>>> should i use to have gcc-3.4.6?
>> the --g option is a portage version and is used as the max allowed version.
>> 3.4.6 has an implicit -r0 on it which means you're only
>> allowing "<=gcc-3.4.6-r0".  there is no gcc-3.4.6-r0 in portage, just
>> gcc-3.4.6-r2, so gcc-3.3.6-r1 was selected.  you'll need to use something
>> like --g 3.4.6-r2.
>> -mike
> 
> Hi
> Unfortunately it helps not
> It have generated gcc 3.4.2-r2 now, but uclibc failed again.
> See the logs please.

This is more gooder.  :-)

#################################################################
arm-softfloat-linux-uclibc-strip -x -R .note -R .comment syscall.o
arm-softfloat-linux-uclibc-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing  -mlittle-endian -msoft-float -fno-stack-protector
-fno-builtin -nostdinc -D_LIBC -I../../../../include -I.
-fstrict-aliasing -Os -funit-at-a-time   -isystem
/usr/lib/gcc/arm-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -c
ioperm.c -o ioperm.o
ioperm.c:47:22: asm/page.h: No such file or directory
make[4]: *** [ioperm.o] Error 1
make[4]: Leaving directory
`/var/tmp/cross/arm-softfloat-linux-uclibc/portage/cross-arm-softfloat-linux-uclibc/uclibc-0.9.28.3-r1/work/uClibc-0.9.28.3/libc/sysdeps/linux/arm'
#################################################################

go into /usr/arm-softfloat-linux-uclibc/usr/src/linux/include/ and make
sure ./asm->./asm-arm

Also,

#################################################################
 * You really should consider setting UCLIBC_CPU
 * Otherwise, the build will be generic (read: slow).
#################################################################

>From the ebuild:
CPU_ARM="GENERIC_ARM
ARM{610,710,720T,920T,922T,926T,_{SA110,SA1100,XSCALE}}"

For example, I 'export UCLIBC_CPU=ARM_XSCALE' for my ixp425 processor board.

hth,

Jason.
-- 
[EMAIL PROTECTED] mailing list

Reply via email to