All of lore.kernel.org
 help / color / mirror / Atom feed
* ARM EABI SDK build
@ 2006-11-12  0:50 Nils Faerber
  2006-11-13 12:54 ` Florian Boor
  0 siblings, 1 reply; 10+ messages in thread
From: Nils Faerber @ 2006-11-12  0:50 UTC (permalink / raw)
  To: openembedded-devel

Hello!
I am terribly sorry but now you got me on your track too ;)

As first task I wanted to build an ARM EABI softfloat toolchain using
current OE. So I created a machine config for a PXA270 machine using
Angstrom as dist and created my own smaller version of meta-sdk in order
not to build X11, GTK, OPIE and GPE (for now).

The first problem I stepped over is that gcc4-build-sdk.inc still has
the line

SRC_URI += 'file://602-sdk-libstdc++-includes.patch;patch=1'

or in fact without the 602- prefix. But this patch is already included
in the gcc_4.1.1.bb. So I commented that out.

Now the build continued a bit further but fails at gcc-cross-sdk-4.1.1-r0:

|
/home/nils/work/oe/colli-sdk/tmp/work/i686-angstrom-linux-gnueabi/gcc-cross-sdk-4.1.1-r0/gcc-4.1.1/libiberty/getpwd.c:
In function ‘getpwd’:
|
/home/nils/work/oe/colli-sdk/tmp/work/i686-angstrom-linux-gnueabi/gcc-cross-sdk-4.1.1-r0/gcc-4.1.1/libiberty/getpwd.c:75:
error: storage size of ‘dotstat’ isn’t known
|
/home/nils/work/oe/colli-sdk/tmp/work/i686-angstrom-linux-gnueabi/gcc-cross-sdk-4.1.1-r0/gcc-4.1.1/libiberty/getpwd.c:75:
error: storage size of ‘pwdstat’ isn’t known


Which I do not understand at all.

Does anyone have an idea what might causing this?
Or even better, does anyone have a working config for an ARM EABI
softfloat toolchain (SDK) target?

Thanks!

Cheers
  nils faerber

PS: Apart from that minor problem OE has become a lot better during that
last 3/4 of an year when I last looked at it ;)

-- 
kernel concepts GbR      Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          Mob: +49-176-21024535
--



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

* Re: ARM EABI SDK build
  2006-11-12  0:50 ARM EABI SDK build Nils Faerber
@ 2006-11-13 12:54 ` Florian Boor
       [not found]   ` <45589A63.9030808@kernelconcepts.de>
  0 siblings, 1 reply; 10+ messages in thread
From: Florian Boor @ 2006-11-13 12:54 UTC (permalink / raw)
  To: openembedded-devel

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

Hi,

Nils Faerber schrieb:
> The first problem I stepped over is that gcc4-build-sdk.inc still has
> the line
> 
> SRC_URI += 'file://602-sdk-libstdc++-includes.patch;patch=1'
> 
> or in fact without the 602- prefix. But this patch is already included
> in the gcc_4.1.1.bb. So I commented that out.

this seems to be fixed now, i get a different message:

NOTE: Applying patch '300-libstdc++-pic.patch'
ERROR: Error in executing:
/home/fuchs/Projekte/oe/dev/packages/gcc/gcc-cross-sdk_4.1.1.bb
ERROR: Exception:__builtin__.CmdError Message:Command Error: exit status: 1  Output:
Patch headers differ:
@@ -1,4 +1,2 @@
 # DP: Build and install libstdc++_pic.a library.

Sounds like a broken patch to me.
I use bitbake 1.6.2 and the up to date stuff from org.openembedded.dev
(9c4dc2162967f7102e29135dc8da502dd80d01ac).

The full error message is attached...

Greetings

Florian

-- 
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49 271-771091-14
and the reality of tomorrow.            Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904]        florian.boor@kernelconcepts.de

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76

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

* Re: ARM EABI SDK build
       [not found]   ` <45589A63.9030808@kernelconcepts.de>
@ 2006-11-13 16:25     ` Marcin Juszkiewicz
  2006-11-13 18:13       ` Nils Faerber
  0 siblings, 1 reply; 10+ messages in thread
