-
Notifications
You must be signed in to change notification settings - Fork 231
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
Unsolved issues: a call for assistance #58
Comments
Could the GCC issue possibly be related to the following commit? Edit: on second look, this is apparently affecting both the "driver and compiler proper", so I think it would affect more than just cc1.exe if it did cause a problem |
Great find, @Peter0x44! That's the issue! I assumed the driver was simply
propagating the error from the compiler, but yes, my description imprecise
and it affects both. I'll disable the manifest in the i686 flavor.
With this blocker resolved, I'll have a new w64devkit release very soon.
|
Great! Glad I could help |
The manifest is incompatible with Windows XP and prevents GCC's executables from starting on that platform.
Yeah, this seems like an issue they'd be interesting in hearing. I don't
see anything on the GCC website or in its documentation listing supported
versions of Windows, e.g. that would exclude Windows XP. They punt on this
to Cygwin, MinGW, and mingw-w64.
|
Came here to express my most sincere condolences about the loss of the RPi build. :-/ |
For the second problem (which I can reproduce), you might want to try ECT instead?
|
Now that the 7z sfx is being used, I guess there is nothing really actionable left in this issue, and it can be closed. For building on systems with less memory, maybe the solution is to just use less processes (the docker file has The one thing I'd note is that: w64devkit/src/variant-x86.patch Line 15 in 21177fb
Can be replaced with --disable-win32-utf8-manifest on the configure line. This won't have a functional change, but I figure it is still better to go through the "official" way of disabling this. The upstream windows XP issue is here: |
The UTF-8 manifest was added in GCC 13 but the configure switch was not added until GCC 14 (https://gcc.gnu.org/PR111170). Better to use the swtich rather than the original hack. Thanks to Peter0x44 for pointing this out (#58).
Done (4176ece), thanks! My hack was necessary for GCC 13, but I didn't know about this new switch in GCC 14. |
That does work, or at least it did last time I tried. I had to go down to single core builds, and building a full release would take several days. Inconvenient enough to be "infeasible" for me! I expect soon enough it won't be possible to link GCC on 32-bit hosts, so even this work around won't help. That's already been the case with LLVM for some years. |
Recent GCC and GDB updates have led to issues that currently have no solutions. I'm also stumped and have run out of avenues to search.
GCC 13.1 does not work on Windows XP(SOLVED)As of 7256915, GCC no longer runs on Windows XP. Every other program works, just not
cc1.exe
. When attempting to run this program, (x86) Windows XP reports "The system cannot execute the specified program." with no further details. The same binary works fine on Windows 7 and later. To build your own test:advzip-compressed GDB 13.1 cannot be decompressed on x64 Windows
The problems began with fdac8e3. I normally
advzip -z4
releases to shave about 5% off their size, but after I do this x64 Windows fails to decompressgdb.exe
with error0x80004005
. No further information is provided by Windows. It still works on x86 Windows, and so I believe this is an old x64 Windows bug. It dates back at least as far as Windows 7. Until this is solved releases will be a few MiB larger.More details, including a reduced sample file (
advzip.sample
) in 2cf762a. To reproduce: Placeadvzip.sample
in a zip file,advzip -z4
that file, then try to decompress using x64 Windows's built-in ZIP support.It is not feasible to compile GCC 13.1 on a Raspberry Pi 4
As of 13.1, GCC has become so large and complex that it runs out of memory during the bootstrap. So far I've built all the releases on this Raspi4. Not a big deal, but it is sad.
The text was updated successfully, but these errors were encountered: