]> git.pld-linux.org Git - packages/qemu.git/commitdiff
- gcc 3.4 segfault for mips
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 5 Aug 2008 06:42:11 +0000 (06:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qemu-gcc-workaround.patch -> 1.1

qemu-gcc-workaround.patch [new file with mode: 0644]

diff --git a/qemu-gcc-workaround.patch b/qemu-gcc-workaround.patch
new file mode 100644 (file)
index 0000000..bc61abb
--- /dev/null
@@ -0,0 +1,27 @@
+--- Makefile.target    2008-08-05 08:38:17.991144535 +0200
++++ Makefile.target    2008-08-05 08:37:45.207818516 +0200
+@@ -71,6 +71,15 @@
+     TARGET_ARCH2=mips64el
+   endif
+ endif
++
++ifeq ($(TARGET_ARCH),mips)
++      GCC_WORKAROUND="-O0"
++endif
++ifeq ($(TARGET_ARCH),mips64)
++      GCC_WORKAROUND="-O0"
++endif
++
++
+ QEMU_USER=qemu-$(TARGET_ARCH2)
+ # system emulator name
+ ifdef CONFIG_SOFTMMU
+@@ -599,7 +608,7 @@
+       $(DYNGEN) -g -o $@ $<
+ op.o: op.c
+-      $(CC) $(OP_CFLAGS) $(CPPFLAGS) -c -o $@ $<
++      $(CC) $(OP_CFLAGS) $(CPPFLAGS) $(GCC_WORKAROUND) -c -o $@ $<
+ # HELPER_CFLAGS is used for all the code compiled with static register
+ # variables
This page took 0.182162 seconds and 4 git commands to generate.