[U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

Lukasz Majewski
2014-03-14T07:37:00Z

Hi Albert,

> Hi Lukasz,
>
> On Thu, 13 Mar 2014 16:43:09 +0100, Lukasz Majewski
> <l.majewski@samsung.com> wrote:
>
> > I can report the same issue with OBS build of u-boot.
> >
> > When u-boot is build with qemu emulated environment with gcc-4.8.2
> > (native armv7l toolchain) in the OBS it needs patch prepared by
> > Andreas.
>
> Hmm, ok, so maybe I can reproduce this by building U-Boot on native
> armv7 hardware. Any target which systematically fails building?

The Trats2 fails to be build. But to me it seems like compiler and
linker issue.

>
> > However I can build the same code from u-boot directory (without
> > this patch) with following toolchain:
> > arm-v7a-linux-gnueabi-gcc (OSELAS.Toolchain-2013.12.0
> > linaro-4.8-2013.11) 4.8.3 20131111
>
> Hmm... So it depends on the toolchain.
>
> > Any ideas how to solve this?
>
> Are both toolchains you used available somewhere so that I can fetch
> them and experiment locally?

Yes they are available. References below:

arm-v7a-linux-gnueabi-gcc
(OSELAS.Toolchain-2013.12.0linaro-4.8-2013.11) 4.8.3 20131111
linaro-4.8-2013.11) 4.8.3 20131111
http://www.ptxdist.org/software/ptxdist/index_en.html

The one which is used in the OBS:
gcc-4.8-2.56.armv7l.rpm

can be download from:
http://download.tizen.org/snapshots/tizen/rd-pq/latest/repos/mobile/armv7l/packages/armv7l/

I hope, that it helps.

>
> Amicalement,

--
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group