From: Marcin Juszkiewicz @ 2006-11-13 16:25 UTC (permalink / raw)
  To: openembedded-devel

Dnia poniedziałek, 13 listopada 2006 17:16, Nils Faerber napisał:

> I forgot to report: "file_4.16.bb"  and "file-native-4.16.bb" need to be
> updated since the server does not carry 4.16 anmore - only 4.17 and
> 4.18.

I suggest updating metadata:

Revision: fa302963f7d41e6cdf3efbde3458b3731e8ec5ae
Ancestor: 3d7e2cab9dc312dae9852afc664f3bbdb5d4c9e9
Author: xora@openembedded.org
Date: 2006-11-09T10:37:33
Branch: org.openembedded.dev

Added files:
        packages/file/file-native_4.18.bb packages/file/file_4.18.bb
        packages/file/files/dump packages/file/files/filesystems

ChangeLog:

file, file-native 4.18 : replaced the magic files for filesystems and dump
for the ones for 4.16. The stuff that doesnt compile in 4.18 is new so it
looks like a lack of QA on part of this release that they dont work.

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

                 Shortcut, n.:
                 	the longest distance between two points.





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

* Re: ARM EABI SDK build
  2006-11-13 16:25     ` Marcin Juszkiewicz
@ 2006-11-13 18:13       ` Nils Faerber
  2006-11-13 20:50         ` Koen Kooi
  0 siblings, 1 reply; 10+ messages in thread
From: Nils Faerber @ 2006-11-13 18:13 UTC (permalink / raw)
  To: openembedded-devel

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

OK, that was indeed fixed.
But I still have the problem that gcc-cross-sdk-4.1.1 fails to compile
due to problems with sys/types.h
This is really strange since this originates from glibc.

Koen: Didn't you build an EABI-softfloat toolchain already?

Cheers
  nils

Marcin Juszkiewicz schrieb:
> Dnia poniedziałek, 13 listopada 2006 17:16, Nils Faerber napisał:
> 
>> I forgot to report: "file_4.16.bb"  and "file-native-4.16.bb" need to be
>> updated since the server does not carry 4.16 anmore - only 4.17 and
>> 4.18.
> 
> I suggest updating metadata:
> 
> Revision: fa302963f7d41e6cdf3efbde3458b3731e8ec5ae
> Ancestor: 3d7e2cab9dc312dae9852afc664f3bbdb5d4c9e9
> Author: xora@openembedded.org
> Date: 2006-11-09T10:37:33
> Branch: org.openembedded.dev
> 
> Added files:
>         packages/file/file-native_4.18.bb packages/file/file_4.18.bb
>         packages/file/files/dump packages/file/files/filesystems
> 
> ChangeLog:
> 
> file, file-native 4.18 : replaced the magic files for filesystems and dump
> for the ones for 4.16. The stuff that doesnt compile in 4.18 is new so it
> looks like a lack of QA on part of this release that they dont work.
> 


-- 
kernel concepts GbR      Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          Mob: +49-176-21024535
--

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

* Re: ARM EABI SDK build
  2006-11-13 18:13       ` Nils Faerber
@ 2006-11-13 20:50         ` Koen Kooi
  2006-11-14 12:54           ` Nils Faerber
  2006-11-14 16:35           ` Nils Faerber
  0 siblings, 2 replies; 10+ messages in thread
From: Koen Kooi @ 2006-11-13 20:50 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nils Faerber schreef:
> OK, that was indeed fixed.
> But I still have the problem that gcc-cross-sdk-4.1.1 fails to compile
> due to problems with sys/types.h
> This is really strange since this originates from glibc.
> 
> Koen: Didn't you build an EABI-softfloat toolchain already?

Riku did:
http://dominion.kabel.utwente.nl/koen/cms/using-openembedded-toolchains-in-scratchbox

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFWNqEMkyGM64RGpERArWvAKCprelLRvf6IYt+s/qtCwc0u6HlkACfZnlQ
KKjheV9i8rV/e+D5vG5FnTE=
=+ENC
-----END PGP SIGNATURE-----



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

* Re: ARM EABI SDK build
  2006-11-13 20:50         ` Koen Kooi
