[yocto] ADD GDB in FSL toolchain

Khem Raj raj.khem at gmail.com
Tue Aug 4 13:13:59 PDT 2015


On Tue, Aug 4, 2015 at 5:42 AM, Sarayu Krishna Sivanandam
<sarayu at zaikenn.com> wrote:
> hi Gary ,
>
> Thanks for the quick response. I still see the below error .
>
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing RPROVIDES 'gdb-cross-arm'
> NOTE: Runtime target 'gdb-cross-arm' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['gdb-cross-arm']
> ERROR: Required build target 'fsl-toolchain' has no buildable providers.
> Missing or unbuildable dependency chain was: ['fsl-toolchain',
> 'gdb-cross-arm']

this is not a target task. Its a host-x-target tool
you should add db-cross-canadian-${TRANSLATED_TARGET_ARCH}  to
TOOLCHAIN_HOST_TASK

if you want gdb on target then you would add 'gdb' to TOOLCHAIN_TARGET_TASK

> -----
>
> Below is how the change ,
> TOOLCHAIN_TARGET_TASK += " \
>     glib-2.0 \
>     glib-2.0-dev \
>     dtc-staticdev \
>     libgomp \
>     libgomp-dev \
>     libgomp-staticdev \
>     libstdc++-staticdev \
>     ${TCLIBC}-staticdev \
>     util-linux-dev \
>     gdb-cross-arm \
> "
>
>
> Thanks and Regards,
> Sarayu K S
> Tech Lead
> Zaikenn Technologies
>
> On Tue, Aug 4, 2015 at 5:21 PM, Gary Thomas <gary at mlbassoc.com> wrote:
>>
>> On 2015-08-04 03:31, Sarayu Krishna Sivanandam wrote:
>>>
>>> Hi all ,
>>>
>>> I am using the QorIQ-SDK-V1.8 SDK for the toolchain generation for my ARM
>>> board .  I wanted to build gdb along with the toolchain . I got some ideas
>>> from google to add the
>>> gdb-cross in the fsl-toolchain.bb <http://fsl-toolchain.bb> but on doing
>>> the same it gave me some errors when trying to build .
>>>
>>> Can you please let me know the right method to add gdb in the toolchain ?
>>>
>>> Below is the error i got ,
>>> *ERROR: gdb-cross not found in the base feeds (ls1021atwr
>>> cortexa7hf-vfp-neon cortexa7hf-vfp armv7ahf-vfp-neon armv7ahf-vfp
>>> armv6hf-vfp armv5ehf-vfp armv5hf-vfp noarch any all).*
>>
>>
>> Use gdb-cross-arm
>>
>> --
>> ------------------------------------------------------------
>> Gary Thomas                 |  Consulting for the
>> MLB Associates              |    Embedded world
>> ------------------------------------------------------------
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list