All of lore.kernel.org
 help / color / mirror / Atom feed
From: walt <w41ter@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] git commit c832e3de chokes gcc-4.5.2 (out of memory error)
Date: Fri, 18 Mar 2011 15:31:28 -0700	[thread overview]
Message-ID: <im0mg6$8qm$1@dough.gmane.org> (raw)

Hi qemu team,

The following commit has a strange side-effect on gcc-4.5.2:

commit c832e3de64f1069313fc0672087791cc3dd5b4d8
Author: Richard Henderson
Date:   Mon Jan 10 19:23:47 2011 -0800

     target-i386: Use deposit operation.
     
     Use this for assignment to the low byte or low word of a register.
     
     Acked-by: Aurelien Jarno
     Signed-off-by: Richard Henderson
     Signed-off-by: Edgar E. Iglesias


The new code in 'target-i386/translate.c' compiles just fine with gcc-4.4.4,
using less than 1GB of RAM, but gcc-4.5.2 uses the whole GB and then fills
up 2GB of swap space in addition while the machine grinds slowly to a halt.

I'm using the latest qemu.git, and when I revert that one commit, gcc-4.5.2
chugs along just fine with my puny 1GB of RAM.

I filed a bug against gcc-4.5.2 a few hours ago, but I notice that another
ten or fifteen bugs were filed *after* mine, so I don't have much hope that
anyone will pay much attention :(

I'm hoping someone here might know how to find the source of the problem
so I can add some helpful details to my bug report.

Thanks for any suggestions, and thanks for qemu :)

             reply	other threads:[~2011-03-18 22:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 22:31 walt [this message]
2011-03-18 22:44 ` [Qemu-devel] git commit c832e3de chokes gcc-4.5.2 (out of memory error) Peter Maydell
2011-03-19 16:06   ` [Qemu-devel] " walt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='im0mg6$8qm$1@dough.gmane.org' \
    --to=w41ter@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.