[csw-maintainers] WebKit port to Solaris 10
Rafael Ostertag
raos at opencsw.org
Fri Sep 13 15:13:02 CEST 2013
Hi Peter
On Fri, Sep 13, 2013 at 02:01:40PM +0200, Peter FELECAN wrote:
> 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.
OpenBSD ports provide a patch for said file on sparc64. Simply removing
!CPU(SPARC64) won't do the trick due to the fact of
sizeof(_Atomic_word) != sizeof(int)
Anyhow. I don't want to bother you anymore, since it's not important at the moment.
Just remember if the time comes, I might be of help ;)
cheers
rafi
> --
> Peter
> _______________________________________________
> maintainers mailing list
> maintainers at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/maintainers
> .:: This mailing list's archive is public. ::.
>
More information about the maintainers
mailing list