FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Embedded

 
 
LinkBack Thread Tools
 
Old 12-30-2007, 05:57 PM
Mike Frysinger
 
Default still problems with crossdev

On Sunday 30 December 2007, Jakub Ladman wrote:
> Dne Sunday 30 December 2007 19:29:25 Mike Frysinger napsal(a):
> > On Sunday 30 December 2007, Jason wrote:
> > > Jakub Ladman wrote:
> > > > * Emerging cross-gcc-stage1 ...
> > > >
> > > > * gcc failed
> > > > * If you file a bug, please attach the following logfiles:
> > > > * /var/log/portage/cross-arm-softfloat-linux-uclibc-info.log
> > > > * /var/log/portage/cross-arm-softfloat-linux-uclibc-gcc-stage1.log
> > >
> > > Please don't send attachments when sending messages to the mailinglist.
> > > Just post the relevant section of the logfile(s).
> >
> > it's probably better if people post complete logs. too often they dont
> > know what is relevant and so post the wrong/misleading snippets.
> >
> > however, real men dont use zip.
> >
> :-) You are right, but it is what my kmail offers me, so that is the
> : simplest
>
> way to compress it.
> I promise i will use bzip2 in the future only.

it'd be neat if kmail offered compression selection ... probably defaults to
zip for all the Windows lamers out there.
-mike
 
Old 12-30-2007, 06:07 PM
Jakub Ladman
 
Default still problems with crossdev

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.
> -mike

I do not understand you precisely. What version of gcc in --g parameter should
i use to have gcc-3.4.6?

JL

--
gentoo-embedded@gentoo.org mailing list
 
Old 12-30-2007, 06:16 PM
Mike Frysinger
 
Default still problems with crossdev

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
 
Old 12-30-2007, 08:45 PM
Jakub Ladman
 
Default still problems with crossdev

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

Thank you
--
gentoo-embedded@gentoo.org mailing list
 
Old 12-31-2007, 09:34 AM
Jakub Ladman
 
Default still problems with crossdev

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.

Jakub Ladman
 
Old 12-31-2007, 11:57 AM
Jason
 
Default still problems with crossdev

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,XSC ALE}}"

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

hth,

Jason.
--
gentoo-embedded@gentoo.org mailing list
 
Old 12-31-2007, 12:42 PM
Jakub Ladman
 
Default still problems with crossdev

> 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-linu
>x-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

but there is no asm-arm directory

>
> 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,XSC ALE}}"
>
> For example, I 'export UCLIBC_CPU=ARM_XSCALE' for my ixp425 processor
> board.

Thank you I will try ARM920T

--
gentoo-embedded@gentoo.org mailing list
 
Old 12-31-2007, 01:53 PM
Jason
 
Default still problems with crossdev

Jakub Ladman wrote:
>> 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-linu
>> x-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
>
> but there is no asm-arm directory
>

What is in that directory?


Jason.
--
gentoo-embedded@gentoo.org mailing list
 
Old 12-31-2007, 02:10 PM
Jakub Ladman
 
Default still problems with crossdev

Dne Monday 31 December 2007 15:53:16 Jason napsal(a):
> Jakub Ladman wrote:
> >> 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-l
> >>inu
> >> x-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

This directory is not present, but linux headers are in directory showed below

> >> sure ./asm->./asm-arm
> >
> > but there is no asm-arm directory
>
> What is in that directory?
>
>
> Jason.


hovado cirrus # ls -la /usr/arm-softfloat-linux-uclibc/usr/include/
celkem 10
drwxr-xr-x 8 root root 200 2007-12-31 15:29 .
drwxr-xr-x 3 root root 72 2007-12-31 15:29 ..
drwxr-xr-x 2 root root 864 2007-12-31 15:29 asm
drwxr-xr-x 2 root root 336 2007-12-31 15:29 asm-generic
drwxr-xr-x 18 root root 9648 2007-12-31 15:29 linux
drwxr-xr-x 2 root root 272 2007-12-31 15:29 mtd
drwxr-xr-x 2 root root 80 2007-12-31 15:29 rdma
drwxr-xr-x 2 root root 72 2007-12-31 15:29 video
hovado cirrus #

--
gentoo-embedded@gentoo.org mailing list
 
Old 12-31-2007, 02:34 PM
Jason
 
Default still problems with crossdev

Jakub Ladman wrote:
> Dne Monday 31 December 2007 15:53:16 Jason napsal(a):
>> Jakub Ladman wrote:
>>>> 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-l
>>>> inu
>>>> x-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
>
> This directory is not present, but linux headers are in directory showed below
>
>>>> sure ./asm->./asm-arm
>>> but there is no asm-arm directory
>> What is in that directory?
>>
>
> hovado cirrus # ls -la /usr/arm-softfloat-linux-uclibc/usr/include/
> celkem 10
> drwxr-xr-x 8 root root 200 2007-12-31 15:29 .
> drwxr-xr-x 3 root root 72 2007-12-31 15:29 ..
> drwxr-xr-x 2 root root 864 2007-12-31 15:29 asm
> drwxr-xr-x 2 root root 336 2007-12-31 15:29 asm-generic
> drwxr-xr-x 18 root root 9648 2007-12-31 15:29 linux
> drwxr-xr-x 2 root root 272 2007-12-31 15:29 mtd
> drwxr-xr-x 2 root root 80 2007-12-31 15:29 rdma
> drwxr-xr-x 2 root root 72 2007-12-31 15:29 video
> hovado cirrus #
>

Try starting over from scratch:

# crossdev -C arm-softfloat-linux-uclibc

Then rebuild the toolchain. Chances are, there are some stale files
from a previous attempt.

hth,

Jason.
--
gentoo-embedded@gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 08:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org