[U-Boot] [PATCH 1/5] x86: Fix compilation on 64-bit build machines

Graeme Russ graeme.russ at gmail.com
Wed Nov 28 22:18:37 CET 2012


Hi Simon,

On Thu, Nov 29, 2012 at 6:46 AM, Simon Glass <sjg at chromium.org> wrote:

> Hi Graeme,
>
> On Tue, Nov 27, 2012 at 5:38 PM, Simon Glass <sjg at chromium.org> wrote:
> > From: Graeme Russ <graeme.russ at gmail.com>
>

[snip]


> > diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile
> > index baaa2fb..7c1ea5c 100644
> > --- a/examples/standalone/Makefile
> > +++ b/examples/standalone/Makefile
> > @@ -98,7 +98,7 @@ $(ELF):
> >  $(obj)%:       $(obj)%.o $(LIB)
> >                 $(LD) $(LDFLAGS) -g -Ttext
> $(CONFIG_STANDALONE_LOAD_ADDR) \
> >                         -o $@ -e $(SYM_PREFIX)$(notdir $(<:.o=)) $<
> $(LIB) \
> > -                       -L$(gcclibdir) -lgcc
> > +                       -L$(USE_PRIVATE_LIBGCC) -lgcc
>
> This forces all archs to use a private libgcc here, right? Is that the
> intention? It seems to break some of the powerpc boards with my
>

Eeep - no, that was not the intent. I did this so long ago I can't even
remember why I did the USE_PRIVATE_LIBGCC


> eldk-5.2.1 toolchain. I'm not sure of the runes to get U-Boot to
> compile with a 64-bit toolchain. I think it might be best to
> completely get to the bottom of this rather than applying part of this
> patch.
>
> So please can you point me to the x86 compiler you tested with?
>

All my building is done with the latest gcc the ships with Fedora 17 (can't
recall the version off the top of my head)

Regards,

Graeme


More information about the U-Boot mailing list