[U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

Stephen Warren swarren at nvidia.com
Thu Jan 5 20:40:45 CET 2012


On 01/05/2012 12:16 PM, Wolfgang Denk wrote:
> In message <4F05D596.6030900 at nvidia.com> you wrote:
...
>> The libraries included in the toolchain are built for the ARMv7 CPUs,
> 
> SO this is not the right tool chain for the job.  Ecactly what I said.
> 
>> and hence fail to operate correctly when used by the portion of U-Boot
>> which runs on the ARMv4 CPU, presumably due to ISA differences. IIRC,
>> there are overrides in the U-Boot build process such that some/all of
>> U-Boot is built so it'll run on ARMv4 OK, which is why using libgcc
>> built by U-Boot solves this.
> 
> No, this is NOT a solution, it is a workaround for an inappropriate
> toolchain.  If you want to build code for an armv4t system, you must
> use a tool chain that supports it.

But we don't want to generate code for ARMv4 in general, but rather
ARMv7 as the toolchain does. Only a tiny part of the code needs to be
built for ARMv4, and in general we want to benefit from using ARMv7.

-- 
nvpublic


More information about the U-Boot mailing list