From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ3mZ-000426-3Z for qemu-devel@nongnu.org; Fri, 22 Mar 2013 11:21:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJ3mW-00045U-Ug for qemu-devel@nongnu.org; Fri, 22 Mar 2013 11:21:26 -0400 Received: from 2.v.freedaemon.com ([2607:f2f8:1800::3]:23659 helo=mx0.freedaemonhosting.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ3mW-00044l-OF for qemu-devel@nongnu.org; Fri, 22 Mar 2013 11:21:24 -0400 Date: Fri, 22 Mar 2013 10:19:18 -0500 From: qemu-devel@email.fries.net Message-ID: <20130322151918.GA6921@fries.net> References: <20130315192120.GF26815@fries.net> <514429E5.2010003@redhat.com> <20130321075334.GA17306@fries.net> <514AC40F.6070106@redhat.com> <20130322070854.GA5696@fries.net> <20130322073014.GA66600@cs.nctu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20130322073014.GA66600@cs.nctu.edu.tw> Subject: Re: [Qemu-devel] large memory requirements for translate.c a barrier Reply-To: todd@fries.net List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "????????? (Wei-Ren Chen)" Cc: Paolo Bonzini , qemu-devel@nongnu.org Penned by ????????? (Wei-Ren Chen) on 20130322 2:30.14, we have: | > Still no joy: | >=20 | > PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COM= MAND | > 21212 todd -5 20 1142M 118M sleep/0 - 1:03 37.30% cc1 | >=20 | > cc -I. -I/home/todd/git/sw/3rdParty/qemu -I/home/todd/git/sw/3rdParty/q= emu/include -I/home/todd/git/sw/3rdParty/qemu/tcg -I/home/todd/git/sw/3rdPa= rty/qemu/tcg/i386 -fPIE -DPIE -m32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 = -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Ww= rite-strings -Wmissing-prototypes -fno-strict-aliasing -I/usr/local/include= -I/usr/X11R6/include -Wno-redundant-decls -DTIME_MAX=3DINT_MAX -fno-gcse -= fno-var-tracking -fstack-protector-all -Wendif-labels -Wmissing-include-di= rs -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wold-style-= definition -I/usr/local/include/libpng -I/usr/X11R6/include/pixman-1 -DHAS= _AUDIO -DHAS_AUDIO_CHOICE -I/home/todd/git/sw/3rdParty/qemu/target-i386 -I= target-i386 -I.. -I/home/todd/git/sw/3rdParty/qemu/target-i386 -DNEED_CPU_H= -I/home/todd/git/sw/3rdParty/qemu/include -pthread -I/usr/local/include/gl= ib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MMD -MP -MT = target-i386/kvm-stub.o -MF target-i386/kvm-stub.d -O2 -D_FORTIFY_SOURCE=3D2= -g -c -o target-i386/kvm-stub.o /home/todd/git/sw/3rdParty/qemu/target-i3= 86/kvm-stub.c |=20 | Is it possible to update your GCC, or try to use clang? OpenBSD is using the latest gcc that is not GPLv3 for license reasons for t= he base os. In ports there are newer versions of gcc for programs that require it to bu= ild, and clang is available also. It doesn't make sense to switch compilers because this does build, so I will either find time to take a stab at moving things out of translate.c or deal with the excessive memory this file takes to build per softmmu target before I try using a compiler that is not what any other OpenBSD user is going to be running qemu with. Thanks, --=20 Todd Fries .. todd@fries.net ____________________________________________ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | PO Box 16169, Oklahoma City, OK 73113 \ sip:freedaemon@ekiga.net | "..in support of free software solutions." \ sip:4052279094@ekiga.net \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ =20 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt