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

Romain Naour romain.naour at openwide.fr
Wed May 13 21:18:35 UTC 2015


Hi Alexey,

Le 13/05/2015 22:48, Alexey Brodkin a écrit :
> 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?

Thank you for your reply.
I just looked at it this evening, and figured out that was the same issue.
I'll sent a patch rebased on arc-2014.11 tag to apply cleanly.

Best regards,
Romain
> 
> -Alexey
> 


More information about the buildroot mailing list