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 on Windows and GNU ABI #525

Open
blapie opened this issue Feb 29, 2024 · 0 comments
Open

Clang on Windows and GNU ABI #525

blapie opened this issue Feb 29, 2024 · 0 comments

Comments

@blapie
Copy link
Collaborator

blapie commented Feb 29, 2024

It looks like the build system is special-cased for clang on windows (using SLEEF_CLANG_ON_WINDOWS variable).
Most of these cases make sense, but in Configure.cmake we do not able GNUABI if SLEEF_CLANG_ON_WINDOWS and nothing seems to justify/explain it.

if (COMPILER_SUPPORTS_WEAK_ALIASES AND
    NOT CMAKE_SYSTEM_PROCESSOR MATCHES "arm" AND
    NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64" AND
    NOT (SLEEF_CLANG_ON_WINDOWS) AND
    NOT MINGW AND SLEEF_BUILD_GNUABI_LIBS)
  set(ENABLE_GNUABI ${COMPILER_SUPPORTS_WEAK_ALIASES})

What is wrong with Clang on Windows and GNU ABI?

Remember at the time windows also implied x86, but soon it won't.

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

No branches or pull requests

1 participant