From: Juergen Beisert <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Gabriel Tisan <gabriel.tisan@gmail.com>
Subject: Re: [ptxdist] OSELAS.Toolchain-1.99.3.7: not installed GDB on host
Date: Thu, 22 Mar 2012 15:01:36 +0100 [thread overview]
Message-ID: <201203221501.37073.jbe@pengutronix.de> (raw)
In-Reply-To: <201203221239.01198.jbe@pengutronix.de>
Hi Gabriel,
Myself wrote:
> [...]
> > You are right, with PTXdist-2011.11.0/OSELAS.Toolchain-2011.11.1 GDB
> > is installed also in my /opt directory.
> >
> > How did you generate your toolchain from listing bellow ? I mean which
> > ptxdist/OSELAS versions were used.
>
> It is mostly from "OSELAS.Toolchain-1.99.3.7". But I'm not sure since all
> OSELAS.Toolchain-1.99.3.x releases install their results into the same
> directory ("OSELAS.Toolchain-1.99.3").
>
> I will give it a try and re-compile this specific toolchain.
Done now.
$ ptxdist go
<hours later>
$ cd /opt/OSELAS.Toolchain-1.99.3/arm-1136jfs-linux-gnueabi/gcc-4.3.2-glibc-2.8-binutils-2.19-kernel-2.6.27-sanitized/bin
$ ls -l
-rwxr-xr-x 1 jb user 2294857 Mar 22 12:41 arm-1136jfs-linux-gnueabi-addr2line
-rwxr-xr-x 2 jb user 2423770 Mar 22 12:41 arm-1136jfs-linux-gnueabi-ar
-rwxr-xr-x 2 jb user 3631030 Mar 22 12:41 arm-1136jfs-linux-gnueabi-as
-rwxr-xr-x 2 jb user 445614 Mar 22 13:41 arm-1136jfs-linux-gnueabi-c++
-rwxr-xr-x 1 jb user 2274261 Mar 22 12:41 arm-1136jfs-linux-gnueabi-c++filt
-rwxr-xr-x 1 jb user 443942 Mar 22 13:41 arm-1136jfs-linux-gnueabi-cpp
-rwxr-xr-x 2 jb user 445614 Mar 22 13:41 arm-1136jfs-linux-gnueabi-g++
-rwxr-xr-x 2 jb user 441787 Mar 22 13:41 arm-1136jfs-linux-gnueabi-gcc
-rwxr-xr-x 2 jb user 441787 Mar 22 13:41 arm-1136jfs-linux-gnueabi-gcc-4.3.2
-rwxr-xr-x 1 jb user 17011 Mar 22 13:41 arm-1136jfs-linux-gnueabi-gccbug
-rwxr-xr-x 1 jb user 72062 Mar 22 13:41 arm-1136jfs-linux-gnueabi-gcov
-rwxr-xr-x 1 jb user 2676768 Mar 22 12:41 arm-1136jfs-linux-gnueabi-gprof
-rwxr-xr-x 2 jb user 3361951 Mar 22 12:41 arm-1136jfs-linux-gnueabi-ld
-rwxr-xr-x 2 jb user 2326922 Mar 22 12:41 arm-1136jfs-linux-gnueabi-nm
-rwxr-xr-x 2 jb user 2823268 Mar 22 12:41 arm-1136jfs-linux-gnueabi-objcopy
-rwxr-xr-x 2 jb user 3137979 Mar 22 12:41 arm-1136jfs-linux-gnueabi-objdump
-rwxr-xr-x 2 jb user 2423801 Mar 22 12:41 arm-1136jfs-linux-gnueabi-ranlib
-rwxr-xr-x 1 jb user 500275 Mar 22 12:41 arm-1136jfs-linux-gnueabi-readelf
-rwxr-xr-x 1 jb user 2319562 Mar 22 12:41 arm-1136jfs-linux-gnueabi-size
-rwxr-xr-x 1 jb user 2296650 Mar 22 12:41 arm-1136jfs-linux-gnueabi-strings
-rwxr-xr-x 2 jb user 2823263 Mar 22 12:41 arm-1136jfs-linux-gnueabi-strip
-rw-r--r-- 1 jb user 3497 Mar 22 14:32 ptxconfig
You win. ;)
And the solution is: Use the intended ptxdist revision for this toolchain.
With a recent PTXdist the GDB gets accidentally installed to:
<project-dir>/<platform>/packages/cross-gdb-6.8/opt/OSELAS.Toolchain-1.99.3/
And with the intended ptxdist-1.99.19.1 it gets correctly installed to:
/opt/OSELAS.Toolchain-1.99.3/[...]
I also built the toolchain with ptxdist-2010.01.0 first. To complete the last
step I did:
$ rm platform-arm-1136jfs-linux-gnueabi-gcc-4.3.2-glibc-2.8-binutils-2.19-kernel-2.6.27-sanitized/state/cross-gdb.install
$ ptxdist-1.99.19.1 go
This just runs the install stage for the GDB again. And now:
$ ls -l
-rwxr-xr-x 1 jb user 2294857 Mar 22 12:41 arm-1136jfs-linux-gnueabi-addr2line
-rwxr-xr-x 2 jb user 2423770 Mar 22 12:41 arm-1136jfs-linux-gnueabi-ar
-rwxr-xr-x 2 jb user 3631030 Mar 22 12:41 arm-1136jfs-linux-gnueabi-as
-rwxr-xr-x 2 jb user 445614 Mar 22 13:41 arm-1136jfs-linux-gnueabi-c++
-rwxr-xr-x 1 jb user 2274261 Mar 22 12:41 arm-1136jfs-linux-gnueabi-c++filt
-rwxr-xr-x 1 jb user 443942 Mar 22 13:41 arm-1136jfs-linux-gnueabi-cpp
-rwxr-xr-x 2 jb user 445614 Mar 22 13:41 arm-1136jfs-linux-gnueabi-g++
-rwxr-xr-x 2 jb user 441787 Mar 22 13:41 arm-1136jfs-linux-gnueabi-gcc
-rwxr-xr-x 2 jb user 441787 Mar 22 13:41 arm-1136jfs-linux-gnueabi-gcc-4.3.2
-rwxr-xr-x 1 jb user 17011 Mar 22 13:41 arm-1136jfs-linux-gnueabi-gccbug
-rwxr-xr-x 1 jb user 72062 Mar 22 13:41 arm-1136jfs-linux-gnueabi-gcov
-rwxr-xr-x 1 jb user 10957437 Mar 22 14:53 arm-1136jfs-linux-gnueabi-gdb <----- \o/
-rwxr-xr-x 1 jb user 10957486 Mar 22 14:53 arm-1136jfs-linux-gnueabi-gdbtui <----- \o/
-rwxr-xr-x 1 jb user 2676768 Mar 22 12:41 arm-1136jfs-linux-gnueabi-gprof
-rwxr-xr-x 2 jb user 3361951 Mar 22 12:41 arm-1136jfs-linux-gnueabi-ld
-rwxr-xr-x 2 jb user 2326922 Mar 22 12:41 arm-1136jfs-linux-gnueabi-nm
-rwxr-xr-x 2 jb user 2823268 Mar 22 12:41 arm-1136jfs-linux-gnueabi-objcopy
-rwxr-xr-x 2 jb user 3137979 Mar 22 12:41 arm-1136jfs-linux-gnueabi-objdump
-rwxr-xr-x 2 jb user 2423801 Mar 22 12:41 arm-1136jfs-linux-gnueabi-ranlib
-rwxr-xr-x 1 jb user 500275 Mar 22 12:41 arm-1136jfs-linux-gnueabi-readelf
-rwxr-xr-x 1 jb user 2678036 Mar 22 14:53 arm-1136jfs-linux-gnueabi-run
-rwxr-xr-x 1 jb user 2319562 Mar 22 12:41 arm-1136jfs-linux-gnueabi-size
-rwxr-xr-x 1 jb user 2296650 Mar 22 12:41 arm-1136jfs-linux-gnueabi-strings
-rwxr-xr-x 2 jb user 2823263 Mar 22 12:41 arm-1136jfs-linux-gnueabi-strip
-rw-r--r-- 1 jb user 3497 Mar 22 14:32 ptxconfig
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2012-03-22 14:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-21 11:01 Gabriel Tisan
2012-03-21 11:19 ` Juergen Beisert
2012-03-22 11:06 ` Gabriel Tisan
2012-03-22 11:39 ` Juergen Beisert
2012-03-22 14:01 ` Juergen Beisert [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-03-21 7:06 Gabriel Tisan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201203221501.37073.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=gabriel.tisan@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox