<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Configuration tests failed to determine host architecture]]></title><description><![CDATA[[[topic:post-is-deleted]]]]></description><link>https://forum.qt.io/topic/117198/configuration-tests-failed-to-determine-host-architecture</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 07:48:52 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/117198.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Jul 2020 22:32:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Fri, 24 Jul 2020 16:33:38 GMT]]></title><description><![CDATA[<p dir="auto">So we have a patch to change the QMAKE_CFLAGS_OPTIMIZE and QMAKE_CFLAGS_OPTIMIZE_FULL flags based on the product we are building it for.<br />
I am passing in a value using 'device-option' to the configure script in qtbase. However, for some reason, that value is not getting passed to qtbase/mkspecs/common/gcc-base.conf</p>
]]></description><link>https://forum.qt.io/post/608616</link><guid isPermaLink="true">https://forum.qt.io/post/608616</guid><dc:creator><![CDATA[Dharmik.Mehta]]></dc:creator><pubDate>Fri, 24 Jul 2020 16:33:38 GMT</pubDate></item><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Thu, 23 Jul 2020 22:22:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> said in <a href="/post/608494">Configuration tests failed to determine host architecture</a>:</p>
<blockquote>
<p dir="auto">Can you try a standard configure run with the defaults ?</p>
</blockquote>
<p dir="auto">When I run configure on my host machine without cross compiling, the tests are successful.</p>
<p dir="auto">No, I am planning on building just the qtbase.</p>
]]></description><link>https://forum.qt.io/post/608499</link><guid isPermaLink="true">https://forum.qt.io/post/608499</guid><dc:creator><![CDATA[Dharmik.Mehta]]></dc:creator><pubDate>Thu, 23 Jul 2020 22:22:02 GMT</pubDate></item><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Thu, 23 Jul 2020 20:37:44 GMT]]></title><description><![CDATA[<p dir="auto">Can you try a standard configure run with the defaults ?</p>
<p dir="auto">Out of curiosity, with all the skip options you are adding, are you building anything else than qtbase ?</p>
]]></description><link>https://forum.qt.io/post/608494</link><guid isPermaLink="true">https://forum.qt.io/post/608494</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 23 Jul 2020 20:37:44 GMT</pubDate></item><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Thu, 23 Jul 2020 20:30:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a><br />
5.15.0/qt-everywhere-src-5.15.0/qtbase/configure -top-level -prefix /mnt/drivers -device-option PLATFORM_DIR=5.15.0/platform -static -no-use-gold-linker -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-avx2 -no-mips_dsp -no-mips_dspr2 -no-linuxfb -no-xcb -system-sqlite -no-sql-db2 -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite2 -no-sql-tds -no-sql-ibase -no-kms -no-reduce-relocations -no-cups -no-iconv -no-dbus -no-glib -no-widgets -opengl es2 -nomake tools -nomake examples -nomake tests -skip qtactiveqt -skip qtandroidextras -skip qtconnectivity -skip qtdoc -skip qtlocation -skip qtmacextras -skip qtscript -skip qtsensors -skip qtserialport -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -openssl -no-gtk -skip qtmultimedia -no-feature-clipboard -no-feature-concurrent -no-feature-cssparser -no-feature-draganddrop -no-feature-effects -no-feature-sessionmanager -no-feature-sharedmemory -no-feature-systemsemaphore -no-feature-texthtmlparser -no-feature-textodfwriter -no-feature-xmlstreamwriter -no-feature-dom -no-feature-filesystemwatcher -no-feature-process -no-feature-buttongroup -no-feature-calendarwidget -no-feature-combobox -no-feature-contextmenu -no-feature-datetimeedit -no-feature-dial -no-feature-dockwidget -no-feature-fontcombobox -no-feature-graphicseffect -no-feature-graphicsview -no-feature-groupbox -no-feature-keysequenceedit -no-feature-lcdnumber -no-feature-lineedit -no-feature-listwidget -no-feature-mainwindow -no-feature-mdiarea -no-feature-menu -no-feature-printpreviewwidget -no-feature-progressbar -no-feature-resizehandler -no-feature-rubberband -no-feature-scrollarea -no-feature-scrollbar -no-feature-sizegrip -no-feature-slider -no-feature-spinbox -no-feature-splashscreen -no-feature-splitter -no-feature-stackedwidget -no-feature-statusbar -no-feature-statustip -no-feature-syntaxhighlighter -no-feature-tabbar -no-feature-tablewidget -no-feature-tabwidget -no-feature-textbrowser -no-feature-textedit -no-feature-toolbar -no-feature-toolbox -no-feature-toolbutton -no-feature-tooltip -no-feature-treewidget -no-feature-whatsthis -no-feature-colordialog -no-feature-errormessage -no-feature-filedialog -no-feature-fontdialog -no-feature-inputdialog -no-feature-messagebox -no-feature-printdialog -no-feature-printpreviewdialog -no-feature-progressdialog -no-feature-wizard -no-feature-columnview -no-feature-datawidgetmapper -no-feature-dirmodel -no-feature-identityproxymodel -no-feature-itemviews -no-feature-listview -no-feature-proxymodel -no-feature-sortfilterproxymodel -no-feature-standarditemmodel -no-feature-stringlistmodel -no-feature-tableview -no-feature-treeview -no-feature-style-stylesheet -no-feature-image_heuristic_mask -no-feature-image_text -no-feature-imageformat_bmp -no-feature-imageformat_ppm -no-feature-imageformat_xbm -no-feature-imageformat_xpm -DQT_NO_SVGGENERATOR -no-feature-cups -no-feature-pdf -no-feature-picture -no-feature-printer -no-feature-big_codecs -no-feature-codecs -no-feature-iconv -no-feature-bearermanagement -no-feature-ftp -no-feature-udpsocket -no-feature-completer -no-feature-desktopservices -no-feature-fscompleter -no-feature-gestures -no-feature-systemtrayicon -no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-undoview -no-feature-dbus -xplatform devices/linux-arm-broadcom-g++ -device-option COMPILE_OPTIMIZATION=-Os -device-option PLATFORM_OPENGL_LIBS=-lFakeOpenGL -no-egl -skip qtgraphicaleffects -directfb -qpa directfb -commercial -confirm-license</p>
]]></description><link>https://forum.qt.io/post/608493</link><guid isPermaLink="true">https://forum.qt.io/post/608493</guid><dc:creator><![CDATA[Dharmik.Mehta]]></dc:creator><pubDate>Thu, 23 Jul 2020 20:30:52 GMT</pubDate></item><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Thu, 23 Jul 2020 20:25:54 GMT]]></title><description><![CDATA[<p dir="auto">What options are you passing to configure ?</p>
]]></description><link>https://forum.qt.io/post/608492</link><guid isPermaLink="true">https://forum.qt.io/post/608492</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 23 Jul 2020 20:25:54 GMT</pubDate></item><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Thu, 23 Jul 2020 18:23:57 GMT]]></title><description><![CDATA[<p dir="auto">So I am trying to cross compile from my Linux Machine onto a device that is a Raspberry Pi based architecture.</p>
<p dir="auto">Host Architecture - x86_64<br />
Target Architecture - aarch64</p>
<p dir="auto">We are using Qt 5.6 and with the same setup, the configurations tests are successful. However, I am trying to upgrade to QT 5.15.0 and I am coming across this error when I try to run the configure script.</p>
<p dir="auto">Checking for machine tuple... yes<br />
Checking for valid makespec... yes<br />
Checking for alloca() in alloca.h... yes<br />
Checking for target architecture... x86_64<br />
Checking for host architecture... Project ERROR: Could not determine host architecture. See config.log for details.</p>
<p dir="auto">I am not sure why it shows target architecture as x86_64 when x86_64 is actually the host architecture. Could it be possible that it got swapped?</p>
<p dir="auto">As I mentioned, the exact same command with the same host and target devices is successfully with Qt 5.6. Do you know what changed between 5.6 and 5.15 that could have affected this?</p>
]]></description><link>https://forum.qt.io/post/608465</link><guid isPermaLink="true">https://forum.qt.io/post/608465</guid><dc:creator><![CDATA[Dharmik.Mehta]]></dc:creator><pubDate>Thu, 23 Jul 2020 18:23:57 GMT</pubDate></item><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Tue, 21 Jul 2020 19:06:11 GMT]]></title><description><![CDATA[<p dir="auto">Would you mind giving a bit more information about that system ?</p>
<p dir="auto">You could talking about a Raspberry Pi as well as the next gen multicore machine for the server space.</p>
]]></description><link>https://forum.qt.io/post/608065</link><guid isPermaLink="true">https://forum.qt.io/post/608065</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 21 Jul 2020 19:06:11 GMT</pubDate></item><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Tue, 21 Jul 2020 18:20:46 GMT]]></title><description><![CDATA[<p dir="auto">What kind of machine are you on? Embedded system<br />
What architecture is it? Generic-arm-g++<br />
What OS are you running? POSIX<br />
Are you compiling or cross-compiling? Cross Compiling</p>
]]></description><link>https://forum.qt.io/post/608055</link><guid isPermaLink="true">https://forum.qt.io/post/608055</guid><dc:creator><![CDATA[Dharmik.Mehta]]></dc:creator><pubDate>Tue, 21 Jul 2020 18:20:46 GMT</pubDate></item><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Tue, 21 Jul 2020 16:21:28 GMT]]></title><description><![CDATA[<p dir="auto">Are you compiling or cross-compiling ?</p>
]]></description><link>https://forum.qt.io/post/608031</link><guid isPermaLink="true">https://forum.qt.io/post/608031</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 21 Jul 2020 16:21:28 GMT</pubDate></item><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Tue, 21 Jul 2020 15:24:58 GMT]]></title><description><![CDATA[<p dir="auto">I am working on Linux SUSE. Trying to compile it for our product that uses ARM.</p>
]]></description><link>https://forum.qt.io/post/608017</link><guid isPermaLink="true">https://forum.qt.io/post/608017</guid><dc:creator><![CDATA[Dharmik.Mehta]]></dc:creator><pubDate>Tue, 21 Jul 2020 15:24:58 GMT</pubDate></item><item><title><![CDATA[Reply to Configuration tests failed to determine host architecture on Tue, 21 Jul 2020 05:35:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">What kind of machine are you on ?<br />
What architecture is it ?<br />
What OS are you running ?</p>
]]></description><link>https://forum.qt.io/post/607904</link><guid isPermaLink="true">https://forum.qt.io/post/607904</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 21 Jul 2020 05:35:50 GMT</pubDate></item></channel></rss>