From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Beisert Date: Thu, 22 Mar 2012 15:01:36 +0100 References: <201203221239.01198.jbe@pengutronix.de> In-Reply-To: <201203221239.01198.jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201203221501.37073.jbe@pengutronix.de> Subject: Re: [ptxdist] =?utf-8?b?T1NFTEFTLlRvb+KAi2xjaGFpbi0xLjnigIs5LjMuNzog?= =?utf-8?q?not_installed_GDB_on_host?= Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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 $ 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: //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