- Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
llvm/llvm-project-release-prs
#718Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'platform:windowsrelease:backport
Milestone
Description
When doing a native build of NSPR 4.35 on Windows on Arm using LLVM 17.0.0 RC1 I got the error unsupported option '-mwindows' for target 'aarch64-w64-mingw32'.
However when building for MinGW-w64 the -mwindows is normally supported (at least I know it is for GCC).
Full output:
make -C config export make[1]: Entering directory '/r/winlibs_llvm17rc1/11064.nspr/nspr-4.35/nspr/config' /d/Prog/winlibs_llvm17rc1/llvm-mingw-20230730-ucrt-aarch64/bin/clang.exe -mwindows -o now.o -c -Wno-int-conversion -pthread -g -UNDEBUG -DDEBUG_brecht -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWINNT=1 -D_ARM64_=1 -DHAVE_STRERROR=1 -DFORCE_PR_LOG now.c clang-17: error: unsupported option '-mwindows' for target 'aarch64-w64-mingw32' make[1]: *** [../config/rules.mk:450: now.o] Error 1 make[1]: Leaving directory '/r/winlibs_llvm17rc1/11064.nspr/nspr-4.35/nspr/config' make: *** [config/rules.mk:163: export] Error 2Anutrix
Metadata
Metadata
Assignees
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'platform:windowsrelease:backport
Type
Projects
Status
Done