Skip to content

[BUG] Problem building for AArch64 - " error: cannot convert ‘neon::U16 {aka short unsigned int}’" #797

@solabc16

Description

@solabc16

Hello

Building the native library fails when targeting AArch64, with the following error...

../../../src/opts/SkRasterPipeline_opts.h: In function ‘neon::F neon::from_half(neon::U16)’:
../../../src/opts/SkRasterPipeline_opts.h:657:26: error: cannot convert ‘neon::U16 {aka short unsigned int}’ to ‘float16x4_t {aka __vector(4) __fp16}’ for argument ‘1’ to ‘float32x4_t vcvt_f32_f16(float16x4_t)’
     return vcvt_f32_f16(h);

There are references to this elsewhere, for example : https://github.com/OSSystems/meta-browser/blob/master/recipes-browser/chromium/files/aarch64-skia-build-fix.patch

Do you have a preferred or existing resolution?

  • Version with issue: 1.68.0
  • Last known good version: 1.60.3

Best
-James

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions