[cfe-dev] Testing the clang-cl integratio with VS2010

Unai Landa ulanda at digital-legends.com
Sat Nov 9 05:36:44 PST 2013


Thanks Reid, that worked fine, but sadly clang-cl is not working for my code base, I get this errors even if I don't use RTTI.

CL : error : cannot mangle RTTI descriptors for type 'CPropTypeDirect' yet
CL : error : cannot mangle the name of type 'CPropTypeDirect' into RTTI descriptors yet.



Unai Landa
CTO
ulanda at digital-legends.com<mailto:ulanda at digital-legends.com>

Digital Legends Entertainment
C/ Bruc 50, 2-4
08010 Barcelona (Spain)
Tel : +34 93 394 17 77
Fax: +34 93 304 35 05
www.digital-legends.com<http://www.digital-legends.com/>

This e-mail message contains confidential information and/or legally privileged and is intended only for the use of the addressed person. Any disclosure, copying, distribution or the taking of any action in reliance on the contents of this e-mail by any other person is strictly prohibited. If you believe that this e-mail message has been sent to you by error, please notify the sender by reply via e-mail and then delete this message from your system. Thank you.
________________________________
From: Reid Kleckner [rnk at google.com]
Sent: Friday, November 08, 2013 9:09 PM
To: Unai Landa
Cc: cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] Testing the clang-cl integratio with VS2010

This is 0xc0000135, aka STATUS_DLL_NOT_FOUND.
http://msdn.microsoft.com/en-us/library/cc704588.aspx

clang-cl as distributed appears to have a few dll deps:

$ dumpbin /dependents C:/Program\ Files\ \(x86\)/LLVM\ 3.4.svn/msbuild-bin/cl.exe

    KERNEL32.dll
    SHELL32.dll
    ADVAPI32.dll
    MSVCP110.dll
    MSVCR110.dll
    dbghelp.dll

Looks like we have a dependence on the 2012 C and C++ runtimes.  You can probably work around this by installing the VC++ 2012 redistributable bits from http://www.microsoft.com/en-us/download/details.aspx?id=30679  I think our users so far have had VS2012 installed, so nobody has noticed this.

We should eliminate that dependence with static linking or dll redistribution.


On Fri, Nov 8, 2013 at 1:13 AM, Unai Landa <ulanda at digital-legends.com<mailto:ulanda at digital-legends.com>> wrote:
HI, I'm trying to do some tests with the clang-cl build found at http://llvm.org/builds/ with the VisualStudio 2010 compiler, and I get this error for any project or single file I tested.

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(153,5): error MSB6006: "CL.exe" exited with code -1073741515.

Any clue on whats going on? I tried looking on the Bugzilla or google but found nothing.


Unai Landa
CTO
ulanda at digital-legends.com<mailto:ulanda at digital-legends.com>

Digital Legends Entertainment
C/ Bruc 50, 2-4
08010 Barcelona (Spain)
Tel : +34 93 394 17 77<tel:%2B34%2093%20394%2017%2077>
Fax: +34 93 304 35 05<tel:%2B34%2093%20304%2035%2005>
www.digital-legends.com<http://www.digital-legends.com>

This e-mail message contains confidential information and/or legally privileged and is intended only for the use of the addressed person. Any disclosure, copying, distribution or the taking of any action in reliance on the contents of this e-mail by any other person is strictly prohibited. If you believe that this e-mail message has been sent to you by error, please notify the sender by reply via e-mail and then delete this message from your system. Thank you.

________________________________________
From: cfe-dev-bounces at cs.uiuc.edu<mailto:cfe-dev-bounces at cs.uiuc.edu> [cfe-dev-bounces at cs.uiuc.edu<mailto:cfe-dev-bounces at cs.uiuc.edu>] on behalf of cfe-dev-request at cs.uiuc.edu<mailto:cfe-dev-request at cs.uiuc.edu> [cfe-dev-request at cs.uiuc.edu<mailto:cfe-dev-request at cs.uiuc.edu>]
Sent: Friday, November 08, 2013 8:17 AM
To: cfe-dev at cs.uiuc.edu<mailto:cfe-dev at cs.uiuc.edu>
Subject: cfe-dev Digest, Vol 77, Issue 43

Send cfe-dev mailing list submissions to
        cfe-dev at cs.uiuc.edu<mailto:cfe-dev at cs.uiuc.edu>

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
or, via email, send a message with subject or body 'help' to
        cfe-dev-request at cs.uiuc.edu<mailto:cfe-dev-request at cs.uiuc.edu>

You can reach the person managing the list at
        cfe-dev-owner at cs.uiuc.edu<mailto:cfe-dev-owner at cs.uiuc.edu>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of cfe-dev digest..."

_______________________________________________
cfe-dev mailing list
cfe-dev at cs.uiuc.edu<mailto: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/20131109/857f9d6c/attachment.html>


More information about the cfe-dev mailing list