[Gammaray-interest] 32bit on 64bit system

hg at technosis.de hg at technosis.de
Wed Apr 23 09:31:05 CEST 2014



Am 23.04.2014 08:49, schrieb Peter Kümmel:
> On 22.04.2014 23:30, hg at technosis.de wrote:
>> Hi,
>>   thanks for your response. I did already play with
>> cmake/GammaRayProbeABI.cmake
>>
>> CMAKE_SYSTEM_PROCESSOR always contains x86_64
>> and even if I hardcode GAMMARAY_PROBE_ABI to "qt5.2-
>> i686" it still assumes a 64bit compile including 64bit Dlls from
>> /usr/lib64/ ...
> 
> And what Qt version did cmake find for _building_ gammaray?
> Does it also use x86_64 even if build with i686?
> Have you changed PATH so qmake is the one from qt5.2-i686?
> 
> Peter

the qmake in path is the one from the 32bit version. All Qt-references
in build/CMakeCach.txt are pointing to the 32bit version.

The final build error I get is:

/usr/local/Qt/5.2.1/lib/libQt5Core.so.5.2.1: could not read symbols:
File in wrong format

So the 32bit Version of Qt is linked, everything else seems to be 64bit.

What is the correct way to define such a build? Maybe I'm missing a
setting. What I do is downloading your gammaray2.0.2,
create a build subdir and there execute a bash script:

export QTDIR=/usr/local/Qt/5.2.1
export QMAKESPEC=/usr/local/Qt/5.2.1/mkspecs/linux-g++-32
export PATH=/usr/local/Qt/5.2.1/bin:$PATH
cmake ..
make


Regards
Heiko

> 
> _______________________________________________
> Gammaray-interest mailing list
> Gammaray-interest at mail.kdab.com
> https://mail.kdab.com/mailman/listinfo/gammaray-interest
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5936 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.kdab.com/pipermail/gammaray-interest/attachments/20140423/c433786a/attachment.bin>


More information about the Gammaray-interest mailing list