Skip to content

C++ build fails on aarch64/GCC (NVIDIA GH200) — Ocean NEON intrinsics #329

@Varun-Nair

Description

@Varun-Nair

Building projectaria_tools from source on aarch64 Linux with GCC (tested on NVIDIA GH200 Grace Hopper) fails during Ocean compilation with 67 NEON intrinsic errors.

Three bug categories in Ocean's impl/ocean/cv/:

  1. constexpr on NEON vector types — Clang extension, GCC rejects (47+ occurrences)
  2. vrshrq_n_s16() on unsigned data — signed/unsigned mismatch (6 occurrences)
  3. vget_low_u8() on wrong input types — type width mismatch (6 occurrences)

Fix submitted: facebookresearch/ocean#70

Environment: NVIDIA GH200, aarch64, GCC 11, Ubuntu 22.04

linux-aarch64 is listed as a supported platform in pixi.toml, but the C++ Ocean build does not compile on that platform. All fixes are mechanical with no runtime behavior change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions