Hello Stephen, On Mon, 24 Feb 2014 11:02:25 -0700 Stephen Warren <[email protected]> wrote:
> On 02/24/2014 04:44 AM, Masahiro Yamada wrote: > > Commit 6825a95 (kbuild: use Linux Kernel build scripts) > > changed the behavior of linkage when USE_PRIAVATE_LIBGCC > > is defined as "yes". > > (It dropped arch/arm/lib/eabi_compat.o from the > > target library.) > > > > Affected boards are all Tegra boards. > > > > This commit gets back the same behavior as before Kbuild series. > > Tested-by: Stephen Warren <[email protected]> > > ... although interestingly, at least with the Ubuntu 12.10 ARM > cross-compiler, the resultant U-Boot works fine with or without this > patch. I'd have expected it to fail without this patch since it sounds > like USE_PRIVATE_LIBGCC might not be honored correctly, but perhaps the > linker cmdline order works out such that the custom libgcc happens to be > picked up anyway, just not in the way intended. Thanks for your test. It's good to know your boards are already working. (But I am not sure the build will pass with all sorts of cross tools.) So it turned out it works with or without arch/arm/lib/eabi_compat.c. I am not a compiler expert. Nor do I know what eabi_compat.o is needed for. Anyway, just in case, we'd better to keep the same link behavior as before Kbuild. Best Regards Masahiro Yamada _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

