All of lore.kernel.org
 help / color / mirror / Atom feed
* kexec-tools-static build failue for zaurus collie
@ 2009-04-15  9:35 Chris Sykes
  2009-04-15  9:50 ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Sykes @ 2009-04-15  9:35 UTC (permalink / raw)
  To: Openembedded-devel

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

Hi,

I'm currently failing in my attempts to get OE built for my Zaurus
collie.  I'm using an up-to-date git checkout on the stable 2009 branch.

OE Build Configuration:
BB_VERSION        = "1.8.12"
METADATA_BRANCH   = "stable2009"
METADATA_REVISION = "272ae318b03bcd062f8b43258ce54a2cd96b9f45"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux"
MACHINE           = "collie"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2009.X-test-20090415"
TARGET_FPU        = "soft"

Interestingly (or perhaps not), the kexec-tools build seems to go just
fine, it's just kexec-tools-static that has a problem.

It seems to be an include path problem as 'mach/memory.h' is not found.
Here's the start of the failed build log:
| arm-angstrom-linux-klcc -Wall -g -fno-strict-aliasing -I./include
-I./util_lib/include -DVERSION='"1.101"' -DRELEASE_DATE='"15 February
2005"' -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"  -Ikexec/arch/arm/include
-o /home/csykes/projects/cappuccino/zaurus/build/tmp/work/arm-oabi-angstrom-linux/kexec-tools-static-1.101-r4/kexec-tools-1.101/objdir-arm-angstrom-linux/kexec/arch/arm/kexec-zImage-arm.o -c kexec/arch/arm/kexec-zImage-arm.c
| In file included
from /home/csykes/projects/cappuccino/zaurus/build/tmp/staging/arm-oabi-angstrom-linux/lib/klibc/include/asm/page.h:183,
|                  from kexec/arch/arm/kexec-zImage-arm.c:18:
| /home/csykes/projects/cappuccino/zaurus/build/tmp/staging/arm-oabi-angstrom-linux/lib/klibc/include/asm/memory.h:18:25: error: mach/memory.h: No such file or directory
| In file included
from /home/csykes/projects/cappuccino/zaurus/build/tmp/staging/arm-oabi-angstrom-linux/lib/klibc/include/asm/page.h:183,
|                  from kexec/arch/arm/kexec-zImage-arm.c:18:
| /home/csykes/projects/cappuccino/zaurus/build/tmp/staging/arm-oabi-angstrom-linux/lib/klibc/include/asm/memory.h: In function 'virt_to_phys':
| /home/csykes/projects/cappuccino/zaurus/build/tmp/staging/arm-oabi-angstrom-linux/lib/klibc/include/asm/memory.h:162: error: 'CONFIG_DRAM_BASE' undeclared (first use in this function)


-- 
Chris Sykes

Next Step Solutions Limited
Email: chris.sykes@nextstepsolutions.co.uk
Tel: 0870 3146413

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

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

* Re: kexec-tools-static build failue for zaurus collie
  2009-04-15  9:35 kexec-tools-static build failue for zaurus collie Chris Sykes
@ 2009-04-15  9:50 ` Koen Kooi
  2009-04-15 10:07   ` Andrea Adami
  2009-04-15 10:36   ` Graeme Gregory
  0 siblings, 2 replies; 5+ messages in thread
From: Koen Kooi @ 2009-04-15  9:50 UTC (permalink / raw)
  To: openembedded-devel

On 15-04-09 11:35, Chris Sykes wrote:
> Hi,
>
> I'm currently failing in my attempts to get OE built for my Zaurus
> collie.  I'm using an up-to-date git checkout on the stable 2009 branch.
>
> OE Build Configuration:
> BB_VERSION        = "1.8.12"
> METADATA_BRANCH   = "stable2009"
> METADATA_REVISION = "272ae318b03bcd062f8b43258ce54a2cd96b9f45"
> TARGET_ARCH       = "arm"
> TARGET_OS         = "linux"
> MACHINE           = "collie"
> DISTRO            = "angstrom"
> DISTRO_VERSION    = "2009.X-test-20090415"
> TARGET_FPU        = "soft"
>
> Interestingly (or perhaps not), the kexec-tools build seems to go just
> fine, it's just kexec-tools-static that has a problem.
>
> It seems to be an include path problem as 'mach/memory.h' is not found.

Looks like kexectools-static doesn't account for the big arm header move 
in the kernel yet.

regards,

Koen




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

* Re: kexec-tools-static build failue for zaurus collie
  2009-04-15  9:50 ` Koen Kooi
