Source: webkitgtk Version: 2.2.3-1 Severity: wishlist Tags: patch User: debian-powerpc...@breakpoint.cc Usertags: powerpcspe
Hi, webkitgtk currently FTBFS on powerpcspe like this: ... g++-4.7 -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -I../Source -I../Source/JavaScriptCore -I../Source/JavaScriptCore/API -I../Source/JavaScriptCore/ForwardingHeaders -I../Source/JavaScriptCore/assembler -I../Source/JavaScriptCore/bytecode -I../Source/JavaScriptCore/bytecompiler -I../Source/JavaScriptCore/debugger -I../Source/JavaScriptCore/dfg -I../Source/JavaScriptCore/disassembler -I../Source/JavaScriptCore/ftl -I../Source/JavaScriptCore/heap -I../Source/JavaScriptCore/interpreter -I../Source/JavaScriptCore/jit -I../Source/JavaScriptCore/llint -I../Source/JavaScriptCore/parser -I../Source/JavaScriptCore/profiler -I../Source/JavaScriptCore/runtime -I../Source/JavaScriptCore/tools -I../Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I ../Source/WTF -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wl,--as-needed -pthread -std=c++11 -Wno-c++11-compat -D_FORTIFY_SOURCE=2 -O2 -MT Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o -MD -MP -MF Source/JavaScriptCore/llint/.deps/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.Tpo -c -o Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o `test -f 'Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp' || echo '../'`Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp In file included from ../Source/JavaScriptCore/bytecode/ValueRecovery.h:31:0, from ../Source/JavaScriptCore/bytecode/CodeOrigin.h:31, from ../Source/JavaScriptCore/bytecode/CodeBlock.h:40, from ../Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:29: ../Source/JavaScriptCore/assembler/MacroAssembler.h:62:2: error: #error "The MacroAssembler is not supported on this platform." ... The attached patch fixes this by adding powerpcspe to the list of architectures where the assembler is disabled. Further, it adds powerpcspe to the list of architectures where -g is to be removed for resource fixup. With these changes, webkitgtk builds fine now on powerpcspe. Thanks in advance, Roland -- System Information: Debian Release: 7.0 APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: powerpcspe (ppc) Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -ruN test/webkitgtk-2.2.3/debian/rules webkitgtk-2.2.3/debian/rules --- test/webkitgtk-2.2.3/debian/rules 2013-12-05 10:49:11.000000000 +0100 +++ webkitgtk-2.2.3/debian/rules 2013-12-07 10:13:10.328290041 +0100 @@ -47,7 +47,7 @@ LDFLAGS += -Wl,--no-relax endif -ifneq (,$(filter $(DEB_BUILD_ARCH),sparc ia64 mips mipsel s390 s390x hurd-i386)) +ifneq (,$(filter $(DEB_BUILD_ARCH),sparc ia64 mips mipsel powerpcspe s390 s390x hurd-i386)) CFLAGS := $(CFLAGS:-g=) endif @@ -62,7 +62,7 @@ endif # See https://bugs.webkit.org/show_bug.cgi?id=113638 -ifneq (,$(filter $(DEB_BUILD_ARCH),alpha hppa ia64 powerpc ppc64 sparc sparc64 s390 s390x)) +ifneq (,$(filter $(DEB_BUILD_ARCH),alpha hppa ia64 powerpc powerpcspe ppc64 sparc sparc64 s390 s390x)) CPPFLAGS += -DENABLE_JIT=0 -DENABLE_YARR_JIT=0 -DENABLE_ASSEMBLER=0 endif