This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build cross gdb with crosstool-NG doesn't work


On Tue, Dec 8, 2009 at 2:44 AM, Andreas Erler <a.elch@gmx.at> wrote:
> Hi All,
>
> I've now successfully built a canadian cross compiler toolchain for an
> arm-linux-uclibc target on an ubuntu 9.10 build machine for a mingw32 host
> with crosstool-NG 1.5.2.
> Many thanks to Yann for doing a great job and saving much time for many
> frustrated developer :-)
> After that success I tried to build a cross gdb for the mingw32 host also,
> but unfortunately the build system stopped with some error messages.
> I've tried several configurations (gdb 6.8, 6.6, ...) but I've got never a
> successful completion.
>
> Here is the output (gdb 6.6) where it breaks:
>
> [INFO ] ÂInstalling cross-gdb
> [ERROR] Â ÂBuild failed in step 'Installing cross-gdb'
> [ERROR] Â ÂError happened in
> '/home/erlera/src/ct-ng/lib/ct-ng-1.5.2/scripts/functions' in function
> 'CT_DoExecLog' (line unknown, sorry)
> [ERROR] Â Â Â Â Âcalled from
> '/home/erlera/src/ct-ng/lib/ct-ng-1.5.2/scripts/build/debug/300-gdb.sh' at
> line # 116 in function 'do_debug_gdb_build'
> [ERROR] Â Â Â Â Âcalled from
> '/home/erlera/src/ct-ng/lib/ct-ng-1.5.2/scripts/build/debug.sh' at line # 35
> in function 'do_debug'
> [ERROR] Â Â Â Â Âcalled from
> '/home/erlera/src/ct-ng/lib/ct-ng-1.5.2/scripts/crosstool-NG.sh' at line #
> 544 in function 'main'
> [ERROR] Â ÂLook at
> '/home/erlera/x-tools/arm-unknown-linux-uclibcgnueabi/build.log' for more
> info on this error.
> [ERROR] Â(elapsed: 36:16.82)
> [36:18] / make: *** [build] Error 1
>
> Can anyone please give me a hint what is going wrong here?

your build configuration seems to be that build != host != target
which is not a typical cross build scenario
there could be issue with gdb 6.6 configure for such a combination. I
would suggest to use either gdb 6.8 or newer

Thanks

-Khem

>
> Cheers
> Andy
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]