@ 2009-04-15 10:07   ` Andrea Adami
  2009-04-15 10:43     ` Chris Sykes
  2009-04-15 10:36   ` Graeme Gregory
  1 sibling, 1 reply; 5+ messages in thread
From: Andrea Adami @ 2009-04-15 10:07 UTC (permalink / raw)
  To: openembedded-devel

Yes, problem with recent kernels (>2.6.28 ?) and klibc.
See http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-April/009377.html

As workaround you can build kexecboot against an older kernel.

Apart this, we have a very old kexec-tools in OE.
http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/
Worth to upgrade?

Regards

Andrea



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

* Re: kexec-tools-static build failue for zaurus collie
  2009-04-15  9:50 ` Koen Kooi
  2009-04-15 10:07   ` Andrea Adami
@ 2009-04-15 10:36   ` Graeme Gregory
  1 sibling, 0 replies; 5+ messages in thread
From: Graeme Gregory @ 2009-04-15 10:36 UTC (permalink / raw)
  To: openembedded-devel

On 04/15/2009 10:50 AM, Koen Kooi wrote:
> On 15-04-09 11:35, Chris Sykes wrote:
>> Hi,
>>
>> I'm currently failing in my attempts to get OE built for my Zaurus
>> collie.  I'm using an up-to-date git checkout on the stable 2009 branch.
>>
>> OE Build Configuration:
>> BB_VERSION        = "1.8.12"
>> METADATA_BRANCH   = "stable2009"
>> METADATA_REVISION = "272ae318b03bcd062f8b43258ce54a2cd96b9f45"
>> TARGET_ARCH       = "arm"
>> TARGET_OS         = "linux"
>> MACHINE           = "collie"
>> DISTRO            = "angstrom"
>> DISTRO_VERSION    = "2009.X-test-20090415"
>> TARGET_FPU        = "soft"
>>
>> Interestingly (or perhaps not), the kexec-tools build seems to go just
>> fine, it's just kexec-tools-static that has a problem.
>>
>> It seems to be an include path problem as 'mach/memory.h' is not found.
>
> Looks like kexectools-static doesn't account for the big arm header 
> move in the kernel yet.
>
Its actually klibc which is broken, this was discussed a couple of weeks 
ago.

Graeme




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

* Re: kexec-tools-static build failue for zaurus collie
  2009-04-15 10:07   ` Andrea Adami
@ 2009-04-15 10:43     ` Chris Sykes
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Sykes @ 2009-04-15 10:43 UTC (permalink / raw)
  To: openembedded-devel

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

On Wed, 2009-04-15 at 12:07 +0200, Andrea Adami wrote:
> Yes, problem with recent kernels (>2.6.28 ?) and klibc.
> See http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-April/009377.html
> 
> As workaround you can build kexecboot against an older kernel.

Ah, many thanks for the pointers.  I had done a quick search of the
archives but was looking for kexec issues rather than klibc.

-- 
Chris Sykes

Next Step Solutions Limited
Email: chris.sykes@nextstepsolutions.co.uk
Tel: 0870 3146413

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

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

end of thread, other threads:[~2009-04-15 10:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-15  9:35 kexec-tools-static build failue for zaurus collie Chris Sykes
2009-04-15  9:50 ` Koen Kooi
2009-04-15 10:07   ` Andrea Adami
2009-04-15 10:43     ` Chris Sykes
2009-04-15 10:36   ` Graeme Gregory

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.