• Re: GCC compilation fails while compiling gimple-match.cc

    From John Paul Adrian Glaubitz@21:1/5 to Stan Johnson on Tue May 23 19:10:01 2023
    Hi Stan!

    On Tue, 2023-05-23 at 10:03 -0600, Stan Johnson wrote:
    Does anyone know whether the developers for the Debian m68k port have
    run into an issue while compiling gcc (beginning around gcc-12), as documented at this link:

    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.

    See this video by Laurent Vivier created the "virt" target for m68k:

    https://www.youtube.com/watch?v=s_ve0bCC9q4

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Stan Johnson on Tue May 23 19:20:01 2023
    Hello!

    On Tue, 2023-05-23 at 11:11 -0600, Stan Johnson wrote:
    On 5/23/23 11:05 AM, John Paul Adrian Glaubitz wrote:
    ...

    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.

    Here is the latest build log btw:

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Finn Thain@21:1/5 to John Paul Adrian Glaubitz on Wed May 24 03:00:01 2023
    On Tue, 23 May 2023, John Paul Adrian Glaubitz wrote:

    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)