All of lore.kernel.org
 help / color / mirror / Atom feed
* missing dependency on expat-native in gdb-cross-sdk-7.1-r7.0
@ 2010-09-29 14:32 Jonathan Cameron
  2010-09-29 14:59 ` Holger Freyther
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron @ 2010-09-29 14:32 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Dmitry, Koen Kooi, eric

Hi all,

Got the following error from log.do_compile when building meta-toolchain with angstrom-2010.x using latest testing-next.

gcc: /mnt/disk2/buildroot/oe/oe-stable/tmp/sysroots/x86_64-linux/usr/lib/libexpat.a: No such file or directory
make[2]: *** [gdb] Error 1
make[2]: Leaving directory `/mnt/disk2/buildroot/oe/oe-stable/tmp/work/x86_64-armv5te-sdk-angstrom-linux-gnueabi/gdb-cross-sdk-7.1-r7.0/build-arm-angstrom-linux-gnueabi/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/mnt/disk2/buildroot/oe/oe-stable/tmp/work/x86_64-armv5te-sdk-angstrom-linux-gnueabi/gdb-cross-sdk-7.1-r7.0/build-arm-angstrom-linux-gnueabi'
make: *** [all] Error 2
FATAL: oe_runmake failed

I'd suggest adding expat-native to gdb-cross-sdk.inc DEPENDS (which seems to fix the problem) No idea if it is needed
for all versions though.

Thanks,

Jonathan



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

* Re: missing dependency on expat-native in gdb-cross-sdk-7.1-r7.0
  2010-09-29 14:32 missing dependency on expat-native in gdb-cross-sdk-7.1-r7.0 Jonathan Cameron
@ 2010-09-29 14:59 ` Holger Freyther
  2010-09-29 15:55   ` Jonathan Cameron
  0 siblings, 1 reply; 4+ messages in thread
From: Holger Freyther @ 2010-09-29 14:59 UTC (permalink / raw)
  To: openembedded-devel

On 09/29/2010 10:32 PM, Jonathan Cameron wrote:
> Hi all,

> 
> I'd suggest adding expat-native to gdb-cross-sdk.inc DEPENDS (which seems to fix the problem) No idea if it is needed
> for all versions though.

At least GDB 7.x needs expat to parse the register definitions for the CPU.
E.g. this is important when using the gdb remote protocol.

You should also pass --with-expat to it, right now I have a build issue with
the target gdb and this argument.



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

* Re: missing dependency on expat-native in gdb-cross-sdk-7.1-r7.0
  2010-09-29 14:59 ` Holger Freyther
@ 2010-09-29 15:55   ` Jonathan Cameron
  2010-09-29 22:30     ` Graham Gower
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron @ 2010-09-29 15:55 UTC (permalink / raw)
  To: openembedded-devel

On 09/29/10 15:59, Holger Freyther wrote:
> On 09/29/2010 10:32 PM, Jonathan Cameron wrote:
>> Hi all,
> 
>>
>> I'd suggest adding expat-native to gdb-cross-sdk.inc DEPENDS (which seems to fix the problem) No idea if it is needed
>> for all versions though.
> 
> At least GDB 7.x needs expat to parse the register definitions for the CPU.
> E.g. this is important when using the gdb remote protocol.
> 
> You should also pass --with-expat to it, right now I have a build issue with
> the target gdb and this argument.
> 
Ah, thanks for the heads up. I'll try that and see how I get on.

As an aside there is also an issue with both binutils-cross-sdk and gdb-cross-sdk
wanting to install libiberty.a




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

* Re: missing dependency on expat-native in gdb-cross-sdk-7.1-r7.0
  2010-09-29 15:55   ` Jonathan Cameron
@ 2010-09-29 22:30     ` Graham Gower
  0 siblings, 0 replies; 4+ messages in thread
From: Graham Gower @ 2010-09-29 22:30 UTC (permalink / raw)
  To: openembedded-devel

On 30 September 2010 01:25, Jonathan Cameron <jic23@cam.ac.uk> wrote:
> On 09/29/10 15:59, Holger Freyther wrote:
>> On 09/29/2010 10:32 PM, Jonathan Cameron wrote:
>>> Hi all,
>>
>>>
>>> I'd suggest adding expat-native to gdb-cross-sdk.inc DEPENDS (which seems to fix the problem) No idea if it is needed
>>> for all versions though.
>>
>> At least GDB 7.x needs expat to parse the register definitions for the CPU.
>> E.g. this is important when using the gdb remote protocol.
>>
>> You should also pass --with-expat to it, right now I have a build issue with
>> the target gdb and this argument.
>>
> Ah, thanks for the heads up. I'll try that and see how I get on.
>
> As an aside there is also an issue with both binutils-cross-sdk and gdb-cross-sdk
> wanting to install libiberty.a
>

Yeah, I've run into this.
http://patchwork.openembedded.org/patch/2874/

But more is needed, as other gdb variants clobber other binutils libs too.



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

end of thread, other threads:[~2010-09-29 22:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-29 14:32 missing dependency on expat-native in gdb-cross-sdk-7.1-r7.0 Jonathan Cameron
2010-09-29 14:59 ` Holger Freyther
2010-09-29 15:55   ` Jonathan Cameron
2010-09-29 22:30     ` Graham Gower

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.