[Development] Build issue with configure -developer-build for qtbase?
Carl Schumann
schumann at fnal.gov
Tue May 15 19:03:30 CEST 2012
An update ...
This build error was on our production 32 bit systems. We are just
know in the process of transitioning to 64 bit systems. (We have a lot
of legacy and limited downtime opportunities to make big changes. We
are also a little short on staff.)
I extracted this build issue into a simple test file, main.cpp, which is
attached. I then tried to reproduce the build error on on both
systems. These results are also attached. Bottom line the build issue
is present only on 32 bit system.
I am guessing you all have transitioned to 64 bits for your build
system, etc. What is your policy statement on 32 bit systems? Try
not break them? They deserve to get broken? ??? For me I will
probably just transition my work to 64 bits even if our legacy stays 32
bits for a while longer.
Sincerely,
Carl
On 5/15/2012 10:04 AM, Carl Schumann wrote:
> Qt Developers,
>
> For qtbase when I do a configure -developer-build; gmake on my Linux
> system I get a build error:
>> cd qtendian/ && gmake -f Makefile
>> /scratch/schumann/gerrit3/qtbase/tests/auto/corelib/global/qtendian
> ------Omitting successful compiles.------
>> g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIE -DQT_NO_LIBUDEV
>> -DQT_NO_EVDEV -DQT_NO_XCB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
>> -DQT_TESTLIB_LIB
>> -DQT_TESTCASE_BUILDDIR=\"/scratch/schumann/gerrit3/qtbase/tests/auto/corelib/global/qtendian\"
>> -DQT_CORE_LIB -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3
>> -DQT_SHARED -I../../../../../mkspecs/linux-g++ -I.
>> -I../../../../../include/QtCore -I../../../../../include/QtTest
>> -I../../../../../include -I.moc/debug-shared -o
>> .obj/debug-shared/tst_qtendian.o tst_qtendian.cpp
>> tst_qtendian.cpp:75: error: integer constant is too large for 'long'
>> type
> The content of
> /scratch/schumann/gerrit3/qtbase/tests/auto/corelib/global/qtendian/tst_qtendian.cpp:75
> is:
>> static const TestData inNativeEndian = { 0x0123456789abcdef,
>> 0x00c0ffee, 0xcafe, 0xcf, '\0' };
>
> TestData's first member is a quint64. Based on
>> /scratch/schumann/gerrit3/qtbase/src/corelib/global/qglobal.h:203:typedef
>> unsigned long long quint64; /* 64 bit unsigned */
> and quint64's name I would expect it to be a 64-bit integer.
> Apparently, it is merely a long some how in my environment.
>
> Any ideas please? Thanks as always for any help.
>
> Sincerely,
> Carl Schumann
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: on_64_bit_system.txt
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120515/29301d02/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: main.cpp
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120515/29301d02/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: on_32_bit_system.txt
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120515/29301d02/attachment-0001.txt>
More information about the Development
mailing list