[U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file

Wolfgang Denk wd at denx.de
Thu Jul 23 11:36:02 CEST 2009


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <1247135043-3494-1-git-send-email-plagnioj at 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 at jcrosoft.com>
> Acked-by: Mike Frysinger <vapier at 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

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
But it's real. And if it's real it can be affected ... we may not  be
able  to break it, but, I'll bet you credits to Navy Beans we can put
a dent in it.
	-- deSalle, "Catspaw", stardate 3018.2


More information about the U-Boot mailing list