Trac: Description: We switched to mingw-w64-clang for the Firefox project and should not clean up the mingw-w64 as it still contains cruft related to our spec hack etc.
to
We switched to mingw-w64-clang for the Firefox project and should now clean up the mingw-w64 as it still contains cruft related to our spec hack etc.
The pthread situation is a bit unfortunate. However, I think we can fix that by moving the tor compilation (and it's dependencies) to mingw-w64-clang. If we don't find a better solution than I have in my patch then I'll file a ticket about that so we don't forget and make the mingw-w64-clang transition blocking it.
Trac: Keywords: TorBrowserTeam201909 deleted, TorBrowserTeam201909R added Status: new to needs_review
The patch looks good to me. I merged it to master with commit 17c61f4b647f0e0bf759d78ad49520770914524e.
The pthread situation is a bit unfortunate. However, I think we can fix that by moving the tor compilation (and it's dependencies) to mingw-w64-clang. If we don't find a better solution than I have in my patch then I'll file a ticket about that so we don't forget and make the mingw-w64-clang transition blocking it.
Yes, it doesn't look like it is possible to disable pthread without rebuilding gcc. I'm leaving this ticket open until the ticket to switch tor to mingw-w64-clang is created.
Note, we might bump the GCC version to something supported while we are at it.
What prevents you to bump GCC to 9.2 everywhere?
The pthread situation is a bit unfortunate.
It doesn't seem that Rust depends on winpthread: https://github.com/rust-lang/rust/issues/13501
Have you changed --enable-threads=posix to --enable-threads=win32?
Also you can remove old --with-gnu-ld --with-gnu-as.
LDFLAGS_FOR_TARGET does not work for some reason. Thus, we take
CFLAGS_FOR_TARGET.
It didn't work, because linker didn't want to eat -specs. Try now.
Also where are --no-seh, --large-address-aware for x86 and --high-entropy-va, --image-base for x64?
libmpc-dev
What about bumping GMP, MPFR, MPC with GCC?
--enable-sdk=all --enable-secure-api
They are no longer needed (set by default).
Trac: Resolution: fixed toN/A Status: closed to reopened
Thanks for the suggestions. It seems there are at least two further tickets to file for your suggestions. (Bump GCC to 9.2 everywhere and clean the mingw-w64 project further up=). Could you do so? Thanks! I think we are done here, though, for the moment.
Trac: Resolution: N/Ato fixed Status: reopened to closed