[meta-intel] [PATCH] intel-gpu-tools: backport patch fixing 32-bit builds

Anuj Mittal anuj.mittal at intel.com
Thu Jan 18 18:06:48 PST 2018


Hi Cal,

On 01/19/2018 06:18 AM, California Sullivan wrote:
> Fixes the following error seen in 32-bit builds:
> 
> | ../../intel-gpu-tools-1.20/lib/igt_x86.c:96:10: error: redefinition of 'igt_x86_features'
> |  unsigned igt_x86_features(void)
> |           ^~~~~~~~~~~~~~~~
> | In file included from ../../intel-gpu-tools-1.20/lib/igt_x86.c:38:0:
> | ../../intel-gpu-tools-1.20/lib/igt_x86.h:47:24: note: previous definition of 'igt_x86_features' was here
> |  static inline unsigned igt_x86_features(void)
> |                         ^~~~~~~~~~~~~~~~
> | ../../intel-gpu-tools-1.20/lib/igt_x86.c:148:7: error: redefinition of 'igt_x86_features_to_string'
> |  char *igt_x86_features_to_string(unsigned features, char *line)
> |        ^~~~~~~~~~~~~~~~~~~~~~~~~~
> | In file included from ../../intel-gpu-tools-1.20/lib/igt_x86.c:38:0:
> | ../../intel-gpu-tools-1.20/lib/igt_x86.h:51:21: note: previous definition of 'igt_x86_features_to_string' was here
> |  static inline char *igt_x86_features_to_string(unsigned features, char *line)
> 
> I unfortunately missed this before merging the upgrade.
> 
> Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
> ---
> Hi Anuj,
> 
> I see there is a 1.21 release of this package, but the 2017 Q3 graphics
> stack release states intel-gpu-tools v1.20, so I thought this would be
> more appropriate. Let me know if you think otherwise.

I think that makes sense. Thanks for fixing, I should've tested this on
32 bit too ...

Thanks,
Anuj


More information about the meta-intel mailing list