Skip to contentSkip to conversation

[5911] Remove gcc 3.4 check

Qemu-devel Aurelien Jarno 5 participants 9 messages Dec 7, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

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

Modified Paths:
--------------
trunk/Makefile.target
trunk/configure

Modified: trunk/Makefile.target
===================================================================

Makefile.target +0 -6
@@ -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
===================================================================

configure +0 -60

102 lines not on this page · raw message

#2 lore raw
Quoted 10 lines · Anthony Liguori
Quoted 9 lines · Aurelien Jarno

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

Quoted 7 lines
Quoted 2 lines

I owe you a beer :-)

Are you going to remove dyngen?

That's my plan, but before actually removing it from the SVN, I would prefer that others agree with this way to go.

Aurelien

Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net
#3 lore raw
Quoted 14 lines · Aurelien Jarno
Quoted 13 lines · Anthony Liguori
Quoted 11 lines · Aurelien Jarno

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

Quoted 7 lines
Quoted 4 lines

I owe you a beer :-)

Are you going to remove dyngen?

That's my plan, but before actually removing it from the SVN, I would prefer that others agree with this way to go.

Dyngen can go. It's in SVN history if someone needs to resurrect it.

#4 lore raw
In reply to Aurelien Jarno
Quoted 11 lines · Aurelien Jarno
Quoted 10 lines · Anthony Liguori
Quoted 9 lines · Aurelien Jarno

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

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

I owe you a beer :-)

Are you going to remove dyngen?

Aurelien, you've done an amazing job with the TCG conversion. I also whish I could share a beer you but ATM I cannot, so I'll just have one myself :)

Cheers

#5 lore raw
In reply to Aurelien Jarno

Aurélien,

Am 07.12.2008 um 14:40 schrieb Aurelien Jarno:

Quoted 11 lines

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

Thanks for your work and guidance on this!

ppc-softmmu now compiles on Mac OS X v10.5 ppc.
It does not yet on i386 though, because dyngen(.c) is still compiled. The attached patch removes dyngen from the Makefile and finally allows it to compile on OSX/i386. Not sure if that breaks any other target though.

Andreas

Makefile +0 -7
index 76470a4..3b3a01b 100644
@@ -36,9 +36,6 @@ all: $(TOOLS) $(DOCS) recurse-all
 
 SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))
 
-subdir-%: dyngen$(EXESUF)
-	$(MAKE) -C $(subst subdir-,,$@) all
-
 $(filter %-softmmu,$(SUBDIR_RULES)): libqemu_common.a
 $(filter %-user,$(SUBDIR_RULES)): libqemu_user.a
 
@@ -195,10 +192,6 @@ qemu-img$(EXESUF): qemu-img.o qemu-tool.o osdep.o $(BLOCK_OBJS)
 qemu-nbd$(EXESUF):  qemu-nbd.o qemu-tool.o osdep.o $(BLOCK_OBJS)
 	$(CC) $(LDFLAGS) -o $@ $^ -lz $(LIBS)
 
-# dyngen host tool
-dyngen$(EXESUF): dyngen.c
-	$(HOST_CC) $(CFLAGS) $(CPPFLAGS) -o $@ $^
-
 clean:
 # avoid old build problems by removing potentially incorrect old files
 	rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h
#6 lore raw
Quoted 16 lines · Andreas Färber

Aurélien,

Am 07.12.2008 um 14:40 schrieb Aurelien Jarno:

Quoted 11 lines

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

Quoted 8 lines

Thanks for your work and guidance on this!

ppc-softmmu now compiles on Mac OS X v10.5 ppc.
It does not yet on i386 though, because dyngen(.c) is still compiled. The attached patch removes dyngen from the Makefile and finally allows it to compile on OSX/i386. Not sure if that breaks any other target though.

It breaks all the target in the sense the subdirs are not build anymore. Please wait I am already working on dyngen remocal.

Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net
#7 lore raw

Am 07.12.2008 um 16:19 schrieb Aurélien Jarno:

Quoted 19 lines · Andreas Färber
Quoted 18 lines

Aurélien,

Am 07.12.2008 um 14:40 schrieb Aurelien Jarno:

Quoted 11 lines

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

Thanks for your work and guidance on this!

Quoted 8 lines
Quoted 6 lines

ppc-softmmu now compiles on Mac OS X v10.5 ppc.
It does not yet on i386 though, because dyngen(.c) is still compiled. The attached patch removes dyngen from the Makefile and finally allows it to compile on OSX/i386. Not sure if that breaks any other target though.

It breaks all the target in the sense the subdirs are not build anymore.

Oops! Was too quick.

I still think we should leave dyngen[.dSYM] in the clean target, so that it gets removed for anyone who had previously built it.

Andreas

#8 lore raw
Quoted 30 lines · Andreas Färber

Am 07.12.2008 um 16:19 schrieb Aurélien Jarno:

Quoted 27 lines · Andreas Färber
Quoted 25 lines

Aurélien,

Am 07.12.2008 um 14:40 schrieb Aurelien Jarno:

Quoted 11 lines

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

Thanks for your work and guidance on this!

ppc-softmmu now compiles on Mac OS X v10.5 ppc.
It does not yet on i386 though, because dyngen(.c) is still compiled. The attached patch removes dyngen from the Makefile and finally allows
it to compile on OSX/i386. Not sure if that breaks any other target though.

Quoted 8 lines
Quoted 2 lines

It breaks all the target in the sense the subdirs are not build anymore.

Oops! Was too quick.

I still think we should leave dyngen[.dSYM] in the clean target, so that it gets removed for anyone who had previously built it.

This only concerns people building qemu from SVN, I think they can remove it by hand.

Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net