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

David Majnemer david.majnemer at gmail.com
Fri Mar 6 00:18:02 PST 2015


Should be fixed with r231456.

On Thu, Mar 5, 2015 at 11:59 PM, David Majnemer <david.majnemer at gmail.com>
wrote:

> I believe I understand what's going wrong, I should have a fix later today.
>
> On Thu, Mar 5, 2015 at 10:24 PM, İsmail Dönmez <ismail at donmez.ws> wrote:
>
>> Sorry missed that part:
>>
>> [~]> cat hello.cpp
>> #include <iostream>
>>
>> int main()
>> {
>>     std::cout << "Hello World!" << std::endl;
>>     return 0;
>> }
>>
>>
>> On Fri, Mar 6, 2015 at 8:11 AM, David Majnemer <david.majnemer at gmail.com>
>> wrote:
>> > 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/20150306/1582aae0/attachment.html>


More information about the cfe-dev mailing list