Closed jg1uaa closed 5 months ago
Hi @jg1uaa, thanks for the report. We are aware of this issue, and for gcc 14, everything is alright. In the mean time I would suggest to use clang, or ask void people @classabbyamp if it is possible to bump gcc version
Thanks! I use clang-17.0.6 instead of gcc-13.2.0, the problem solved.
[uaa@voidlinux-vm build]$ CC=clang CXX=clang++ cmake ..
-- [Version] Git branch: master
-- [Version] Git SHA: 2dcb6604
-- [Version] version source: git & /home/uaa/contour/metainfo.xml
-- [Version] version triple: 0.4.4
-- [Version] version string: 0.4.4-master-2dcb6604
-- The CXX compiler identification is Clang 17.0.6
(snip)
Compiling contour.terminfo
cd /home/uaa/contour/build/src/contour && /home/uaa/contour/build/src/contour/contour generate terminfo to contour.terminfo && /usr/bin/tic -x -o /home/uaa/contour/build/src/contour/terminfo contour.terminfo
make[2]: Leaving directory '/home/uaa/contour/build'
[100%] Built target contour
make[1]: Leaving directory '/home/uaa/contour/build'
/usr/bin/cmake -E cmake_progress_start /home/uaa/contour/build/CMakeFiles 0
[uaa@voidlinux-vm build]$
Contour Terminal version
0.4.4-master-2dcb6604
Installer source
Github: source code cloned
Operating System
Void Linux
Architecture
x86-64
Other Software
gcc-13.2.0 libfreetype-2.13.2 libunicode-0.4.0 boxed-cpp 1.2.2 libfontconfig-2.14.2 harfbuzz-8.5.0 pkg-config 0.29.2 libxkbcommon-1.7.0
Steps to reproduce
after git clone and install necessary components (I used distro-provided boxed-cpp and libunicode etc., not from scripts/install-deps.sh),
Expected Behavior
Normally, build with no error.
Actual Behavior
Memory exhaust occurs compiling ContourTerminalDisplay_autogen/mocs_compilation.cpp.o. I faced the problem with Void Linux on QEMU virtual machine. 24GB memory + 12GB swap.
Additional notes
CMake configutration log: