On 6 July 2013 03:24, 常桓 <chang...@gmail.com> wrote:
> Hi Linaro toolchain team,
>
> I compiled linaro-toolchain 2013.06 by myself on fedora 18 x86_64,
> everything works fine except GDB.

How do you build the toolchain?

If you use Linaro build scripts (crosstool-ng-linaro) and follow the
README, you should have the gdb patched automatically. You can get the
build scripts and READE at
https://launchpad.net/linaro-toolchain-binaries/+download.

> The error message is "Im sorry, Dave, I can't do that. Symbol format
> `elf32-littlearm' unknown'."
> I searched on google, and leads me to the page
> https://bugs.launchpad.net/linaro-toolchain-binaries/+bug/918937
>
> I configured linaro-toolchain to build a native gdb for arm platform, both
> native gdb and cross-gdb can't work, they report the same error message.
>
> Is there any way I can get the patch?

1) Download crosstool-ng-linaro-1.13.1-4.8-2013.06.tar.bz2 from
https://launchpad.net/linaro-toolchain-binaries/+download.
2) unzip it
3) The patch is
crossstool-ng.../contrib/linaro/patches/gdb/linaro-7.6-2013.05/libintl-as-lib.patch

If it does not work, please try our standard build process.

Thanks!
-Zhenqiang

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to