
Dear Jean-Christophe PLAGNIOL-VILLARD,
In message 1247135043-3494-1-git-send-email-plagnioj@jcrosoft.com you wrote:
This patch allows to override the libgcc Makefile inclusion from the toplevel Makefile by the arch config.mk files. This is in preparation for the ARM architecture to move away from including libgcc functions and only using self-contained U-Boot functions as done in Linux.
Currently all the ARM boards that use NAND are broken due to the addition of 64 Bit device size support. In the past we have seen similar problems with different tool chains due to EABI and FPU for example.
With this patch and this one: "ARM: Don't include libgcc anymore" we move away from all these problems on ARM since we don't include any functions from libgcc anymore.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com Acked-by: Mike Frysinger vapier@gentoo.org
As discussed before, I rejected this patch because it seems wrong to me 1) to assume that all ARM tool chains have a broken/unusable implementation of the libgcc runtime support library, 2) I don't want to make a workaround for a broken tool chain the default setting, and 3) we should not restrict this to the ARM architecture but allow the same for other architectures as well.
I suggested another approach in http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/63156/focus=63550 but no one commented on this.
As there are some people suffereing from the current situation and no progress has been visible for some time, I wll soon post a patch that implements my proposal.
Hope this allows to bring this topic to an end.
Best regards,
Wolfgang Denk