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

David Majnemer david.majnemer at gmail.com
Thu Mar 5 22:11:21 PST 2015


What does hello.cpp consist of?

On Thu, Mar 5, 2015 at 9:55 PM, İsmail Dönmez <ismail at donmez.ws> wrote:

> 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
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150305/4f895273/attachment.html>


More information about the cfe-dev mailing list