Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

34 views
Skip to first unread message

John Paul Adrian Glaubitz

unread,
May 23, 2023, 1:11:51 PM5/23/23
to
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

John Paul Adrian Glaubitz

unread,
May 23, 2023, 1:20:05 PM5/23/23
to
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.

Finn Thain

unread,
May 23, 2023, 9:00:03 PM5/23/23
to
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?
0 new messages