Skip to content

Asm code is not compiling under Xcode #3622

@cfnptr

Description

@cfnptr

I have added zstd library to my project as subdirectory using CMake. And when I configure and try to compile using Xcode it shows error in huff_decompress asm code. Problem appeared from 1.5.4 release version.

Steps to reproduce the behavior:

  1. Add zstd as subdirectory in CMake
  2. Configure Xcode project (cmake -G Xcode...)
  3. Open configured .xcodeproj and start program compilation
  4. See error in huf_decompress_amd64.S "Expected identifier or '('" at line 37

Expected behavior:
Program compiling without errors.

Desktop:

  • OS: macOS
  • Version Ventura 13.3.1
  • Compiler clang Xcode 14.3
  • Flags -O0
  • Build system CMake

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