New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C++ threads without winpthreads library #622
Comments
published: 15add2a will merge it later. |
My hands are shaking. I feel like a little child. Thousands of chickens were sacrificed to please the dark gods. Now we have one abstraction layer less, the programs will be smaller and faster. Even grass is greener! Twenty years ago we had snow in the end of September, now we have it in the end of November! Though, one question remains, niXman, you compiled with Why did you provide Does Fortran work? You built the toolchain with
|
=)
I don't want snow in September, too early =)
because LH proposed to replace winpthreads with mcfthreads and his proposal was not supported because it does not fix an existing problem, but is the same additional abstraction layer as winpthreads.
because of
hmm... I don't know, I din't try to build with fortran for now.
because locally im still using Win7 =) |
Win32 native
|
it will not be merged until it be tested, but no one reported back about any success/fail cases... |
I see. In that case, I would add an option (which is enabled by default) to apply the patch. Actually, I prefer MCF threading over this patch, but MCF isn't without its problems. |
then for what that option needed if it will be enabled by default? |
I mean I still want a way to disable the patch. |
then it never be tested and accepted in GCC... up |
Yes. If you decided to apply the patch unconditionally, it'd be fine anyway because I could manually revert it if necessary. It's just that I would provide an option if I were you. What's your plan? Are you planning to release GCC 13 binaries with the patch and expecting it to be merged to GCC 14 or 15? Or are you going to release GCC 12.2.0 binaries with the patch backported and hoping it gets merged to GCC 13? |
got it. I'll add the option.
correct.
no, let's leave 12.2.0 as is. thanks for your thoughts! |
so, this means we will get |
@starg2 well, how should we deal with or we will use it for conditional use of |
Now win32 native threading is fully supported by upstream, I think we can simply remove (BTW I didn't expect the patch to be merged so quickly.) |
great, I will do it.
me too, but this is great news! |
done: 9e8a849 |
Hello! @here
I just successfully build the
gcc-trunk
using the patch[1] provided by Eric Botcazou for inclusion in GCC.the toolchain was configured as:
./build --mode=gcc-trunk --bootstrapall --jobs=4 --rev=0 --rt-version=v10 --threads=win32 --with-default-win32-winnt=0x0601 --exceptions=seh --arch=x86_64 --bin-compress --enable-languages=c,c++
please test and report any issues!
the archive: https://www.filemail.com/d/fkvheftgmwnhzou
sha256 sum: aa2c516a0c23a8888ab4de26ed201927db7c7cbea0683efb00d6576e81653777
VirusTotal report: https://www.virustotal.com/gui/file/aa2c516a0c23a8888ab4de26ed201927db7c7cbea0683efb00d6576e81653777?nocache=1
[1] https://gcc.gnu.org/pipermail/libstdc++/2022-October/054895.html
The text was updated successfully, but these errors were encountered: