Re: Bug#651934: How to debug seed FTBFS on sparc?

2012-03-04 Thread Jurij Smakov
On Sat, Mar 03, 2012 at 08:07:33AM +, 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::ListHashSetNodeAllocatorWebCore::Element*, 64u::Node* {aka 
 WTF::ListHashSetNodeWebCore::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   ju...@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.0 +
+++ b/Source/JavaScriptCore/wtf/Platform.h	2012-02-25 11:26:17.992010602 +
@@ -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
 


Re: Bug#651934: How to debug seed FTBFS on sparc?

2012-03-04 Thread peter green

reassign 651934 libjavascriptcoregtk-3.0-0 1.6.1-5
retitle 651934 unaligned access problems in libjavascriptcore on sparc 
leading to seed FTBFS

affects 651934 seed
tags 651934 patch
thanks

Jurij Smakov wrote:
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,
  

Thanks

Based on the evidence that
1: when we backtraced the crash it was an unaligned access in 
libjavascriptcore (part of webkit)
2: webkit has a specific define in it's code already for whether the CPU 
needs aligned access
3: the aforementioned define was not previously set on sparc even though 
sparc is known to require aligned accesses
4: when jurij rebuilt webkit with a patch to set the aforementioned 
define on sparc seed built successfully
5: the earliest version of webkit/javascriptcore with which I have 
reproduced the issue is 1.6.1-5


I am reassigning this to libjavascriptcoregtk-3.0-0 1.6.1-5, retitling 
it, marking it as affecting seed and replacing the help tag with a patch tag


Webkit maintainers can you please upload Jurij's patch.


--
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f533ea1.6000...@p10link.net



Re: Bug#651934: How to debug seed FTBFS on sparc?

2012-03-04 Thread Gustavo Noronha Silva
Hey,

On Sun, 2012-03-04 at 10:06 +, peter green wrote:
 1: when we backtraced the crash it was an unaligned access in 
 libjavascriptcore (part of webkit)
 2: webkit has a specific define in it's code already for whether the CPU 
 needs aligned access
 3: the aforementioned define was not previously set on sparc even though 
 sparc is known to require aligned accesses
 4: when jurij rebuilt webkit with a patch to set the aforementioned 
 define on sparc seed built successfully
 5: the earliest version of webkit/javascriptcore with which I have 
 reproduced the issue is 1.6.1-5

Thanks for your work and investigation, I'll upload a new package with
this fix later today and will also upstream the patch.

Cheers,

-- 
Gustavo Noronha Silva k...@debian.org
Debian


signature.asc
Description: This is a digitally signed message part


Re: Bug#651934: How to debug seed FTBFS on sparc?

2012-03-01 Thread peter green

Michael Biebl wrote:


Could you try building seed 3.2 against the same version of webkit as 
seed 3.0 was built?

I removed all webkit and javascriptcore packages and installed

http://snapshot.debian.org/archive/debian/20110505T052259Z/pool/main/w/webkitgtk%2B/libwebkitgtk-3.0-0_1.4.0-1_sparc.deb
http://snapshot.debian.org/archive/debian/20110502T205251Z/pool/main/w/webkitgtk%2B/libwebkitgtk-3.0-common_1.4.0-1_all.deb
http://snapshot.debian.org/archive/debian/20110505T052259Z/pool/main/w/webkitgtk%2B/libwebkitgtk-3.0-dev_1.4.0-1_sparc.deb
http://snapshot.debian.org/archive/debian/20101126T030215Z/pool/main/i/icu/libicu44_4.4.2-2_sparc.deb
http://snapshot.debian.org/archive/debian/20110709T030911Z/pool/main/libj/libjpeg6b/libjpeg62_6b1-2_sparc.deb

The first thing I ran into was that seed currently has a build-depends 
on libwebkitgtk-3.0-dev (= 1.5.2), I de-versioned that build-depends so 
I could continue with the test.


After doing so seed built successfully!

You can get those packages from snapshot.d.o [3].
This should help narrow down the problem.

I notice that libjavascriptcore didn't exist in that version of webkit.

IMO this result points the finger even more in webkit's direction (it 
was already looking that way)


I guess the next thing to do is to wait for jurij's results with his 
patched version of webkit. Jurij what is the status of that? (still 
waiting for webkit to build?).



--
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f4f2a52.1060...@p10link.net



Re: Bug#651934: How to debug seed FTBFS on sparc?

2012-02-29 Thread Michael Biebl

tags 651934 + help
thanks

Hi Peter,

Am 26.02.2012 03:19, schrieb peter green:


mmm, the webkit (webkit is the source package for libjavascriptcore)
build log has a huge number of cast alignment warnings :( worse the file
in which the error occoured is generated at webkit build time and is
therefore not available in the webkit source package. I don't have the
resources to build webkit on sparc in a reasonable time.

Since testing an unstable have different versions of both seed and
webkit. I decided the next thing to try was to build both testing's
version of seed and unstable's versions of seed in both testing and
unstable to try and narrow down which package caused the regression.
However all four combinations failed with a bus error so it seems this
regression happened before the version of webkit that is now in testing.


Could you try building seed 3.2 against the same version of webkit as 
seed 3.0 was built? According to [1], this should be 1.4.2-1 [2].


You can get those packages from snapshot.d.o [3].
This should help narrow down the problem.

Michael


[1] 
https://buildd.debian.org/status/fetch.php?pkg=seedarch=sparcver=3.0.0-2stamp=1310476647

[2]
Get:235 http://mirror-ubc.debian.org/debian/ unstable/main 
libwebkitgtk-3.0-common all 1.4.2-1 [782 kB]
Get:236 http://mirror-ubc.debian.org/debian/ unstable/main 
libwebkitgtk-3.0-0 sparc 1.4.2-1 [6312 kB]
Get:237 http://mirror-ubc.debian.org/debian/ unstable/main 
libwebkitgtk-3.0-dev sparc 1.4.2-1 [163 kB]

[3] http://snapshot.debian.org/package/webkitgtk%2B/1.4.0-1/
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


--
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f4e35cc.8000...@michaelbiebl.de