[Buildroot] [PATCH] ARC: gcc - Redefine PTRDIFF_TYPE from "long int" to "int"

Alexey Brodkin Alexey.Brodkin at synopsys.com
Tue Sep 23 11:00:39 UTC 2014


Hi Peter,

On Thu, 2014-09-18 at 15:19 +0400, Alexey Brodkin wrote:
> Change of SIZE_TYPE from "long unsigned int" to "unsigned int"
> http://git.buildroot.net/buildroot/commit/?id=0f236c1fef669192c8f5cc8ef26e93da91438dc2
> introduced regression due to existing PTRDIFF_TYPE.
> 
> Now to fix regression convert PTRDIFF_TYPE to simple "int".
> 
> Fix is taken from current development branch of GCC for ARC and will be a
> part of the next release of ARC tools, so at that point patch should be dropped.
> 
> https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commit/846e92167aa4f486259c9ff44bb4e6cce6097fa4
> 
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> Cc: Anton Kolesov <akolesov at synopsys.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Cc: Peter Korsgaard <peter at korsgaard.com>
> ---
>  package/gcc/arc-2014.08/300-ptrdiff_type_int.patch | 26 ++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 package/gcc/arc-2014.08/300-ptrdiff_type_int.patch
> 

Any chance to get this patch applied?
This is a required fix for regressions introduced by
http://git.buildroot.net/buildroot/commit/?id=0f236c1fef669192c8f5cc8ef26e93da91438dc2

-Alexey



More information about the buildroot mailing list