Quantcast

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

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Daniel Marjamäki via cfe-dev

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.


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [libcxx] What degree of Windows and/or MSVC support is already present?

Daniel Marjamäki via cfe-dev

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 at http://libcxx.llvm.org/docs/BuildingLibcxx.html#experimental-support-for-windows. I was maintaining a Google Doc tracking the test failures at https://docs.google.com/spreadsheets/d/1Yonp8WidaIBb9mmzy6aV92wbjBYEargyrlIYc75r3Gk/edit#gid=0, though it's probably fairly out of date now. EricWF also set up an appveyor bot at https://ci.appveyor.com/project/EricWF/libcxx.

 

One known issue is a lack of locale support (https://bugs.llvm.org/show_bug.cgi?id=31516). 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 <[hidden email]> on behalf of cfe-dev <[hidden email]>
Reply-To: Ben Craig <[hidden email]>
Date: Wednesday, April 19, 2017 at 1:33 PM
To: cfe-dev <[hidden email]>
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.


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [libcxx] What degree of Windows and/or MSVC support is already present?

Daniel Marjamäki via cfe-dev
In reply to this post by Daniel Marjamäki via cfe-dev


On Wed, Apr 19, 2017 at 2:33 PM, Ben Craig via cfe-dev <[hidden email]> wrote:

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.


I wouldn't call anything regarding Windows "supported" at this stage. At best any support is experimental and in-progress. Right now we're trying to get to the point
where the Windows build doesn't regress.

 

Is any Microsoft compiler supported?


No Microsoft compiler is supported; It's Clang only right now.

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

I'm not 100% sure I understand the question, but I'll try and answer.

I've only built libc++ natively on Windows 10 using Clang 4.0 with either MSVC 2015 or 2017 as the native toolchain.

 

 

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.


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev



_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [libcxx] What degree of Windows and/or MSVC support is already present?

Daniel Marjamäki via cfe-dev
In reply to this post by Daniel Marjamäki via cfe-dev

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:[hidden email]]
Sent: Wednesday, April 19, 2017 3:58 PM
To: Ben Craig <[hidden email]>; via cfe-dev <[hidden email]>
Cc: Saleem Abdulrasool <[hidden email]>; Eric Fiselier <[hidden email]>
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 at http://libcxx.llvm.org/docs/BuildingLibcxx.html#experimental-support-for-windows. I was maintaining a Google Doc tracking the test failures at https://docs.google.com/spreadsheets/d/1Yonp8WidaIBb9mmzy6aV92wbjBYEargyrlIYc75r3Gk/edit#gid=0, though it's probably fairly out of date now. EricWF also set up an appveyor bot at https://ci.appveyor.com/project/EricWF/libcxx.

 

One known issue is a lack of locale support (https://bugs.llvm.org/show_bug.cgi?id=31516). 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 <[hidden email]> on behalf of cfe-dev <[hidden email]>
Reply-To: Ben Craig <
[hidden email]>
Date: Wednesday, April 19, 2017 at 1:33 PM
To: cfe-dev <
[hidden email]>
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.


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [libcxx] What degree of Windows and/or MSVC support is already present?

Daniel Marjamäki via cfe-dev
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.

_____________________________
From: Ben Craig <[hidden email]>
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 <[hidden email]>, via cfe-dev <[hidden email]>
Cc: Saleem Abdulrasool <[hidden email]>, Eric Fiselier <[hidden email]>


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 [[hidden email]]
Sent: Wednesday, April 19, 2017 3:58 PM
To: Ben Craig <[hidden email]>; via cfe-dev <[hidden email]>
Cc: Saleem Abdulrasool <[hidden email]>; Eric Fiselier <[hidden email]>
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. I was maintaining a Google Doc tracking the test failures athttps://docs.google.com/spreadsheets/d/1Yonp8WidaIBb9mmzy6aV92wbjBYEargyrlIYc75r3Gk/edit#gid=0, though it's probably fairly out of date now. EricWF also set up an appveyor bot athttps://ci.appveyor.com/project/EricWF/libcxx.

 

One known issue is a lack of locale support (https://bugs.llvm.org/show_bug.cgi?id=31516). 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 <[hidden email]> on behalf of cfe-dev <[hidden email]>
Reply-To: Ben Craig <
[hidden email]>
Date: Wednesday, April 19, 2017 at 1:33 PM
To: cfe-dev <
[hidden email]>
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.




_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [libcxx] What degree of Windows and/or MSVC support is already present?

Daniel Marjamäki via cfe-dev
I recently fixed the libc++ build with mingw, but I would say that Cygwin is pretty unsupported. There are other mingw users: Matteuz, Martel Mallone, Yaron Keron, and others. I don't know to what extend they use libc++ currently, or what the current support state is like.

Broadly speaking, users seem to me moving away from thick posix emulation layers like cygwin and over to less emulation (mingw) or no emulation (just use MSVCRT).

On Thu, Apr 20, 2017 at 9:36 AM, Shoaib Meenai via cfe-dev <[hidden email]> wrote:
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.

_____________________________
From: Ben Craig <[hidden email]>
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 <[hidden email]>, via cfe-dev <[hidden email]>
Cc: Saleem Abdulrasool <[hidden email]>, Eric Fiselier <[hidden email]>


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 [[hidden email]]
Sent: Wednesday, April 19, 2017 3:58 PM
To: Ben Craig <[hidden email]>; via cfe-dev <[hidden email]>
Cc: Saleem Abdulrasool <[hidden email]>; Eric Fiselier <[hidden email]>
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. I was maintaining a Google Doc tracking the test failures athttps://docs.google.com/spreadsheets/d/1Yonp8WidaIBb9mmzy6aV92wbjBYEargyrlIYc75r3Gk/edit#gid=0, though it's probably fairly out of date now. EricWF also set up an appveyor bot athttps://ci.appveyor.com/project/EricWF/libcxx.

 

One known issue is a lack of locale support (https://bugs.llvm.org/show_bug.cgi?id=31516). 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 <[hidden email]> on behalf of cfe-dev <[hidden email]>
Reply-To: Ben Craig <
[hidden email]>
Date: Wednesday, April 19, 2017 at 1:33 PM
To: cfe-dev <
[hidden email]>
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.




_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev



_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Loading...