[csw-maintainers] WebKit port to Solaris 10

Rafael Ostertag raos at opencsw.org
Fri Sep 13 12:41:27 CEST 2013


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.

cheers
rafi


More information about the maintainers mailing list