[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#699862: qt4-x11: FTBFS on x32: qatomic_generic.h doesn't work with QtDBus



On Fri, Feb 8, 2013 at 1:27 AM, Sune Vuorela <sune@debian.org> wrote:
> On Wednesday 06 February 2013 01:33:35 Daniel Schepler wrote:
>> The qt4-x11 source package is getting this build failure on the
>> unofficial x32 Debian port:
>
> Hi Daniel. Thanks for the work on this. I do have a few questions though.
>
> What's the Build key set to on x32?
> |$ strings /usr/lib/i386-linux-gnu/libQtCore.so | grep g++

frobozz:~# strings
/build/buildd/sid/usr/lib/x86_64-linux-gnux32/libQtCore.so.4.8.2 |
grep g++
x32 linux g++-4 full-config
Build key:           x32 linux g++-4 full-config
Compat build key:    | x32 Linux g++-4 full-config |
x32 Linux g++-4 full-config

>> I'm attaching a debdiff of the changes I used to port Qt (with the
>> Debian changes) to x32.  (See also
>> <URL:https://sites.google.com/site/x32abi/x32-patches/Qt4_x32_config.patch?
>> attredirects=0&d=1> for a version of the patch meant for unpatched Qt.)
>
> For some reason it seems to be using the i386 assembly code for atomics in
> that patch. Shouldn't it be using the x86_64 assembly code?

The only difference between qatomic_i386.h and qatomic_x86_64.h is in
the size of registers they use; and qatomic_i386.h uses the right size
to match the size of pointers on x32.
-- 
Daniel Schepler


Reply to: