Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang 11.0.0 sysv abi unsupported for x86_64-pc-windows-msys target. #4958

Open
1 task done
kspalaiologos opened this issue Oct 14, 2024 · 0 comments
Open
1 task done
Labels

Comments

@kspalaiologos
Copy link

Description / Steps to reproduce the issue

  1. Declare an external function with SYSV-ABI.
  2. Compile with clang on x86_64.
  3. The attribute is unsupported.

Expected behavior

The compiler respecting the __attribute__ (like MSYS2 GCC does)

Actual behavior

crc32c.c:101:10: error: 'sysv_abi' calling convention is not supported for this target [-Werror,-Wignored-attributes]
  extern EXTERNAL_ABI u32 crc32c_small_x86_64_sse42(u32, u8 *, sz);
         ^
crc32c.c:94:41: note: expanded from macro 'EXTERNAL_ABI'
    #define EXTERNAL_ABI __attribute__((sysv_abi))

Verification

Windows Version

MINGW64_NT-10.0-19045

Are you willing to submit a PR?

No.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant