Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fmulh-0002wJ-Or for qemu-devel@nongnu.org; Sun, 04 Jun 2006 11:43:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fmulg-0002u7-25 for qemu-devel@nongnu.org; Sun, 04 Jun 2006 11:43:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fmulf-0002u0-Pc for qemu-devel@nongnu.org; Sun, 04 Jun 2006 11:43:55 -0400 Received: from [66.139.79.212] (helo=tapir.sajinet.com.pe) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fmusc-0003eT-Cz for qemu-devel@nongnu.org; Sun, 04 Jun 2006 11:51:06 -0400 Date: Sun, 4 Jun 2006 11:02:28 -0500 From: Carlo Marcelo Arenas Belon Subject: Re: [Qemu-devel] yet another proposed solution for gcc 4.x Message-ID: <20060604160228.GA26124@tapir.sajinet.com.pe> References: <20060604085935.GB24853@tapir.sajinet.com.pe> <200606041246.07373.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606041246.07373.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org > Why bother? As you say gcc4 has issues other than just op.c, so why not just > compile everything with the old gcc? using the new gcc for the parts that can compile with it, could lead to better performance in some cases, as well to help clean up the code for conformance to newer standards and overall maintainability, while making also clear that there are at least 2 different uses for gcc. 1) to compile the code for qemu to generate working binaries 2) to generate the code to be used for opcode translation this will free us to work in whatever technical solutions are needed to fix 2) in our own schedule without the pressure from all the people that now feel compelled to "port" qemu to a newer gcc, because it is now the default on their corresponding distributions. the long term solution for 2) will be to get the qemu hand written code generator completed, but could also include having an in tree version of gcc that can be used for that simple purpose (like a dependant library/tool) or a reference to an external one as a dependency, and as an intermediate step. Carlo PS. eventhough it wasn't the cleanest build, gcc-4.1.1 when used to build everything but op.c resulted in working binaries on my gentoo 2006.0 amd64 system.