[cfe-dev] Compilation broken for x86_64-pc-windows-msvc target

İsmail Dönmez ismail at donmez.ws
Thu Mar 5 21:55:31 PST 2015


Hi,

Even though its not easy to pinpoint the exact breaking commit, for
the last day or two compilation for win64 target seems to be broken:

[~]> clang++ -target x86_64-pc-windows-msvc -fno-exceptions hello.cpp
fatal error: error in backend: symbol '__ImageBase' can not be
undefined in a subtraction expression

# 32bit compilation works
[~]> clang++ -target x86_64-pc-windows-msvc -fno-exceptions -m32 hello.cpp
[~]> ./a.exe
Hello World!

[~]> clang -v
clang version 3.7.0 (http://llvm.org/git/clang.git
910ca79bc6da1347069d6be3d707009b97581aa7)
(http://llvm.org/git/llvm.git
29d788f11be6b05717b372f5f0ec871d835858ef)
Target: x86_64-pc-windows-msvc
Thread model: posix

Any ideas?

ismail



More information about the cfe-dev mailing list