@ 2006-11-14 12:54           ` Nils Faerber
  2006-11-14 13:07             ` Koen Kooi
  2006-11-14 16:35           ` Nils Faerber
  1 sibling, 1 reply; 10+ messages in thread
From: Nils Faerber @ 2006-11-14 12:54 UTC (permalink / raw)
  To: openembedded-devel

Koen Kooi schrieb:
> Nils Faerber schreef:
>>> OK, that was indeed fixed.
>>> But I still have the problem that gcc-cross-sdk-4.1.1 fails to compile
>>> due to problems with sys/types.h
>>> This is really strange since this originates from glibc.
>>> Koen: Didn't you build an EABI-softfloat toolchain already?
> Riku did:
> http://dominion.kabel.utwente.nl/koen/cms/using-openembedded-toolchains-in-scratchbox

Hmm... the hpowto does not help much since it does not mention which
distribution he used or how his local.conf looked like...

> regards,
> Koen
Cheers
  nils faerber

-- 
kernel concepts GbR      Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          Mob: +49-176-21024535
--



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

* Re: ARM EABI SDK build
  2006-11-14 12:54           ` Nils Faerber
@ 2006-11-14 13:07             ` Koen Kooi
  2006-11-14 15:56               ` Richard Purdie
  0 siblings, 1 reply; 10+ messages in thread
From: Koen Kooi @ 2006-11-14 13:07 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nils Faerber schreef:
> Koen Kooi schrieb:
>> Nils Faerber schreef:
>>>> OK, that was indeed fixed.
>>>> But I still have the problem that gcc-cross-sdk-4.1.1 fails to compile
>>>> due to problems with sys/types.h
>>>> This is really strange since this originates from glibc.
>>>> Koen: Didn't you build an EABI-softfloat toolchain already?
>> Riku did:
>> http://dominion.kabel.utwente.nl/koen/cms/using-openembedded-toolchains-in-scratchbox
> 
> Hmm... the hpowto does not help much since it does not mention which
> distribution he used or how his local.conf looked like...

Most likely his local.conf was:

BBFILES = "/somepath/*/*.bb"

DISTRO="angstrom-2007.1"
MACHINE="qemu-arm"

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFWb95MkyGM64RGpERAkzxAKCAAUgKyrEuCPpy/7yznU/RObSvaACdF+yO
Vmksz/DMQqrfttOCZDWvzRw=
=+B7s
-----END PGP SIGNATURE-----



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

* Re: ARM EABI SDK build
  2006-11-14 13:07             ` Koen Kooi
@ 2006-11-14 15:56               ` Richard Purdie
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Purdie @ 2006-11-14 15:56 UTC (permalink / raw)
  To: openembedded-devel

On Tue, 2006-11-14 at 14:07 +0100, Koen Kooi wrote:
> Most likely his local.conf was:
> 
> BBFILES = "/somepath/*/*.bb"
> 
> DISTRO="angstrom-2007.1"
> MACHINE="qemu-arm"

MACHINE = "qemuarm" ;-)

Richard




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

* Re: ARM EABI SDK build
  2006-11-13 20:50         ` Koen Kooi
  2006-11-14 12:54           ` Nils Faerber
@ 2006-11-14 16:35           ` Nils Faerber
  2006-11-20 11:26             ` Nils Faerber
  1 sibling, 1 reply; 10+ messages in thread
From: Nils Faerber @ 2006-11-14 16:35 UTC (permalink / raw)
  To: openembedded-devel

Koen Kooi schrieb:
> Nils Faerber schreef:
>>> OK, that was indeed fixed.
>>> But I still have the problem that gcc-cross-sdk-4.1.1 fails to compile
>>> due to problems with sys/types.h
>>> This is really strange since this originates from glibc.
>>>
>>> Koen: Didn't you build an EABI-softfloat toolchain already?
> 
> Riku did:
> http://dominion.kabel.utwente.nl/koen/cms/using-openembedded-toolchains-in-scratchbox

