Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-07-31 Thread Alexei Fedotov
8 1:12:52 PM > To: Thiago Macieira > Cc: development@qt-project.org > Subject: Re: [Development] Fwd: qrandom.cpp build problem: please advise > > Hi Thiago, > > You wrote, >> you need a full, absolute Windows path for the prefix. > > > I tried the following: > .

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-07-31 Thread Simon Hausmann
build problem: please advise Hi Thiago, You wrote, > you need a full, absolute Windows path for the prefix. I tried the following: ./configure -developer-build -debug -shared -platform win32-g++ -prefix D:/Qt/5.11/arm -device linux-beagleboard-g++ -device-option CROSS_COMPILE=/d/compilers/

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-07-31 Thread Alexei Fedotov
Hi Thiago, You wrote, > you need a full, absolute Windows path for the prefix. I tried the following: ./configure -developer-build -debug -shared -platform win32-g++ -prefix D:/Qt/5.11/arm -device linux-beagleboard-g++ -device-option CROSS_COMPILE=/d/compilers/gcc-linaro-6.4.1-2017.11-i686-mingw

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-13 Thread Thiago Macieira
On Tuesday, 13 March 2018 02:18:42 PDT Alexei Fedotov wrote: > The build finally passed for me after replacing perl with ActivePerl > and skipping "qtscript". I'm currently trying to figure out how > -prefix works for MSYS. It should be the same as everything else, provided you're using ActivePerl

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-13 Thread Alexei Fedotov
Thiago, thanks. The build finally passed for me after replacing perl with ActivePerl and skipping "qtscript". I'm currently trying to figure out how -prefix works for MSYS. -- Carry a towel http://dataved.ru/ +7 916 562 8095 [1] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/ [2]

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-06 Thread Thiago Macieira
On Tuesday, 6 March 2018 07:42:59 PST Alexei Fedotov wrote: > -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB [cut] > arch/qatomic_bootstrap.h -o .obj/header_qatomic_bootstrap.obj This is a header check of a file that shouldn't be header-checked. The header in question (qatomic_boots

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-06 Thread Alexei Fedotov
(I posted the error message one extra time) -- Carry a towel http://dataved.ru/ +7 916 562 8095 [1] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/ [2] Join Alexei Fedotov @facebook, http://www.facebook.com/openmeetings [3] Start using Apache Openmeetings today, http://openmeetin

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-06 Thread Alexei Fedotov
Thiago, here is a required info 1) the command line extracted from the log which reproduces the error, D:/compilers/gcc-linaro-7.1.1-2017.08-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neo

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-06 Thread Thiago Macieira
On Tuesday, 6 March 2018 07:04:52 PST Alexei Fedotov wrote: > Hi Edward, > After I learned that configure needs -recheck and cleaned the > workspace, I cannot build Qt that > far to check the fix. I get the problem with QAtomicOpsSupport with > the last branch and some other problems with different

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-06 Thread Alexei Fedotov
Hi Edward, After I learned that configure needs -recheck and cleaned the workspace, I cannot build Qt that far to check the fix. I get the problem with QAtomicOpsSupport with the last branch and some other problems with different branches "is not a class template template<> struct QAtomicOpsSupport

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-02 Thread Edward Welbourne
Thiago Macieira (27 February 2018 16:12) > Originally qrandom.cpp used getrandom(), which is in sys/random.h. Apparently > I forgot to remove the dependency when I switched to getentropy(). Alexei: please give https://codereview.qt-project.org/221913 a try, let me know if that (in place of the pre

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-02-27 Thread Thiago Macieira
On terça-feira, 27 de fevereiro de 2018 01:11:36 PST Edward Welbourne wrote: > Apparently it comes from - at least, that's > what the test seems to expect and its man-page claims. > > The author of this code may suggest some better solution, once > his USAish time-zone reaches its daytime, Origi

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-02-27 Thread Alexei Fedotov
Hi Edward, thanks for a quick solution! The patch worked for me (with -recheck-all). I defensively used long include instead of a short "random.h". -- Carry a towel http://dataved.ru/ +7 916 562 8095 [1] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/ [2] Join Alexei Fedotov @

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-02-27 Thread Edward Welbourne
Alexei Fedotov (27 February 2018 09:45) > ./configure sets getentropy in qtbase/src/corelib/qtcore-config_p.h to 1, So the config.tests/unix/getentropy/ test passed. > but I have no sys/random.h which that test neglects to #include, so this lack doesn't keep it from failing. See if https://coder

[Development] Fwd: qrandom.cpp build problem: please advise

2018-02-27 Thread Alexei Fedotov
Hi folks, qtbase/src/corelib/global/qrandom.cpp has the following code #if QT_CONFIG(getentropy) # include #elif !defined(Q_OS_BSD4) && !defined(Q_OS_WIN) # include "qdeadlinetimer.h" # include "qhashfunctions.h" # if QT_CONFIG(getauxval) #include # endif #endif // !QT_CONFIG(getentro