[csw-maintainers] WebKit port to Solaris 10

Peter FELECAN pfelecan at opencsw.org
Fri Sep 13 14:01:40 CEST 2013


Rafael Ostertag <raos at opencsw.org> writes:

> Hi Peter
> On Fri, Sep 13, 2013 at 09:56:20AM +0200, Peter FELECAN wrote:
>> Rafael Ostertag <raos at opencsw.org> writes:
>> 
>> > Hi Peter
>> >
>> > On Wed, Sep 11, 2013 at 05:02:21PM +0200, Peter FELECAN wrote:
>> >> FWIW, I ported WebKit to Solaris 10. All the gory details are in the
>> >> 21906 revision of the recipe tree
>> >> http://gar.svn.sourceforge.net/gar/?rev=21906&view=rev
>> >
>> > Out of couriosity, didn't you run into trouble due to missing
>> > atomicIncrement()/atomicDecrement() on sparc?
>> 
>> This?
>> 
>> #elif COMPILER(GCC) && !CPU(SPARC64) && !OS(SYMBIAN) // sizeof(_Atomic_word) != sizeof(int) on sparc64 gcc
>> #define WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED 1
>> 
>> inline int atomicIncrement(int volatile* addend) { return __gnu_cxx::__exchange_and_add(addend, 1) + 1; }
>> inline int atomicDecrement(int volatile* addend) { return __gnu_cxx::__exchange_and_add(addend, -1) - 1; }
>> 
>> in src/3rdparty/webkit/Source/JavaScriptCore/wtf/Atomics.h
>> 
>
> Yeah, that I meant. Ok, so you are aware of that and that patches would be available.

>> Please note that we deliver only 32 bit Qt
>>
>> However, the test is overzealous because gcc 4.8 supplies an
>> implementation for sparc v9. We'll see this when we deliver a 64 bit Qt.

Having read the above, about what patch are you thinking? Of course,
aside removing "&& !CPU(SPARC64)" when the time come. Frankly, for the
moment I would concentrate on delivering a complete Qt4 offering and
working on Qt5 as the next step.
-- 
Peter


More information about the maintainers mailing list