Skip to content

build: use package_cc for linux qt build

Placeholder fanquake requested to merge github/fork/fanquake/test_22184 into master

Could be enough to close #22184 (closed).

make -C depends qt CC=gcc-12 CXX=g++-12 -j9 DEBUG=1
...
# qmake build
gmake[1]: Entering directory '/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake'
g++-12 -c -o main.o   -std=c++11 -ffunction-sections -fdata-sections -O2 -g  -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/library -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/generators -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/src/3rdparty/tinycbor/src -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/generators/unix -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/generators/win32 -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/generators/mac -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/include -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/include/QtCore -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/include/QtCore/5.15.5 -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/include/QtCore/5.15.5/QtCore -I../src/corelib/global -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/mkspecs/linux-g++ -DQT_VERSION_STR=\"5.15.5\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=5 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/main.cpp
...
# qt configure checks
> g++-12 -c -m64 -pipe -pipe -std=c++17 -O1 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -D_LIBCPP_DEBUG=1 -I/home/ubuntu/bitcoin/depends/x86_64-pc-linux-gnu/include -maes -O2 -std=gnu++11 -w -fPIC -DNO_ATTRIBUTE -DQT_COMPILER_SUPPORTS_AESNI -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/config.tests/x86_simd -I. -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/mkspecs/linux-g++-64 -o main.o /home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/config.tests/x86_simd/main.cpp
# qt configuration
Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
Building for: linux-g++-64 (x86_64, CPU features: mmx sse sse2)
Target compiler: unknown (gcc-12)
Configuration: cross_compile sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl enable_new_dtags f16c largefile optimize_debug precompile_header rdrnd rdseed shani x86SimdAlways debug c++11 c++14 c++17 c++1z dbus reduce_exports release_tools static stl
......
# qt build
make[4]: Entering directory '/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-e9a047354b8/qtbase/src/corelib'
g++-12 -c -o qlibraryinfo_final.o   -std=c++11 -ffunction-sections -fdata-sections -O2 -g  -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/library -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/generators -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/src/3rdparty/tinycbor/src -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/generators/unix -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/generators/win32 -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/qmake/generators/mac -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/include -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/include/QtCore -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/include/QtCore/5.15.5 -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/include/QtCore/5.15.5/QtCore -I../src/corelib/global -I/home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/mkspecs/linux-g++ -DQT_VERSION_STR=\"5.15.5\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=5 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /home/ubuntu/bitcoin/depends/work/build/x86_64-pc-linux-gnu/qt/5.15.5-59cf8e423fe/qtbase/src/corelib/global/qlibraryinfo.cpp

Guix Build (x86_64):

Guix Build (arm64):

Merge request reports

Loading