Discussion:
GCC compilation fails while compiling gimple-match.cc
(too old to reply)
John Paul Adrian Glaubitz
2023-05-23 17:10:01 UTC
Permalink
Hi Stan!
Does anyone know whether the developers for the Debian m68k port have
run into an issue while compiling gcc (beginning around gcc-12), as
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109927
If you are not seeing any issues, then you might be using a set of
options or patches that could be useful for the Gentoo developers.
We don't have any specific patches but we're building our packages using
qemu-user and not qemu-system which is why we aren't running into memory
constraints that quickly.

For what is worth, you should use the "virt" flavor when running qemu-m68k
instead of the Quadra 800 flavor as this way you have more memory available.

Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
John Paul Adrian Glaubitz
2023-05-23 17:20:01 UTC
Permalink
Hello!
Post by John Paul Adrian Glaubitz
...
We don't have any specific patches but we're building our packages using
qemu-user and not qemu-system which is why we aren't running into memory
constraints that quickly.
For what is worth, you should use the "virt" flavor when running qemu-m68k
instead of the Quadra 800 flavor as this way you have more memory available.
...
Thanks, it's good to know it's not happening with qemu-user.
https://buildd.debian.org/status/fetch.php?pkg=gcc-13&arch=m68k&ver=13.1.0-3&stamp=1684690928&raw=0
I am using the virt m68k VM.
OK. The only other project that comes to my mind where you run into memory
exhaustion issue with qemu-system is the GHC Haskell compiler. Building it
on qemu-user works fine there, too.

Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Finn Thain
2023-05-24 01:00:01 UTC
Permalink
Post by John Paul Adrian Glaubitz
I am using the virt m68k VM.
OK. The only other project that comes to my mind where you run into
memory exhaustion issue with qemu-system is the GHC Haskell compiler.
Building it on qemu-user works fine there, too.
Were those Debian qemu-user builds ever attempted on a 32-bit host?
Loading...