[cfe-dev] [libcxx] What degree of Windows and/or MSVC support is already present?

Shoaib Meenai via cfe-dev cfe-dev at lists.llvm.org
Thu Apr 20 09:36:43 PDT 2017


None of us have worked on (or intend on working on, as far as I'm aware) Cygwin or MinGW support. We're just working with the native Windows toolchain.

Get Outlook for iOS<https://aka.ms/o0ukef>
_____________________________
From: Ben Craig <ben.craig at ni.com<mailto:ben.craig at ni.com>>
Sent: Thursday, April 20, 2017 6:16 AM
Subject: RE: [cfe-dev] [libcxx] What degree of Windows and/or MSVC support is already present?
To: Shoaib Meenai <smeenai at fb.com<mailto:smeenai at fb.com>>, via cfe-dev <cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>>
Cc: Saleem Abdulrasool <compnerd at compnerd.org<mailto:compnerd at compnerd.org>>, Eric Fiselier <eric at efcs.ca<mailto:eric at efcs.ca>>


Thanks for the info.  I somehow missed the mention of experimental windows support on the BuildingLibcxx page.

Are there any efforts to support things like Cygwin?  Or is clang-cl targeting Win32 and x64 desktops the extent of things now?

Also, many thanks to EricWF for getting a Windows buildbot up!

From: Shoaib Meenai [mailto:smeenai at fb.com]
Sent: Wednesday, April 19, 2017 3:58 PM
To: Ben Craig <ben.craig at ni.com<mailto:ben.craig at ni.com>>; via cfe-dev <cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>>
Cc: Saleem Abdulrasool <compnerd at compnerd.org<mailto:compnerd at compnerd.org>>; Eric Fiselier <eric at efcs.ca<mailto:eric at efcs.ca>>
Subject: Re: [cfe-dev] [libcxx] What degree of Windows and/or MSVC support is already present?

compnerd (CC'd) did the initial work to port libc++ to Windows (including adding support for native Windows threading). EricWF (also CC'd) continued that work, particularly around tests and vcruntime support. I've done some fix-ups here and there.

Last I checked, libc++ on Windows x86 compiled successfully with clang-cl, and only failed around 200 tests (out of over 5000). There's documentation for building and running tests on Windows athttp://libcxx.llvm.org/docs/BuildingLibcxx.html#experimental-support-for-windows<https://urldefense.proofpoint.com/v2/url?u=http-3A__libcxx.llvm.org_docs_BuildingLibcxx.html-23experimental-2Dsupport-2Dfor-2Dwindows&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=gCVvnEyF72ReAUBz7nZ-H5_ylVVgew6CXpPPBs_6fRo&s=hPQ92jT2EbatM8zTn1UPXwLQiz-G1IvrDvwP-JU7SRU&e=>. I was maintaining a Google Doc tracking the test failures athttps://docs.google.com/spreadsheets/d/1Yonp8WidaIBb9mmzy6aV92wbjBYEargyrlIYc75r3Gk/edit#gid=0<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.google.com_spreadsheets_d_1Yonp8WidaIBb9mmzy6aV92wbjBYEargyrlIYc75r3Gk_edit-23gid-3D0&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=gCVvnEyF72ReAUBz7nZ-H5_ylVVgew6CXpPPBs_6fRo&s=Nd7pFRzuU3z5B5bd9a1RAjGzUemTIFJDnPt5RstVgo8&e=>, though it's probably fairly out of date now. EricWF also set up an appveyor bot athttps://ci.appveyor.com/project/EricWF/libcxx<https://urldefense.proofpoint.com/v2/url?u=https-3A__ci.appveyor.com_project_EricWF_libcxx&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=gCVvnEyF72ReAUBz7nZ-H5_ylVVgew6CXpPPBs_6fRo&s=quwA3R7Or8hVaaW3p2bD4an33OSGRYO2jbQymGjxHoI&e=>.

One known issue is a lack of locale support (https://bugs.llvm.org/show_bug.cgi?id=31516<https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.llvm.org_show-5Fbug.cgi-3Fid-3D31516&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=gCVvnEyF72ReAUBz7nZ-H5_ylVVgew6CXpPPBs_6fRo&s=vgvM_yT1a_o4Kgjo4in2GXywOFiZoVQ6H60Lf35DCQM&e=>). I'll be working more on addressing that (and the remaining test failures) over the next couple of months.

cl support hasn't been an explicit goal for any of us yet. It would definitely be nice to have though, and I'm aware of the work you've been doing on that front.

From: cfe-dev <cfe-dev-bounces at lists.llvm.org<mailto:cfe-dev-bounces at lists.llvm.org>> on behalf of cfe-dev <cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>>
Reply-To: Ben Craig <ben.craig at ni.com<mailto:ben.craig at ni.com>>
Date: Wednesday, April 19, 2017 at 1:33 PM
To: cfe-dev <cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>>
Subject: [cfe-dev] [libcxx] What degree of Windows and/or MSVC support is already present?

I’ve seen some commits (largely from smeenai) that deal with Microsoft technologies.  I’m curious as to what is currently supported, and what is in progress, as it is relevant to my aspirations of Windows kernel support with MSVC 2017.

Is any Microsoft platform as a target supported from any compiler?  Is any Microsoft compiler supported?

I know the tests have had substantial fixes and restructuring in order to be used by the Microsoft libraries team (STL et al).  If libcxx itself has some configuration that works though, I’d like to know how to set it up so that I don’t break it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170420/babc2c41/attachment.html>


More information about the cfe-dev mailing list