OK... well we tried both approaches now, the simpler one you mentioned
on the list and our own - both failed at the same gcc-sdk compile in
libiberty (see my previous log).

I now investigated this a little further..

First of all I think that gcc4-build-sdk.inc has an error. I think that
line 3

  SRC_URI += 'file://602-sdk-libstdc++-includes.patch;patch=1'

is not needed (anymore) and rather causes do_patch to fail.
After fixing that I get to the old point with libiberty, etc...

Then I tried to build gcc-cross target and see: It works!

So I suspect that there is some problem with the gcc-cross-sdk target.
But I am too new to OE to be able to fix that, I fear.

So a big please to the maintainer of that target: Could you help me
please? I need that compiler ;)

Many thanks!

Oh ... and please have someone review the above gcc4-build-sdk.inc and
potentially remove the SRC_URI line...

> regards,
> Koen
Cheers
  nils faerber

-- 
kernel concepts GbR      Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          Mob: +49-176-21024535
--



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

* Re: ARM EABI SDK build
  2006-11-14 16:35           ` Nils Faerber
@ 2006-11-20 11:26             ` Nils Faerber
  0 siblings, 0 replies; 10+ messages in thread
From: Nils Faerber @ 2006-11-20 11:26 UTC (permalink / raw)
  To: openembedded-devel

Hi!
I am made one step forward but do not think that it is the right way to
do it...
The task-sdk worked to build though meta-sdk still does not. Copying the
toolchain out of tmp/cross/ and adding libs from staging seems to work.

But it seems "unclean" to me and involves manual collection of all the
bits and pieces.

Still noone knows why meta-sdk fails?

Cheers
  nils

Nils Faerber schrieb:
> Koen Kooi schrieb:
>> Nils Faerber schreef:
>>>> OK, that was indeed fixed.
>>>> But I still have the problem that gcc-cross-sdk-4.1.1 fails to compile
>>>> due to problems with sys/types.h
>>>> This is really strange since this originates from glibc.
>>>>
>>>> Koen: Didn't you build an EABI-softfloat toolchain already?
>> Riku did:
>> http://dominion.kabel.utwente.nl/koen/cms/using-openembedded-toolchains-in-scratchbox
> 
> OK... well we tried both approaches now, the simpler one you mentioned
> on the list and our own - both failed at the same gcc-sdk compile in
> libiberty (see my previous log).
> 
> I now investigated this a little further..
> 
> First of all I think that gcc4-build-sdk.inc has an error. I think that
> line 3
> 
>   SRC_URI += 'file://602-sdk-libstdc++-includes.patch;patch=1'
> 
> is not needed (anymore) and rather causes do_patch to fail.
> After fixing that I get to the old point with libiberty, etc...
> 
> Then I tried to build gcc-cross target and see: It works!
> 
> So I suspect that there is some problem with the gcc-cross-sdk target.
> But I am too new to OE to be able to fix that, I fear.
> 
> So a big please to the maintainer of that target: Could you help me
> please? I need that compiler ;)
> 
> Many thanks!
> 
> Oh ... and please have someone review the above gcc4-build-sdk.inc and
> potentially remove the SRC_URI line...
> 
>> regards,
>> Koen
> Cheers
>   nils faerber

-- 
kernel concepts GbR      Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          Mob: +49-176-21024535
--



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

end of thread, other threads:[~2006-11-20 11:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-12  0:50 ARM EABI SDK build Nils Faerber
2006-11-13 12:54 ` Florian Boor
     [not found]   ` <45589A63.9030808@kernelconcepts.de>
2006-11-13 16:25     ` Marcin Juszkiewicz
2006-11-13 18:13       ` Nils Faerber
2006-11-13 20:50         ` Koen Kooi
2006-11-14 12:54           ` Nils Faerber
2006-11-14 13:07             ` Koen Kooi
2006-11-14 15:56               ` Richard Purdie
2006-11-14 16:35           ` Nils Faerber
2006-11-20 11:26             ` Nils Faerber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.