Re: kde4libs vs qt4
On Mon, Jun 9, 2008 at 6:26 PM, Helge Deller <firstname.lastname@example.org> wrote:
> attached is a _completely_ untested patch which should
> show what's needed. In principle we could
> a) copy over the HPUX-parisc architecture files to arch/hppa and apply the
> patch on top of the copy (as you suggest above), or
> b) alternatively, we could try to merge HPUX's parisc and Linux's HPPA
> architecture into the existing Trolltech codebase of parisc.
> I'll continue to look into it and will try to clean it up, depending on what
> you think which solution (a or b) is best.
Unfortunately I think you're approach won't work due to the alignment
requirements placed on ldcw? It has to be 16-byte aligned according to
the architecture docs.
I was looking into the kde4libs issue, and I think the solution is to
copy atomic.h from glibc and use that interface.
This obviously only works when we have the linux kernel helper routines.
(better yet would be to put atomic.h into gcc, implement the atomic
builtins with that, and then propgate the use of the atomic builtins
to glibc and other software that needs it).