mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] OSELAS.Too​lchain-1.9​9.3.7: not installed GDB on host
@ 2012-03-21 11:01 Gabriel Tisan
  2012-03-21 11:19 ` Juergen Beisert
  0 siblings, 1 reply; 6+ messages in thread
From: Gabriel Tisan @ 2012-03-21 11:01 UTC (permalink / raw)
  To: ptxdist

Hi !

I built the OSELAS.Toolchain-1.99.3.7 with PTXdist-2010.08.0, but I
could not find any arm-1136jfs-linux-gnueabi-gdb on the host install
directory /opt/OSELAS.Toolchain-1.99.3/...

PTXCONF_CROSS_GDB=y on the selected_ptxconfig. On build-cross/gdb-6.8/
seems that the GDB is built, but not installed.

Could someone give me a hint ?

Thanks !

Regards,
Gabriel

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] OSELAS.Too​lchain-1.9​9.3.7: not installed GDB on host
  2012-03-21 11:01 [ptxdist] OSELAS.Too​lchain-1.9​9.3.7: not installed GDB on host Gabriel Tisan
@ 2012-03-21 11:19 ` Juergen Beisert
  2012-03-22 11:06   ` Gabriel Tisan
  0 siblings, 1 reply; 6+ messages in thread
From: Juergen Beisert @ 2012-03-21 11:19 UTC (permalink / raw)
  To: ptxdist; +Cc: Gabriel Tisan

Gabriel Tisan wrote:
> I built the OSELAS.Toolchain-1.99.3.7 with PTXdist-2010.08.0, but I
> could not find any arm-1136jfs-linux-gnueabi-gdb on the host install
> directory /opt/OSELAS.Toolchain-1.99.3/...
>
> PTXCONF_CROSS_GDB=y on the selected_ptxconfig. On build-cross/gdb-6.8/
> seems that the GDB is built, but not installed.
>
> Could someone give me a hint ?

Why not using the latest and greatest? OSELAS.Too​lchain-2011.11.1 ?

And here:

jb@isonoe]> 
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/
[jb@isonoe]> ls -l *gdb*
-rwxr-xr-x 1 root root 10752489 29. Apr 2009  arm-1136jfs-linux-gnueabi-gdb
-rwxr-xr-x 1 root root 10752538 29. Apr 2009  arm-1136jfs-linux-gnueabi-gdbtui

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] OSELAS.Too​lchain-1.9​9.3.7: not installed GDB on host
  2012-03-21 11:19 ` Juergen Beisert
@ 2012-03-22 11:06   ` Gabriel Tisan
  2012-03-22 11:39     ` Juergen Beisert
  0 siblings, 1 reply; 6+ messages in thread
From: Gabriel Tisan @ 2012-03-22 11:06 UTC (permalink / raw)
  To: Juergen Beisert; +Cc: ptxdist

On Wed, Mar 21, 2012 at 12:19 PM, Juergen Beisert <jbe@pengutronix.de> wrote:
> Gabriel Tisan wrote:
>> I built the OSELAS.Toolchain-1.99.3.7 with PTXdist-2010.08.0, but I
>> could not find any arm-1136jfs-linux-gnueabi-gdb on the host install
>> directory /opt/OSELAS.Toolchain-1.99.3/...
>>
>> PTXCONF_CROSS_GDB=y on the selected_ptxconfig. On build-cross/gdb-6.8/
>> seems that the GDB is built, but not installed.
>>
>> Could someone give me a hint ?
>
> Why not using the latest and greatest? OSELAS.Toolchain-2011.11.1 ?
Because my application to be debugged was already build with this toolchain
arm-1136jfs-linux-gnueabi/gcc-4.3.2-glibc-2.8-binutils-2.19-kernel-2.6.27-sanitized.
So, I suppose that I need a GDB build with the same toolchain.

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.
>
> And here:
>
> jb@isonoe]>
> 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/
> [jb@isonoe]> ls -l *gdb*
> -rwxr-xr-x 1 root root 10752489 29. Apr 2009  arm-1136jfs-linux-gnueabi-gdb
> -rwxr-xr-x 1 root root 10752538 29. Apr 2009  arm-1136jfs-linux-gnueabi-gdbtui
>
> Regards,
> Juergen
>
> --
> Pengutronix e.K.                              | Juergen Beisert             |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] OSELAS.Too​lchain-1.9​9.3.7: not installed GDB on host
  2012-03-22 11:06   ` Gabriel Tisan
@ 2012-03-22 11:39     ` Juergen Beisert
  2012-03-22 14:01       ` Juergen Beisert
  0 siblings, 1 reply; 6+ messages in thread
From: Juergen Beisert @ 2012-03-22 11:39 UTC (permalink / raw)
  To: ptxdist; +Cc: Gabriel Tisan

Hi Gabriel,

Gabriel Tisan wrote:
> On Wed, Mar 21, 2012 at 12:19 PM, Juergen Beisert <jbe@pengutronix.de> wrote:
> > Gabriel Tisan wrote:
> >> I built the OSELAS.Toolchain-1.99.3.7 with PTXdist-2010.08.0, but I
> >> could not find any arm-1136jfs-linux-gnueabi-gdb on the host install
> >> directory /opt/OSELAS.Toolchain-1.99.3/...
> >>
> >> PTXCONF_CROSS_GDB=y on the selected_ptxconfig. On build-cross/gdb-6.8/
> >> seems that the GDB is built, but not installed.
> >>
> >> Could someone give me a hint ?
> >
> > Why not using the latest and greatest? OSELAS.Toolchain-2011.11.1 ?
>
> Because my application to be debugged was already build with this toolchain
> arm-1136jfs-linux-gnueabi/gcc-4.3.2-glibc-2.8-binutils-2.19-kernel-2.6.27-sanitized.
> So, I suppose that I need a GDB build with the same toolchain. 

Yes.

> 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.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] OSELAS.Too​lchain-1.9​9.3.7: not installed GDB on host
  2012-03-22 11:39     ` Juergen Beisert
@ 2012-03-22 14:01       ` Juergen Beisert
  0 siblings, 0 replies; 6+ messages in thread
From: Juergen Beisert @ 2012-03-22 14:01 UTC (permalink / raw)
  To: ptxdist; +Cc: Gabriel Tisan

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

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

* [ptxdist] OSELAS.Too​lchain-1.9​9.3.7: not installed GDB on host
@ 2012-03-21  7:06 Gabriel Tisan
  0 siblings, 0 replies; 6+ messages in thread
From: Gabriel Tisan @ 2012-03-21  7:06 UTC (permalink / raw)
  To: ptxdist

Hi !

I built the OSELAS.Toolchain-1.99.3.7 with PTXdist-2010.08.0, but I
could not find any arm-1136jfs-linux-gnueabi-gdb on the host install
directory /opt/OSELAS.Toolchain-1.99.3/...

PTXCONF_CROSS_GDB=y on the selected_ptxconfig. On build-cross/gdb-6.8/
seems that the GDB is built, but not installed.

Could someone give me a hint ?

Thanks !

Regards,
Gabriel

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2012-03-22 14:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21 11:01 [ptxdist] OSELAS.Too​lchain-1.9​9.3.7: not installed GDB on host 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
  -- strict thread matches above, loose matches on Subject: below --
2012-03-21  7:06 Gabriel Tisan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox