Skip to content

Clang Format on MacOs #7561

Description

@dizmal

Hello,

With the 1.4.0 insiders2 update I experience the following problem when using clang-format as the code formatter.

Formatting failed:
/Users/xxxxx/.vscode/extensions/ms-vscode.cpptools-1.4.0-insiders2/bin/../LLVM/bin/clang-format.darwin -style=file -fallback-style=LLVM -assume-filename=xxx.cpp
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
    Referenced from: /Users/xxxxx/.vscode/extensions/ms-vscode.cpptools-1.4.0-insiders2/bin/../LLVM/bin/clang-format.darwin (which was built for Mac OS X 10.15)
    Expected in: /usr/lib/libSystem.B.dylib

PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
  Stack dump:
  0.	Program arguments: /Users/xxxxx/.vscode/extensions/ms-vscode.cpptools-1.4.0-insiders2/bin/../LLVM/bin/clang-format.darwin -style=file -fallback-style=LLVM -assume-filename=xxx.cpp
  Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
  0  clang-…

Versions:

Version: 1.56.2
Commit: 054a9295330880ed74ceaedda236253b4f39a335
Date: 2021-05-12T17:44:30.902Z (1 wk ago)
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Darwin x64 17.7.0

There is no such issue with v1.3.1.
I have rolled back for now.

Regards,
Damon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Code FormattingbugfixedCheck the Milestone for the release in which the fix is or will be available.insidersCurrently only repros with our latest Insiders release.quick fix

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions