Re: Bug#651934: How to debug seed FTBFS on sparc?
On Sat, Mar 03, 2012 at 08:07:33AM +0000, Jurij Smakov wrote:
[...]
> Unfortunately, the build I tried last week failed with the following
> messages while compiling Source/WebCore/svg/SVGFilterElement.cpp:
>
> ../Source/JavaScriptCore/wtf/ListHashSet.h:192:70: warning: cast from 'char*' to 'WTF::ListHashSetNodeAllocator<WebCore::Element*, 64u>::Node* {aka WTF::ListHashSetNode<WebCore::Element*, 64u>*}' increases required alignment of target type [-Wcast-align]
> /tmp/ccJFyoyk.s: Assembler messages:
> /tmp/ccJFyoyk.s:107726: Error: unknown pseudo-op: `.ua'
> /tmp/ccJFyoyk.s:107726: Error: junk at end of line, first unrecognized character is `3'
> make[1]: *** [Source/WebCore/svg/libWebCore_la-SVGFilterElement.lo] Error 1
> make[1]: Leaving directory `/home/jurij/seed/webkit-1.6.3/build-3.0'
> make: *** [build-stamp] Error 2
>
> Last 500 lines of the logs are attached.
>
> I'll try again today with the latest toolchain to see whether this was
> some transient problem.
It built successfully this time! And after I installed the resulting
debs, seed built successfully too. The webkit patch I used is
attached.
Best regards,
--
Jurij Smakov jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
diff -aur a/Source/JavaScriptCore/wtf/Platform.h b/Source/JavaScriptCore/wtf/Platform.h
--- a/Source/JavaScriptCore/wtf/Platform.h 2012-02-25 11:10:13.000000000 +0000
+++ b/Source/JavaScriptCore/wtf/Platform.h 2012-02-25 11:26:17.992010602 +0000
@@ -295,7 +295,7 @@
#endif /* ARM */
-#if CPU(ARM) || CPU(MIPS) || CPU(SH4)
+#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC)
#define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
#endif
Reply to: