[U-Boot] Running u-boot on qemu-arm complains about missing ld.so.1

In order to compile u-boot, I tried to use CodeSourcery toolchain which did not work. However the version of arm-none-eabi toolchain hosted in Ubuntu reposiroty does compile u-boot codebase.
When I try to run the u-boot standalone executable qemu-arm, it complains about missing '/usr/lib/ld.so.1'. I understand this is a toolchain error. Which toolchain is officially supported? How do I locate the cross-compiled ld.so on my system? It doesn't seem to be lying under /usr/lib/arm-none-eabi directory.

Compiling uboot with Ubunu's arm-none-eabi package abd symlinking the ld.so from gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf toolchain throws the following error: "Inconsistency detected by ld.so: rtld.c: 1137: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed!"
Compiling uboot with gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf doesn't work because of compiler issues
On 30 November 2017 at 10:40, Dipanjan Das mail.dipanjan.das@gmail.com wrote:
In order to compile u-boot, I tried to use CodeSourcery toolchain which did not work. However the version of arm-none-eabi toolchain hosted in Ubuntu reposiroty does compile u-boot codebase.
When I try to run the u-boot standalone executable qemu-arm, it complains about missing '/usr/lib/ld.so.1'. I understand this is a toolchain error. Which toolchain is officially supported? How do I locate the cross-compiled ld.so on my system? It doesn't seem to be lying under /usr/lib/arm-none-eabi directory.
--
Thanks & Regards, Dipanjan
participants (1)
-
Dipanjan Das