From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9JsG-0006jG-QY for qemu-devel@nongnu.org; Sun, 07 Dec 2008 08:40:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9JsG-0006im-70 for qemu-devel@nongnu.org; Sun, 07 Dec 2008 08:40:40 -0500 Received: from [199.232.76.173] (port=46996 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9JsG-0006ih-0f for qemu-devel@nongnu.org; Sun, 07 Dec 2008 08:40:40 -0500 Received: from savannah.gnu.org ([199.232.41.3]:41986 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L9JsF-0001Nq-PK for qemu-devel@nongnu.org; Sun, 07 Dec 2008 08:40:39 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L9JsF-0007e8-4R for qemu-devel@nongnu.org; Sun, 07 Dec 2008 13:40:39 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L9JsE-0007e4-NU for qemu-devel@nongnu.org; Sun, 07 Dec 2008 13:40:38 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Sun, 07 Dec 2008 13:40:38 +0000 Subject: [Qemu-devel] [5911] Remove gcc 3.4 check Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5911 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5911 Author: aurel32 Date: 2008-12-07 13:40:38 +0000 (Sun, 07 Dec 2008) Log Message: ----------- Remove gcc 3.4 check Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/Makefile.target trunk/configure Modified: trunk/Makefile.target =================================================================== --- trunk/Makefile.target 2008-12-07 13:40:29 UTC (rev 5910) +++ trunk/Makefile.target 2008-12-07 13:40:38 UTC (rev 5911) @@ -97,13 +97,7 @@ ifeq ($(ARCH),i386) HELPER_CFLAGS+=-fomit-frame-pointer OP_CFLAGS+=-mpreferred-stack-boundary=2 -fomit-frame-pointer -# op.c and helper.c need this on 32-bit x86 system to avoid -# a compiler spill error. This can probably go away -# once the SSE ops have been converted to TCG -ifeq ($(HAVE_GT_GCC_3_3), true) -I386_CFLAGS=-march=i586 -mtune=i686 endif -endif ifeq ($(ARCH),ppc) CPPFLAGS+= -D__powerpc__ Modified: trunk/configure =================================================================== --- trunk/configure 2008-12-07 13:40:29 UTC (rev 5910) +++ trunk/configure 2008-12-07 13:40:38 UTC (rev 5911) @@ -26,8 +26,6 @@ static="no" cross_prefix="" cc="gcc" -gcc3_search="yes" -gcc3_list="gcc-3.4.6 gcc-3.4 gcc34 gcc-3.3.6 gcc-3.3 gcc33 gcc-3.2 gcc32" audio_drv_list="" audio_card_list="" host_cc="gcc" @@ -106,7 +104,6 @@ profiler="no" cocoa="no" check_gfx="yes" -check_gcc="yes" softmmu="yes" linux_user="no" darwin_user="no" @@ -273,7 +270,6 @@ --cross-prefix=*) cross_prefix="$optarg" ;; --cc=*) cc="$optarg" - gcc3_search="no" ;; --host-cc=*) host_cc="$optarg" ;; @@ -332,8 +328,6 @@ ;; --disable-gfx-check) check_gfx="no" ;; - --disable-gcc-check) check_gcc="no" - ;; --disable-system) softmmu="no" ;; --enable-system) softmmu="yes" @@ -542,40 +536,6 @@ AIOLIBS="-lrt -lpthread" fi -# Check for gcc4, error if pre-gcc4 -if test "$check_gcc" = "yes" ; then - cat > $TMPC < /dev/null ; then - echo "WARNING: \"$cc\" looks like gcc 4.x" - found_compat_cc="no" - if test "$gcc3_search" = "yes" ; then - echo "Looking for gcc 3.x" - for compat_cc in $gcc3_list ; do - if "$cross_prefix$compat_cc" --version 2> /dev/null | fgrep '(GCC) 3.' > /dev/null 2>&1 ; then - echo "Found \"$compat_cc\"" - cc="$cross_prefix$compat_cc" - found_compat_cc="yes" - break - fi - done - if test "$found_compat_cc" = "no" ; then - echo "gcc 3.x not found!" - fi - fi - if test "$found_compat_cc" = "no" ; then - echo "QEMU is known to have problems when compiled with gcc 4.x" - echo "It is recommended that you use gcc 3.x to build QEMU" - echo "To use this compiler anyway, configure with --disable-gcc-check" - exit 1; - fi - fi -fi - if test ! -x "$(which cgcc 2>/dev/null)"; then sparse="no" fi @@ -584,19 +544,6 @@ # Solaris specific configure tool chain decisions # if test "$solaris" = "yes" ; then - # - # gcc for solaris 10/fcs in /usr/sfw/bin doesn't compile qemu correctly - # override the check with --disable-gcc-check - # - if test "$solarisrev" -eq 10 -a "$check_gcc" = "yes" ; then - solgcc=`which $cc` - if test "$solgcc" = "/usr/sfw/bin/gcc" ; then - echo "Solaris 10/FCS gcc in /usr/sfw/bin will not compiled qemu correctly." - echo "please get gcc-3.4.3 or later, from www.blastwave.org using pkg-get -i gcc3" - echo "or get the latest patch from SunSolve for gcc" - exit 1 - fi - fi solinst=`which $install 2> /dev/null | /usr/bin/grep -v "no $install in"` if test -z "$solinst" ; then echo "Solaris install program not found. Use --install=/usr/ucb/install or" @@ -1536,13 +1483,6 @@ echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak echo "#define CONFIG_KVM 1" >> $config_h fi - gcc3minver=`$cc --version 2> /dev/null| fgrep "(GCC) 3." | awk '{ print $3 }' | cut -f2 -d.` - if test -n "$gcc3minver" && test $gcc3minver -gt 3 - then - echo "HAVE_GT_GCC_3_3=true" >> $config_mak - else - echo "HAVE_GT_GCC_3_3=false" >> $config_mak - fi ;; x86_64) echo "TARGET_ARCH=x86_64" >> $config_mak