Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi, I'm trying to use pre-built version of linaro toolchain for cross-compiler in Ubuntu 11.04 on our 64bit server. I got it from http://people.linaro.org/~michaelh/incoming/binaries/. When I run arm-linux-gnueabi-gcc to compile a c source, it says "No such file or directory". The steps are as below: 1. Unpack gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux.tar.bz2. 2. Rename gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux to arm-fsl-linux-gnueabi. 3. Copy to ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/ 2. Use arm-linux-gnueabi-gcc to compile my code. The output is: r65388@shlinux3:~/MEMCPYBM$ ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc -bash: /home/r65388/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc: No such file or directory I have installed lsb 4.0 and libc6 2.13. r65388@shlinux3:~/MEMCPYBM$ dpkg -s lsb Package: lsb Status: install ok installed Priority: extra Section: misc Installed-Size: 48 Maintainer: Ubuntu Developers Architecture: all Version: 4.0-0ubuntu16 ... r65388@shlinux3:~/MEMCPYBM$ dpkg -s libc6-dev Package: libc6-dev Status: install ok installed Multi-Arch: same Priority: optional Section: libdevel Installed-Size: 11888 Maintainer: Ubuntu Developers Architecture: amd64 Source: eglibc Version: 2.13-20ubuntu5 Provides: libc-dev Depends: libc6 (= 2.13-20ubuntu5), libc-dev-bin (= 2.13-20ubuntu5), linux-libc-dev Recommends: gcc | c-compiler Suggests: glibc-doc, manpages-dev Breaks: binutils (<< 2.20.1-1), binutils-gold (<< 2.20.1-11), cmake (<< 2.8.4+dfsg.1-5), gcc-4.4 (<< 4.4.6-3ubuntu1), gcc-4.4-base (<< 4.4.6-3ubuntu1), gcc-4.5 (<< 4.5.3-1ubuntu2), gcc-4.5-base (<< 4.5.3-1ubuntu2), gcc-4.6 (<< 4.6.0-12), gcj-4.4-base (<< 4.4.6-2ubuntu2), gcj-4.5-base (<< 4.5.3-1ubuntu2), gnat-4.4-base (<< 4.4.6-1ubuntu3), libhwloc-dev (<< 1.2-3), libjna-java (<< 3.2.7-4), liblouis-dev (<< 2.3.0-2), liblouisxml-dev (<< 2.4.0-2), make (<< 3.81-8.1), pkg-config (<< 0.26-1) ... Do you know why? How can I fix this issue? Thanks~~ Yours Terry ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
The arm-linux-gnueabi-gcc's attribute is: r65388@shlinux3:~/MEMCPYBM$ ls -l ~//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc -rwxr-xr-x 2 r65388 s2101 383162 2012-01-04 09:47 /home/r65388//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc Thanks a lot~~ Yours Terry -Original Message- From: linaro-toolchain-boun...@lists.linaro.org [mailto:linaro-toolchain-boun...@lists.linaro.org] On Behalf Of Lv Terry-R65388 Sent: 2012年1月10日 17:17 To: linaro-toolchain@lists.linaro.org Subject: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server Hi, I'm trying to use pre-built version of linaro toolchain for cross-compiler in Ubuntu 11.04 on our 64bit server. I got it from http://people.linaro.org/~michaelh/incoming/binaries/. When I run arm-linux-gnueabi-gcc to compile a c source, it says "No such file or directory". The steps are as below: 1. Unpack gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux.tar.bz2. 2. Rename gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux to arm-fsl-linux-gnueabi. 3. Copy to ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/ 2. Use arm-linux-gnueabi-gcc to compile my code. The output is: r65388@shlinux3:~/MEMCPYBM$ ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc -bash: /home/r65388/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc: No such file or directory I have installed lsb 4.0 and libc6 2.13. r65388@shlinux3:~/MEMCPYBM$ dpkg -s lsb Package: lsb Status: install ok installed Priority: extra Section: misc Installed-Size: 48 Maintainer: Ubuntu Developers Architecture: all Version: 4.0-0ubuntu16 ... r65388@shlinux3:~/MEMCPYBM$ dpkg -s libc6-dev Package: libc6-dev Status: install ok installed Multi-Arch: same Priority: optional Section: libdevel Installed-Size: 11888 Maintainer: Ubuntu Developers Architecture: amd64 Source: eglibc Version: 2.13-20ubuntu5 Provides: libc-dev Depends: libc6 (= 2.13-20ubuntu5), libc-dev-bin (= 2.13-20ubuntu5), linux-libc-dev Recommends: gcc | c-compiler Suggests: glibc-doc, manpages-dev Breaks: binutils (<< 2.20.1-1), binutils-gold (<< 2.20.1-11), cmake (<< 2.8.4+dfsg.1-5), gcc-4.4 (<< 4.4.6-3ubuntu1), gcc-4.4-base (<< 4.4.6-3ubuntu1), gcc-4.5 (<< 4.5.3-1ubuntu2), gcc-4.5-base (<< 4.5.3-1ubuntu2), gcc-4.6 (<< 4.6.0-12), gcj-4.4-base (<< 4.4.6-2ubuntu2), gcj-4.5-base (<< 4.5.3-1ubuntu2), gnat-4.4-base (<< 4.4.6-1ubuntu3), libhwloc-dev (<< 1.2-3), libjna-java (<< 3.2.7-4), liblouis-dev (<< 2.3.0-2), liblouisxml-dev (<< 2.4.0-2), make (<< 3.81-8.1), pkg-config (<< 0.26-1) ... Do you know why? How can I fix this issue? Thanks~~ Yours Terry ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Next week
Hi Michael, I can't remember if I told you before, but I shall be away at the CodeSourcery (Ok, Mentor Graphics's ESD TOOLS) annual meeting most of next week. I ought to be back at work on Friday. In the meantime I shall be reading email, but not spending much time on Linaro work. I can probably still get the GCC release process done, but if you'd prefer Ramana did it this month then that's fine with me. Andrew ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
uImage built with pre-built linaro toolchain failed to start
Hi, I use pre-built version of linaro toolchain (got from http://people.linaro.org/~michaelh/incoming/binaries/) to build a uImage. The build succeeded, but the uImage couldn't start. The console hangs at: Using FEC0 device TFTP from server 10.193.100.158; our IP address is 10.193.102.233 Filename 'uImage_linaro'. Load address: 0x7080 Loading: # # # ### done Bytes transferred = 3193292 (30b9cc hex) ## Booting kernel from Legacy Image at 7080 ... Image Name: Linux-2.6.38-01026-gc9c8ead Image Type: ARM Linux Kernel Image (uncompressed) Data Size:3193228 Bytes = 3 MB Load Address: 10008000 Entry Point: 10008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Does anyone meet this before? How can I fix it? Thanks~~ Yours Terry ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: uImage built with pre-built linaro toolchain failed to start
On 01/10/2012 04:58 AM, Lv Terry-R65388 wrote: > Hi, > > I use pre-built version of linaro toolchain (got from > http://people.linaro.org/~michaelh/incoming/binaries/) to build a uImage. > The build succeeded, but the uImage couldn't start. > The console hangs at: > > Using FEC0 device > TFTP from server 10.193.100.158; our IP address is 10.193.102.233 > Filename 'uImage_linaro'. > Load address: 0x7080 > Loading: # > # > # > ### > done > Bytes transferred = 3193292 (30b9cc hex) > ## Booting kernel from Legacy Image at 7080 ... >Image Name: Linux-2.6.38-01026-gc9c8ead >Image Type: ARM Linux Kernel Image (uncompressed) >Data Size:3193228 Bytes = 3 MB >Load Address: 10008000 >Entry Point: 10008000 >Verifying Checksum ... OK >Loading Kernel Image ... OK > OK > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > > Does anyone meet this before? > > How can I fix it? > > Thanks~~ Its hard to say without more details like where you got your kernel, what config you built with, and what platform you are running on. However, the two most common errors I've encountered when people see the message you pasted are: 1) you don't have your "console" variable set properly in u-boot. For example, my OMAP devices default to "console=ttyS2,115200n8". However, it needs to be "console=ttyO2,115200n8" 2) you built your kernel with/without device tree and u-boot is launching your kernel without/with device tree. -andy ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Backporting A15 changes
Hi there. Linaro is about what's next and, as part of this, we should backport any reasonable Cortex-A15 changes to our 4.6 branch. Richard and Matthew, could you let us know directly when new patches from ARM land upstream? We're already doing this but I thought I'd say it out loud. -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Spinning the build
Hi Andrew. The current tip looks good. Could you please run the release process, spin the build, and fire it into the auto builders? Ta, -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
2012/1/10 Lv Terry-R65388 : > The arm-linux-gnueabi-gcc's attribute is: > r65388@shlinux3:~/MEMCPYBM$ ls -l > ~//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc > -rwxr-xr-x 2 r65388 s2101 383162 2012-01-04 09:47 > /home/r65388//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc Hi Terry. Thank you for the bug report. I've confirmed this with gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux on Ubuntu 11.04 x86_64 Server: cbuild@crucis-natty:~$ ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc -o hello hello.c ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory The problem is due to the 64 bit host missing the 32 bit libraries. Try running 'sudo apt-get install ia32-libs'. I've logged this as LP: #914516. The fix is to update the documentation to mention installing both lsb and the ia32-libs on a 64 bit host. -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: uImage built with pre-built linaro toolchain failed to start
On Tue, Jan 10, 2012 at 11:58 PM, Lv Terry-R65388 wrote: > Hi, > > I use pre-built version of linaro toolchain (got from > http://people.linaro.org/~michaelh/incoming/binaries/) to build a uImage. > The build succeeded, but the uImage couldn't start. > The console hangs at: > > Using FEC0 device > TFTP from server 10.193.100.158; our IP address is 10.193.102.233 > Filename 'uImage_linaro'. > Load address: 0x7080 > Loading: # > # > # > ### > done > Bytes transferred = 3193292 (30b9cc hex) > ## Booting kernel from Legacy Image at 7080 ... > Image Name: Linux-2.6.38-01026-gc9c8ead > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 3193228 Bytes = 3 MB > Load Address: 10008000 > Entry Point: 10008000 > Verifying Checksum ... OK > Loading Kernel Image ... OK > OK > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > > Does anyone meet this before? > > How can I fix it? > > Thanks~~ Hi Terry. Andy's covered the most likely causes. One thing to watch for is that Linaro GCC 2011.11 added unaligned access support for armv6k and later. This is fine for userspace but the kernel runs with the hardware unaligned access fault turned and this might cause the crash. Try adding -mno-unaligned-access to your CFLAGS and see if that helps. See: http://lists.linaro.org/pipermail/linaro-android/2011-December/30.html and: http://comments.gmane.org/gmane.linux.ports.arm.kernel/138900 for more. -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: Next week
On Tue, Jan 10, 2012 at 11:12 PM, Andrew Stubbs wrote: > Hi Michael, > > I can't remember if I told you before, but I shall be away at the > CodeSourcery (Ok, Mentor Graphics's ESD TOOLS) annual meeting most of next > week. > > I ought to be back at work on Friday. In the meantime I shall be reading > email, but not spending much time on Linaro work. > > I can probably still get the GCC release process done, but if you'd prefer > Ramana did it this month then that's fine with me. Yes please. If you can't, please let Ramana know directly so he can pick it up on Wednesday. -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
First proposals
Hi Åsa. Well, the first proposals have arrived. I've cc'ed this to linaro-toolchain so we have a record. First, visit: http://ex.seabright.co.nz/helpers/proposals and see there are new merge requests from Ulrich with new results. Next, login: http://ex.seabright.co.nz/helpers/login Your login is your Launchpad OpenID login "https://launchpad.net/~asa-sandahl"; After logging in, go back to the proposals page. See that the fwprop-subreg merge request has a i686 and x86_64 result. The i686 one is fine so click 'Record' and follow your nose. The x86_64 is interesting - the fault might be real. Click 'Record'. Note the subject line has 'regressed' in it. Ulrich will have to investigate. The lp-879725 results look fine so record both of those. Scanning down the page shows that everything else is recorded so you're done! The tool is a bit slow so don't be surprised if an operation takes ~10 s. The tool is backed by a cache so you won't see the results for ~2 hours. -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael, Actually, I've already have ia32-libs and ia32-libs-multiarch installed. r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install ia32-libs Reading package lists... Done Building dependency tree Reading state information... Done ia32-libs is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install ia32-libs-multiarch Reading package lists... Done Building dependency tree Reading state information... Done ia32-libs-multiarch:i386 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. r65388@shlinux3:~/toolchain_ltib/ltib$ ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc -bash: /home/r65388/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc: No such file or directory Do you have more suggestions? Is it linking to a wrong library? Thanks~~ Yours Terry -Original Message- From: Michael Hope [mailto:michael.h...@linaro.org] Sent: 2012年1月11日 6:49 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server 2012/1/10 Lv Terry-R65388 : > The arm-linux-gnueabi-gcc's attribute is: > r65388@shlinux3:~/MEMCPYBM$ ls -l > ~//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fs > l-linux-gnueabi/bin/arm-linux-gnueabi-gcc > -rwxr-xr-x 2 r65388 s2101 383162 2012-01-04 09:47 > /home/r65388//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-201 > 1.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc Hi Terry. Thank you for the bug report. I've confirmed this with gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux on Ubuntu 11.04 x86_64 Server: cbuild@crucis-natty:~$ ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc -o hello hello.c ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory The problem is due to the 64 bit host missing the 32 bit libraries. Try running 'sudo apt-get install ia32-libs'. I've logged this as LP: #914516. The fix is to update the documentation to mention installing both lsb and the ia32-libs on a 64 bit host. -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: uImage built with pre-built linaro toolchain failed to start
Hi Andy, Really sorry for that. Actually, I'm doing a bench marking with gcc-linaro toolchain with our old toolchain. The kernel version is 2.6.38, our board is CortexA9 and we're using armv7 option for building. With the old toolchain, which is based on gcc 4.4.4, glibc 2.11 and multilib 1.0 supported, we can start the kernel normally. But when using the new toolchain, I find that kernel can't start and hang there. That's why I didn't think it as a problem of u-boot and console. I'll try Michael's suggestion first and give the result later. If you have some other suggestions, that's really thankful. Thanks~~ Yours Terry -Original Message- From: Andy Doan [mailto:andy.d...@linaro.org] Sent: 2012年1月11日 0:00 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: uImage built with pre-built linaro toolchain failed to start On 01/10/2012 04:58 AM, Lv Terry-R65388 wrote: > Hi, > > I use pre-built version of linaro toolchain (got from > http://people.linaro.org/~michaelh/incoming/binaries/) to build a uImage. > The build succeeded, but the uImage couldn't start. > The console hangs at: > > Using FEC0 device > TFTP from server 10.193.100.158; our IP address is 10.193.102.233 > Filename 'uImage_linaro'. > Load address: 0x7080 > Loading: # > # > # > ### > done > Bytes transferred = 3193292 (30b9cc hex) ## Booting kernel from Legacy > Image at 7080 ... >Image Name: Linux-2.6.38-01026-gc9c8ead >Image Type: ARM Linux Kernel Image (uncompressed) >Data Size:3193228 Bytes = 3 MB >Load Address: 10008000 >Entry Point: 10008000 >Verifying Checksum ... OK >Loading Kernel Image ... OK > OK > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > > Does anyone meet this before? > > How can I fix it? > > Thanks~~ Its hard to say without more details like where you got your kernel, what config you built with, and what platform you are running on. However, the two most common errors I've encountered when people see the message you pasted are: 1) you don't have your "console" variable set properly in u-boot. For example, my OMAP devices default to "console=ttyS2,115200n8". However, it needs to be "console=ttyO2,115200n8" 2) you built your kernel with/without device tree and u-boot is launching your kernel without/with device tree. -andy ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael, The Ubuntu server already have a gcc-linaro toolchain installed by "sudo apt-get install gcc-arm-linux-gnueabi". Will this prevent the running of the new linaro toolchain? Thanks~~ Yours Terry -Original Message- From: linaro-toolchain-boun...@lists.linaro.org [mailto:linaro-toolchain-boun...@lists.linaro.org] On Behalf Of Lv Terry-R65388 Sent: 2012年1月11日 12:54 To: Michael Hope Cc: linaro-toolchain@lists.linaro.org Subject: RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server Hi Michael, Actually, I've already have ia32-libs and ia32-libs-multiarch installed. r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install ia32-libs Reading package lists... Done Building dependency tree Reading state information... Done ia32-libs is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install ia32-libs-multiarch Reading package lists... Done Building dependency tree Reading state information... Done ia32-libs-multiarch:i386 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. r65388@shlinux3:~/toolchain_ltib/ltib$ ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc -bash: /home/r65388/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc: No such file or directory Do you have more suggestions? Is it linking to a wrong library? Thanks~~ Yours Terry -Original Message- From: Michael Hope [mailto:michael.h...@linaro.org] Sent: 2012年1月11日 6:49 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server 2012/1/10 Lv Terry-R65388 : > The arm-linux-gnueabi-gcc's attribute is: > r65388@shlinux3:~/MEMCPYBM$ ls -l > ~//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fs > l-linux-gnueabi/bin/arm-linux-gnueabi-gcc > -rwxr-xr-x 2 r65388 s2101 383162 2012-01-04 09:47 > /home/r65388//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-201 > 1.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc Hi Terry. Thank you for the bug report. I've confirmed this with gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux on Ubuntu 11.04 x86_64 Server: cbuild@crucis-natty:~$ ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc -o hello hello.c ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory The problem is due to the 64 bit host missing the 32 bit libraries. Try running 'sudo apt-get install ia32-libs'. I've logged this as LP: #914516. The fix is to update the documentation to mention installing both lsb and the ia32-libs on a 64 bit host. -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
2012/1/11 Lv Terry-R65388 : > Hi Michael, > > The Ubuntu server already have a gcc-linaro toolchain installed by > "sudo apt-get install gcc-arm-linux-gnueabi". > > Will this prevent the running of the new linaro toolchain? I wouldn't expect so, no. -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
2012/1/11 Lv Terry-R65388 : > Hi Michael, > > Actually, I've already have ia32-libs and ia32-libs-multiarch > installed. > > r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install ia32-libs > Reading package lists... Done > Building dependency tree > Reading state information... Done > ia32-libs is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. > r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install > ia32-libs-multiarch > Reading package lists... Done > Building dependency tree > Reading state information... Done > ia32-libs-multiarch:i386 is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. > r65388@shlinux3:~/toolchain_ltib/ltib$ > ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc > -bash: > /home/r65388/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc: > No such file or directory > > Do you have more suggestions? > > Is it linking to a wrong library? Hmm, interesting. What does ldd show? Here's what I see on my Lucid box: michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ldd arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf77c5000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf76a9000) libm.so.6 => /lib32/libm.so.6 (0xf7683000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf7669000) libdl.so.2 => /lib32/libdl.so.2 (0xf7665000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7646000) libc.so.6 => /lib32/libc.so.6 (0xf74ec000) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77c6000) -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael, Here it is: r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ldd arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf770f000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7602000) libm.so.6 => /lib32/libm.so.6 (0xf75d8000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf75bc000) libdl.so.2 => /lib32/libdl.so.2 (0xf75b7000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7599000) libc.so.6 => /lib32/libc.so.6 (0xf741f000) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf771) Thanks~~ Yours Terry -Original Message- From: Michael Hope [mailto:michael.h...@linaro.org] Sent: 2012年1月11日 13:37 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server 2012/1/11 Lv Terry-R65388 : > Hi Michael, > > Actually, I've already have ia32-libs and ia32-libs-multiarch > installed. > > r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install ia32-libs > Reading package lists... Done Building dependency tree Reading state > information... Done ia32-libs is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. > r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install > ia32-libs-multiarch > > Reading package lists... Done Building dependency tree Reading state > information... Done > ia32-libs-multiarch:i386 is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. > r65388@shlinux3:~/toolchain_ltib/ltib$ > ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl > -linux-gnueabi/bin/arm-linux-gnueabi-gcc > -bash: > /home/r65388/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011 > .12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc: No such file or > directory > > Do you have more suggestions? > > Is it linking to a wrong library? Hmm, interesting. What does ldd show? Here's what I see on my Lucid box: michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ldd arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf77c5000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf76a9000) libm.so.6 => /lib32/libm.so.6 (0xf7683000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf7669000) libdl.so.2 => /lib32/libdl.so.2 (0xf7665000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7646000) libc.so.6 => /lib32/libc.so.6 (0xf74ec000) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77c6000) -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael, r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ldd ./arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf77d) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf76c3000) libm.so.6 => /lib32/libm.so.6 (0xf7699000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf767d000) libdl.so.2 => /lib32/libdl.so.2 (0xf7678000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf765a000) libc.so.6 => /lib32/libc.so.6 (0xf74e) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77d1000) Previous one should be wrong. That's the system gcc-arm. Thanks~~ Yours Terry -Original Message- From: Michael Hope [mailto:michael.h...@linaro.org] Sent: 2012年1月11日 13:37 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server 2012/1/11 Lv Terry-R65388 : > Hi Michael, > > Actually, I've already have ia32-libs and ia32-libs-multiarch > installed. > > r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install ia32-libs > Reading package lists... Done Building dependency tree Reading state > information... Done ia32-libs is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. > r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install > ia32-libs-multiarch > > Reading package lists... Done Building dependency tree Reading state > information... Done > ia32-libs-multiarch:i386 is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. > r65388@shlinux3:~/toolchain_ltib/ltib$ > ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl > -linux-gnueabi/bin/arm-linux-gnueabi-gcc > -bash: > /home/r65388/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011 > .12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc: No such file or > directory > > Do you have more suggestions? > > Is it linking to a wrong library? Hmm, interesting. What does ldd show? Here's what I see on my Lucid box: michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ldd arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf77c5000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf76a9000) libm.so.6 => /lib32/libm.so.6 (0xf7683000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf7669000) libdl.so.2 => /lib32/libdl.so.2 (0xf7665000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7646000) libc.so.6 => /lib32/libc.so.6 (0xf74ec000) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77c6000) -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael, I remove gcc-arm-linux-gnueabi from the server and run ldd ./arm-linux-gnueabi-gcc again. r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ldd ./arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf773c000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf762f000) libm.so.6 => /lib32/libm.so.6 (0xf7605000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf75e9000) libdl.so.2 => /lib32/libdl.so.2 (0xf75e4000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf75c6000) libc.so.6 => /lib32/libc.so.6 (0xf744c000) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf773d000) r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ./arm-linux-gnueabi-gcc -bash: ./arm-linux-gnueabi-gcc: No such file or directory It seems arm-linux-gnueabi-gcc still can't work. But some address changed in running ldd command. Thanks~~ Yours Terry -Original Message- From: Lv Terry-R65388 Sent: 2012年1月11日 13:51 To: 'Michael Hope' Cc: linaro-toolchain@lists.linaro.org Subject: RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server Hi Michael, r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ldd ./arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf77d) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf76c3000) libm.so.6 => /lib32/libm.so.6 (0xf7699000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf767d000) libdl.so.2 => /lib32/libdl.so.2 (0xf7678000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf765a000) libc.so.6 => /lib32/libc.so.6 (0xf74e) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77d1000) Previous one should be wrong. That's the system gcc-arm. Thanks~~ Yours Terry -Original Message- From: Michael Hope [mailto:michael.h...@linaro.org] Sent: 2012年1月11日 13:37 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server 2012/1/11 Lv Terry-R65388 : > Hi Michael, > > Actually, I've already have ia32-libs and ia32-libs-multiarch > installed. > > r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install ia32-libs > Reading package lists... Done Building dependency tree Reading state > information... Done ia32-libs is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. > r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install > ia32-libs-multiarch Reading package lists... Done Building dependency > tree Reading state information... Done > ia32-libs-multiarch:i386 is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. > r65388@shlinux3:~/toolchain_ltib/ltib$ > ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl > -linux-gnueabi/bin/arm-linux-gnueabi-gcc > -bash: > /home/r65388/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011 > .12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc: No such file or > directory > > Do you have more suggestions? > > Is it linking to a wrong library? Hmm, interesting. What does ldd show? Here's what I see on my Lucid box: michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ldd arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf77c5000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf76a9000) libm.so.6 => /lib32/libm.so.6 (0xf7683000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf7669000) libdl.so.2 => /lib32/libdl.so.2 (0xf7665000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7646000) libc.so.6 => /lib32/libc.so.6 (0xf74ec000) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77c6000) -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
On Wed, Jan 11, 2012 at 7:03 PM, Lv Terry-R65388 wrote: > Hi Michael, > > I remove gcc-arm-linux-gnueabi from the server and run ldd > ./arm-linux-gnueabi-gcc again. > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ > ldd ./arm-linux-gnueabi-gcc > linux-gate.so.1 => (0xf773c000) > libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf762f000) > libm.so.6 => /lib32/libm.so.6 (0xf7605000) > libpthread.so.0 => /lib32/libpthread.so.0 (0xf75e9000) > libdl.so.2 => /lib32/libdl.so.2 (0xf75e4000) > libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf75c6000) > libc.so.6 => /lib32/libc.so.6 (0xf744c000) > /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf773d000) > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ > ./arm-linux-gnueabi-gcc > -bash: ./arm-linux-gnueabi-gcc: No such file or directory > > It seems arm-linux-gnueabi-gcc still can't work. But some address > changed in running ldd command. Yip, but that's due to address space randomisation. This is quite strange. The ldd output shows it's a executable and can resolve all of the libraries. Could you try a few more things? michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ md5sum arm-linux-gnueabi-gcc 22c4ecfc01b1084856d072d4f70809ce arm-linux-gnueabi-gcc michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ /lib32/ld-linux.so.2 ./arm-linux-gnueabi-gcc arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ LD_DEBUG=libs /lib32/ld-linux.so.2 ./arm-linux-gnueabi-gcc 17090: find library=libstdc++.so.6 [0]; searching 17090: search cache=/etc/ld.so.cache 17090: trying file=/usr/lib32/libstdc++.so.6 17090: 17090: find library=libm.so.6 [0]; searching 17090: search cache=/etc/ld.so.cache 17090: trying file=/lib32/libm.so.6 17090: 17090: find library=libpthread.so.0 [0]; searching 17090: search cache=/etc/ld.so.cache 17090: trying file=/lib32/libpthread.so.0 17090: 17090: find library=libdl.so.2 [0]; searching 17090: search cache=/etc/ld.so.cache 17090: trying file=/lib32/libdl.so.2 17090: 17090: find library=libgcc_s.so.1 [0]; searching 17090: search cache=/etc/ld.so.cache 17090: trying file=/usr/lib32/libgcc_s.so.1 17090: 17090: find library=libc.so.6 [0]; searching 17090: search cache=/etc/ld.so.cache 17090: trying file=/lib32/libc.so.6 17090: 17090: 17090: calling init: /lib32/libpthread.so.0 17090: 17090: 17090: calling init: /lib32/libc.so.6 17090: 17090: 17090: calling init: /usr/lib32/libgcc_s.so.1 17090: 17090: 17090: calling init: /lib32/libdl.so.2 17090: 17090: 17090: calling init: /lib32/libm.so.6 17090: 17090: 17090: calling init: /usr/lib32/libstdc++.so.6 17090: 17090: 17090: initialize program: ./arm-linux-gnueabi-gcc 17090: 17090: 17090: transferring control: ./arm-linux-gnueabi-gcc 17090: arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. 17090: -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael, Here's the output. r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ md5sum ./arm-linux-gnueabi-gcc 22c4ecfc01b1084856d072d4f70809ce ./arm-linux-gnueabi-gcc r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ /lib32/ld-linux.so.2 ./arm-linux-gnueabi-gcc arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ./arm-linux-gnueabi-gcc -bash: ./arm-linux-gnueabi-gcc: No such file or directory r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ LD_DEBUG=libs /lib32/ld-linux.so.2 ./arm-linux-gnueabi-gcc 14645: find library=libstdc++.so.6 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/usr/lib32/libstdc++.so.6 14645: 14645: find library=libm.so.6 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/lib32/libm.so.6 14645: 14645: find library=libpthread.so.0 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/lib32/libpthread.so.0 14645: 14645: find library=libdl.so.2 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/lib32/libdl.so.2 14645: 14645: find library=libgcc_s.so.1 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/usr/lib32/libgcc_s.so.1 14645: 14645: find library=libc.so.6 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/lib32/libc.so.6 14645: 14645: 14645: calling init: /lib32/libpthread.so.0 14645: 14645: 14645: calling init: /lib32/libc.so.6 14645: 14645: 14645: calling init: /usr/lib32/libgcc_s.so.1 14645: 14645: 14645: calling init: /lib32/libdl.so.2 14645: 14645: 14645: calling init: /lib32/libm.so.6 14645: 14645: 14645: calling init: /usr/lib32/libstdc++.so.6 14645: 14645: 14645: initialize program: ./arm-linux-gnueabi-gcc 14645: 14645: 14645: transferring control: ./arm-linux-gnueabi-gcc 14645: arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. 14645: 14645: calling fini: ./arm-linux-gnueabi-gcc [0] 14645: 14645: 14645: calling fini: /usr/lib32/libstdc++.so.6 [0] 14645: 14645: 14645: calling fini: /lib32/libm.so.6 [0] 14645: 14645: 14645: calling fini: /lib32/libpthread.so.0 [0] 14645: 14645: 14645: calling fini: /lib32/libdl.so.2 [0] 14645: 14645: 14645: calling fini: /usr/lib32/libgcc_s.so.1 [0] 14645: Thanks~~ Yours Terry -Original Message- From: Michael Hope [mailto:michael.h...@linaro.org] Sent: 2012年1月11日 14:12 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server On Wed, Jan 11, 2012 at 7:03 PM, Lv Terry-R65388 wrote: > Hi Michael, > > I remove gcc-arm-linux-gnueabi from the server and run ldd > ./arm-linux-gnueabi-gcc again. > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib > -2011.12/arm-fsl-linux-gnueabi/bin$ ldd ./arm-linux-gnueabi-gcc > linux-gate.so.1 => (0xf773c000) > libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf762f000) > libm.so.6 => /lib32/libm.so.6 (0xf7605000) > libpthread.so.0 => /lib32/libpthread.so.0 (0xf75e9000) > libdl.so.2 => /lib32/libdl.so.2 (0xf75e4000) > libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf75c6000) > libc.so.6 => /lib32/libc.so.6 (0xf744c000) > /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf773d000) > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib > -2011.12/arm-fsl-linux-gnueabi/bin$ ./arm-linux-gnueabi-gcc > -bash: ./arm-linux-gnueabi-gcc: No such file or directory > > It seems arm-linux-gnueabi-gcc still can't work. But some address > changed in running ldd command. Yip, but that's due to address space randomisation. This is quite strange. The ldd output shows it's a executable and can resolve all of the libraries. Could you try a few more things? michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ md5sum arm-linux-gnueabi-gcc 22c4ecfc01b1084856d072d4f70809ce arm-linux-gnueabi-gcc michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ /lib32/ld-linux.so.2 ./arm-linux-gnueabi-gcc arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. michaelh@crucis:~/linaro/binary/check/gcc-li
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael, Here's the output. formatted. Sorry for last mail. r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ md5sum ./arm-linux-gnueabi-gcc 22c4ecfc01b1084856d072d4f70809ce ./arm-linux-gnueabi-gcc r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ /lib32/ld-linux.so.2 ./arm-linux-gnueabi-gcc arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ./arm-linux-gnueabi-gcc -bash: ./arm-linux-gnueabi-gcc: No such file or directory r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ LD_DEBUG=libs /lib32/ld-linux.so.2 ./arm-linux-gnueabi-gcc 14645: find library=libstdc++.so.6 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/usr/lib32/libstdc++.so.6 14645: 14645: find library=libm.so.6 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/lib32/libm.so.6 14645: 14645: find library=libpthread.so.0 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/lib32/libpthread.so.0 14645: 14645: find library=libdl.so.2 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/lib32/libdl.so.2 14645: 14645: find library=libgcc_s.so.1 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/usr/lib32/libgcc_s.so.1 14645: 14645: find library=libc.so.6 [0]; searching 14645: search cache=/etc/ld.so.cache 14645: trying file=/lib32/libc.so.6 14645: 14645: 14645: calling init: /lib32/libpthread.so.0 14645: 14645: 14645: calling init: /lib32/libc.so.6 14645: 14645: 14645: calling init: /usr/lib32/libgcc_s.so.1 14645: 14645: 14645: calling init: /lib32/libdl.so.2 14645: 14645: 14645: calling init: /lib32/libm.so.6 14645: 14645: 14645: calling init: /usr/lib32/libstdc++.so.6 14645: 14645: 14645: initialize program: ./arm-linux-gnueabi-gcc 14645: 14645: 14645: transferring control: ./arm-linux-gnueabi-gcc 14645: arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. 14645: 14645: calling fini: ./arm-linux-gnueabi-gcc [0] 14645: 14645: 14645: calling fini: /usr/lib32/libstdc++.so.6 [0] 14645: 14645: 14645: calling fini: /lib32/libm.so.6 [0] 14645: 14645: 14645: calling fini: /lib32/libpthread.so.0 [0] 14645: 14645: 14645: calling fini: /lib32/libdl.so.2 [0] 14645: 14645: 14645: calling fini: /usr/lib32/libgcc_s.so.1 [0] 14645: Thanks~~ Yours Terry -Original Message- From: Michael Hope [mailto:michael.h...@linaro.org] Sent: 2012年1月11日 14:12 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server On Wed, Jan 11, 2012 at 7:03 PM, Lv Terry-R65388 wrote: > Hi Michael, > > I remove gcc-arm-linux-gnueabi from the server and run ldd > ./arm-linux-gnueabi-gcc again. > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib > -2011.12/arm-fsl-linux-gnueabi/bin$ ldd ./arm-linux-gnueabi-gcc > linux-gate.so.1 => (0xf773c000) > libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf762f000) > libm.so.6 => /lib32/libm.so.6 (0xf7605000) > libpthread.so.0 => /lib32/libpthread.so.0 (0xf75e9000) > libdl.so.2 => /lib32/libdl.so.2 (0xf75e4000) > libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf75c6000) > libc.so.6 => /lib32/libc.so.6 (0xf744c000) > /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf773d000) > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib > -2011.12/arm-fsl-linux-gnueabi/bin$ ./arm-linux-gnueabi-gcc > -bash: ./arm-linux-gnueabi-gcc: No such file or directory > > It seems arm-linux-gnueabi-gcc still can't work. But some address > changed in running ldd command. Yip, but that's due to address space randomisation. This is quite strange. The ldd output shows it's a executable and can resolve all of the libraries. Could you try a few more things? michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ md5sum arm-linux-gnueabi-gcc 22c4ecfc01b1084856d072d4f70809ce arm-linux-gnueabi-gcc michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ /lib32/ld-linux.so.2 ./arm-linux-gnueabi-gcc arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. michaelh@cr
Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
On Wed, Jan 11, 2012 at 7:26 PM, Lv Terry-R65388 wrote: > Hi Michael, > > Here's the output. formatted. Sorry for last mail. > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ > md5sum ./arm-linux-gnueabi-gcc 22c4ecfc01b1084856d072d4f70809ce > ./arm-linux-gnueabi-gcc > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ > /lib32/ld-linux.so.2 ./arm-linux-gnueabi-gcc > arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. So it's working then when we call the linker explicitly. That's good. So why isn't it working when you run the program by itself? Some more things to try: Just to be sure: michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ./arm-linux-gnueabi-gcc arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ls -la /lib/ld* -rwxr-xr-x 1 root root 136936 2011-01-22 11:23 /lib/ld-2.11.1.so lrwxrwxrwx 1 root root 20 2011-08-27 21:19 /lib/ld-linux.so.2 -> /lib32/ld-linux.so.2 lrwxrwxrwx 1 root root 12 2011-08-27 20:14 /lib/ld-linux-x86-64.so.2 -> ld-2.11.1.so lrwxrwxrwx 1 root root 13 2011-09-28 22:12 /lib/ld-lsb.so.1 -> ld-linux.so.2 lrwxrwxrwx 1 root root 13 2011-09-28 22:12 /lib/ld-lsb.so.2 -> ld-linux.so.2 lrwxrwxrwx 1 root root 13 2011-09-28 22:12 /lib/ld-lsb.so.3 -> ld-linux.so.2 lrwxrwxrwx 1 root root 25 2011-09-28 22:12 /lib/ld-lsb-x86-64.so.2 -> /lib/ld-linux-x86-64.so.2 lrwxrwxrwx 1 root root 25 2011-09-28 22:12 /lib/ld-lsb-x86-64.so.3 -> /lib/ld-linux-x86-64.so.2 michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ls -la /lib32/ld* -rwxr-xr-x 1 root root 118060 2011-01-22 11:25 /lib32/ld-2.11.1.so lrwxrwxrwx 1 root root 12 2011-08-27 21:19 /lib32/ld-linux.so.2 -> ld-2.11.1.so michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ls /etc/ld.so* /etc/ld.so.cache /etc/ld.so.conf /etc/ld.so.conf.d: GL.conf lib32asound2.conf libasound2.conf libc.conf x86_64-linux-gnu.conf ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael, Here's the output. r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ./arm-linux-gnueabi-gcc -bash: ./arm-linux-gnueabi-gcc: No such file or directory r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ls -la /lib/ld* lrwxrwxrwx 1 root root 25 2011-10-05 06:07 /lib/ld-linux.so.2 -> i386-linux-gnu/ld-2.13.so r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ls -la /lib32/ld* -rwxr-xr-x 1 root root 126152 2011-10-05 04:58 /lib32/ld-2.13.so lrwxrwxrwx 1 root root 10 2011-12-14 17:30 /lib32/ld-linux.so.2 -> ld-2.13.so r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ls /etc/ld.so* /etc/ld.so.cache /etc/ld.so.conf /etc/ld.so.conf.d: biarch-compat.conf i386-linux-gnu_GL.conf i686-linux-gnu.conf libc.conf x86_64-linux-gnu.conf x86_64-linux-gnu_GL.conf r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ Seems I know the reason now "/lib/ld-linux.so.2 -> i386-linux-gnu/ld-2.13.so". But I don't know why this happen. Thanks a lot~~ Yours Terry -Original Message- From: Michael Hope [mailto:michael.h...@linaro.org] Sent: 2012年1月11日 14:40 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server On Wed, Jan 11, 2012 at 7:26 PM, Lv Terry-R65388 wrote: > Hi Michael, > > Here's the output. formatted. Sorry for last mail. > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib > -2011.12/arm-fsl-linux-gnueabi/bin$ md5sum ./arm-linux-gnueabi-gcc > 22c4ecfc01b1084856d072d4f70809ce ./arm-linux-gnueabi-gcc > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib > -2011.12/arm-fsl-linux-gnueabi/bin$ /lib32/ld-linux.so.2 > ./arm-linux-gnueabi-gcc > arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. So it's working then when we call the linker explicitly. That's good. So why isn't it working when you run the program by itself? Some more things to try: Just to be sure: michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ./arm-linux-gnueabi-gcc arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ls -la /lib/ld* -rwxr-xr-x 1 root root 136936 2011-01-22 11:23 /lib/ld-2.11.1.so lrwxrwxrwx 1 root root 20 2011-08-27 21:19 /lib/ld-linux.so.2 -> /lib32/ld-linux.so.2 lrwxrwxrwx 1 root root 12 2011-08-27 20:14 /lib/ld-linux-x86-64.so.2 -> ld-2.11.1.so lrwxrwxrwx 1 root root 13 2011-09-28 22:12 /lib/ld-lsb.so.1 -> ld-linux.so.2 lrwxrwxrwx 1 root root 13 2011-09-28 22:12 /lib/ld-lsb.so.2 -> ld-linux.so.2 lrwxrwxrwx 1 root root 13 2011-09-28 22:12 /lib/ld-lsb.so.3 -> ld-linux.so.2 lrwxrwxrwx 1 root root 25 2011-09-28 22:12 /lib/ld-lsb-x86-64.so.2 -> /lib/ld-linux-x86-64.so.2 lrwxrwxrwx 1 root root 25 2011-09-28 22:12 /lib/ld-lsb-x86-64.so.3 -> /lib/ld-linux-x86-64.so.2 michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ls -la /lib32/ld* -rwxr-xr-x 1 root root 118060 2011-01-22 11:25 /lib32/ld-2.11.1.so lrwxrwxrwx 1 root root 12 2011-08-27 21:19 /lib32/ld-linux.so.2 -> ld-2.11.1.so michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ls /etc/ld.so* /etc/ld.so.cache /etc/ld.so.conf /etc/ld.so.conf.d: GL.conf lib32asound2.conf libasound2.conf libc.conf x86_64-linux-gnu.conf ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
On Wed, Jan 11, 2012 at 7:48 PM, Lv Terry-R65388 wrote: > Hi Michael, > > Here's the output. > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ > ./arm-linux-gnueabi-gcc > -bash: ./arm-linux-gnueabi-gcc: No such file or directory > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ > ls -la /lib/ld* > lrwxrwxrwx 1 root root 25 2011-10-05 06:07 /lib/ld-linux.so.2 -> > i386-linux-gnu/ld-2.13.so > > Seems I know the reason now "/lib/ld-linux.so.2 -> > i386-linux-gnu/ld-2.13.so". But I don't know why this happen. Here's the same from my fresh install of Ubuntu 11.04 x86_64 server + ia32-libs + lsb: cbuild@crucis-natty:~$ ls -la /lib/ld-* lrwxrwxrwx 1 root root 20 2012-01-11 11:23 /lib/ld-linux.so.2 -> /lib32/ld-linux.so.2 lrwxrwxrwx 1 root root 27 2012-01-11 09:15 /lib/ld-linux-x86-64.so.2 -> x86_64-linux-gnu/ld-2.13.so lrwxrwxrwx 1 root root 13 2012-01-11 11:24 /lib/ld-lsb.so.1 -> ld-linux.so.2 lrwxrwxrwx 1 root root 13 2012-01-11 11:24 /lib/ld-lsb.so.2 -> ld-linux.so.2 lrwxrwxrwx 1 root root 13 2012-01-11 11:24 /lib/ld-lsb.so.3 -> ld-linux.so.2 lrwxrwxrwx 1 root root 25 2012-01-11 11:24 /lib/ld-lsb-x86-64.so.2 -> /lib/ld-linux-x86-64.so.2 lrwxrwxrwx 1 root root 25 2012-01-11 11:24 /lib/ld-lsb-x86-64.so.3 -> /lib/ld-linux-x86-64.so.2 I wonder where the funny symlink came from? Does a dpkg -S ld-2.13 tell you? You mentioned a ia32-libs-multiarch package before. What is this and where does it come from? -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael, dpkg -S ld-2.13 outputs is: r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ dpkg -S ld-2.13 libc6: /lib/x86_64-linux-gnu/ld-2.13.so libc6-dbg: /usr/lib/debug/lib32/ld-2.13.so libc6-dbg: /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so libc6-i386: /lib32/ld-2.13.so libc6:i386: /lib/i386-linux-gnu/ld-2.13.so ia32-libs-multiarch is a recommended package founded when install ia32-libs. Some comments from google: " Multi-arch versions of former ia32-libraries This package depends on i386 versions of packages that were removed from ia32-libs and transitioned to multi-arch. This allows applications using ia32-libs in previous Ubuntu releases to continue functioning without missing libraries. " I think ia32-libs-multiarch is similar to ia32-libs, but may have better compatibility. That's a try when I'm tring to fix this issue. Thanks~~ Yours Terry -Original Message- From: Michael Hope [mailto:michael.h...@linaro.org] Sent: 2012年1月11日 14:58 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server On Wed, Jan 11, 2012 at 7:48 PM, Lv Terry-R65388 wrote: > Hi Michael, > > Here's the output. > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib > -2011.12/arm-fsl-linux-gnueabi/bin$ ./arm-linux-gnueabi-gcc > -bash: ./arm-linux-gnueabi-gcc: No such file or directory > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib > -2011.12/arm-fsl-linux-gnueabi/bin$ ls -la /lib/ld* lrwxrwxrwx 1 root > root 25 2011-10-05 06:07 /lib/ld-linux.so.2 -> > i386-linux-gnu/ld-2.13.so > > Seems I know the reason now "/lib/ld-linux.so.2 -> > i386-linux-gnu/ld-2.13.so". But I don't know why this happen. Here's the same from my fresh install of Ubuntu 11.04 x86_64 server + ia32-libs + lsb: cbuild@crucis-natty:~$ ls -la /lib/ld-* lrwxrwxrwx 1 root root 20 2012-01-11 11:23 /lib/ld-linux.so.2 -> /lib32/ld-linux.so.2 lrwxrwxrwx 1 root root 27 2012-01-11 09:15 /lib/ld-linux-x86-64.so.2 -> x86_64-linux-gnu/ld-2.13.so lrwxrwxrwx 1 root root 13 2012-01-11 11:24 /lib/ld-lsb.so.1 -> ld-linux.so.2 lrwxrwxrwx 1 root root 13 2012-01-11 11:24 /lib/ld-lsb.so.2 -> ld-linux.so.2 lrwxrwxrwx 1 root root 13 2012-01-11 11:24 /lib/ld-lsb.so.3 -> ld-linux.so.2 lrwxrwxrwx 1 root root 25 2012-01-11 11:24 /lib/ld-lsb-x86-64.so.2 -> /lib/ld-linux-x86-64.so.2 lrwxrwxrwx 1 root root 25 2012-01-11 11:24 /lib/ld-lsb-x86-64.so.3 -> /lib/ld-linux-x86-64.so.2 I wonder where the funny symlink came from? Does a dpkg -S ld-2.13 tell you? You mentioned a ia32-libs-multiarch package before. What is this and where does it come from? -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
On Wed, Jan 11, 2012 at 8:23 PM, Lv Terry-R65388 wrote: > Hi Michael, > > dpkg -S ld-2.13 outputs is: > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ > dpkg -S ld-2.13 > libc6: /lib/x86_64-linux-gnu/ld-2.13.so > libc6-dbg: /usr/lib/debug/lib32/ld-2.13.so > libc6-dbg: /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so > libc6-i386: /lib32/ld-2.13.so > libc6:i386: /lib/i386-linux-gnu/ld-2.13.so > > ia32-libs-multiarch is a recommended package founded when install > ia32-libs. > > Some comments from google: > " Multi-arch versions of former ia32-libraries > This package depends on i386 versions of packages that were removed from > ia32-libs and transitioned to multi-arch. This allows applications using > ia32-libs in previous Ubuntu releases to continue functioning without missing > libraries. " > > I think ia32-libs-multiarch is similar to ia32-libs, but may have > better compatibility. You mentioned 11.04 earlier which is Ubuntu Natty. According to packages.ubuntu.com, ia32-libs-multiarch first appeared in the next release, Oneiric. Where did ia32-libs-multiarch come from? FYI, here's what I see on Natty: cbuild@crucis-natty:/etc/ld.so.conf.d$ apt-cache search multiarch libpango1.0-0 - Layout and rendering of internationalized text multiarch-support - Transitional package to ensure multiarch compatibility apt-cross - retrieve, build and install libraries for cross-compiling gdb-multiarch - The GNU Debugger (with support for multiple architectures) binutils-multiarch - Binary utilities that support multi-arch targets cbuild@crucis-natty:/etc/ld.so.conf.d$ lsb_release -a LSB Version: Distributor ID: Ubuntu Description:Ubuntu 11.04 Release:11.04 Codename: natty -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael, I check the server version. It has been updated to 11.10. I don't know that. Sorry for this. Thanks~~ Yours Terry -Original Message- From: Michael Hope [mailto:michael.h...@linaro.org] Sent: 2012年1月11日 15:37 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server On Wed, Jan 11, 2012 at 8:23 PM, Lv Terry-R65388 wrote: > Hi Michael, > > dpkg -S ld-2.13 outputs is: > > r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib > -2011.12/arm-fsl-linux-gnueabi/bin$ dpkg -S ld-2.13 > libc6: /lib/x86_64-linux-gnu/ld-2.13.so > libc6-dbg: /usr/lib/debug/lib32/ld-2.13.so > libc6-dbg: /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so > libc6-i386: /lib32/ld-2.13.so > libc6:i386: /lib/i386-linux-gnu/ld-2.13.so > > ia32-libs-multiarch is a recommended package founded when install > ia32-libs. > > Some comments from google: > " Multi-arch versions of former ia32-libraries This package > depends on i386 versions of packages that were removed from ia32-libs > and transitioned to multi-arch. This allows applications using > ia32-libs in previous Ubuntu releases to continue functioning without > missing libraries. " > > I think ia32-libs-multiarch is similar to ia32-libs, but may have > better compatibility. You mentioned 11.04 earlier which is Ubuntu Natty. According to packages.ubuntu.com, ia32-libs-multiarch first appeared in the next release, Oneiric. Where did ia32-libs-multiarch come from? FYI, here's what I see on Natty: cbuild@crucis-natty:/etc/ld.so.conf.d$ apt-cache search multiarch libpango1.0-0 - Layout and rendering of internationalized text multiarch-support - Transitional package to ensure multiarch compatibility apt-cross - retrieve, build and install libraries for cross-compiling gdb-multiarch - The GNU Debugger (with support for multiple architectures) binutils-multiarch - Binary utilities that support multi-arch targets cbuild@crucis-natty:/etc/ld.so.conf.d$ lsb_release -a LSB Version: Distributor ID: Ubuntu Description:Ubuntu 11.04 Release:11.04 Codename: natty -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
On Wed, Jan 11, 2012 at 8:51 PM, Lv Terry-R65388 wrote: > Hi Michael, > > I check the server version. It has been updated to 11.10. > I don't know that. Ah, OK. I'll give that a go tomorrow. -- Michael ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain