[Buildroot] [PATCH] package/gcc (arc): backport PR56780 patches

Alexey Brodkin Alexey.Brodkin at synopsys.com
Wed May 13 20:48:10 UTC 2015


Hi Romain,

On Mon, 2015-05-11 at 23:45 +0200, Romain Naour wrote:
> --disable-install-libiberty configure option is broken
> in gcc 4.8.x, so libiberty.a is always installed in HOST_DIR.
> 
> This library broke the host-gdb build due to a fpic/fPIC issue.
> 
> Note: host-binutils-arc-2014.12 install libiberty.a in HOST_DIR
> but it was overwritten by the gcc one. The host-binutils's
> libiberty.a also broke the host-gdb build. This should be
> fixed in a followup patch.
> 
> Signed-off-by: Romain Naour <romain.naour at openwide.fr>
> Cc: Alexey Brodkin <abrodkin at synopsys.com>
> ---
> Alexey, --disable-install-libiberty doesn't work
> for host-binutils-arc-2014.12. Can you have a look ?
> Thanks

Indeed our binutils are still based on 2.23 branch and corresponding
patches were missing.

What I did I just copied your "851-PR-other-56780.patch" to
"package/binutils/arc-2014.12" folder and on host-binutils rebuild no
libiberty.a was put in "host/usr/lib64".

Care to send another patch that adds "851-PR-other-56780.patch" to
"package/binutils/arc-2014.12" or should I do it myself?

-Alexey



More information about the buildroot mailing list