ddnet
ddnet copied to clipboard
Compilation from the AUR fails because of -fcolor-diagnostics
FAILED: CMakeFiles/json.dir/src/engine/external/json-parser/json.c.o
/usr/lib/ccache/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -O3 -DNDEBUG -fdiagnostics-color=always -fcolor-diagnostics -fstack-protector-all -fno-exceptions -Wno-implicit-function-declaration -MD -MT CMakeFiles/json.dir/src/engine/external/json-parser/json.c.o -MF CMakeFiles/json.dir/src/engine/external/json-parser/json.c.o.d -o CMakeFiles/json.dir/src/engine/external/json-parser/json.c.o -c /tmp/makepkg/ddnet/src/DDNet-16.2.2/src/engine/external/json-parser/json.c
cc: error: unrecognized command-line option ‘-fcolor-diagnostics’
[6/253] Building CXX object CMakeFiles/steam_api.dir/src/steam/steam_api_stub.cpp.o
FAILED: CMakeFiles/steam_api.dir/src/steam/steam_api_stub.cpp.o
/usr/lib/ccache/bin/c++ -DCONF_ANTIBOT -DCONF_INFORM_UPDATE -DCONF_MYSQL -DCONF_OPENSSL -DCONF_UPNP -DCONF_VIDEORECORDER -DGAME_RELEASE_VERSION=\"16.2.2\" -DGLEW_STATIC -D_FORTIFY_SOURCE=2 -I/tmp/makepkg/ddnet/src/build/src -I/tmp/makepkg/ddnet/src/DDNet-16.2.2/src -isystem /usr/include/miniupnpc -isystem /usr/include/mysql -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -O3 -DNDEBUG -fdiagnostics-color=always -fcolor-diagnostics -fstack-protector-all -fno-exceptions -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wno-nullability-completeness -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wshadow=global -Wsuggest-override -std=c++17 -MD -MT CMakeFiles/steam_api.dir/src/steam/steam_api_stub.cpp.o -MF CMakeFiles/steam_api.dir/src/steam/steam_api_stub.cpp.o.d -o CMakeFiles/steam_api.dir/src/steam/steam_api_stub.cpp.o -c /tmp/makepkg/ddnet/src/DDNet-16.2.2/src/steam/steam_api_stub.cpp
c++: error: unrecognized command-line option ‘-fcolor-diagnostics’
[10/253] Building CXX object CMakeFiles/antibot.dir/src/antibot/antibot_null.cpp.o
FAILED: CMakeFiles/antibot.dir/src/antibot/antibot_null.cpp.o
/usr/lib/ccache/bin/c++ -DCONF_ANTIBOT -DCONF_INFORM_UPDATE -DCONF_MYSQL -DCONF_OPENSSL -DCONF_UPNP -DCONF_VIDEORECORDER -DGAME_RELEASE_VERSION=\"16.2.2\" -DGLEW_STATIC -D_FORTIFY_SOURCE=2 -Dantibot_EXPORTS -I/tmp/makepkg/ddnet/src/build/src -I/tmp/makepkg/ddnet/src/DDNet-16.2.2/src -isystem /usr/include/miniupnpc -isystem /usr/include/mysql -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -O3 -DNDEBUG -fPIC -fdiagnostics-color=always -fcolor-diagnostics -fstack-protector-all -fno-exceptions -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wno-nullability-completeness -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wshadow=global -Wsuggest-override -std=c++17 -MD -MT CMakeFiles/antibot.dir/src/antibot/antibot_null.cpp.o -MF CMakeFiles/antibot.dir/src/antibot/antibot_null.cpp.o.d -o CMakeFiles/antibot.dir/src/antibot/antibot_null.cpp.o -c /tmp/makepkg/ddnet/src/DDNet-16.2.2/src/antibot/antibot_null.cpp
c++: error: unrecognized command-line option ‘-fcolor-diagnostics’
ninja: build stopped: subcommand failed.
Is that building from scratch or from a previously used build directory? I can imagine that this happens if you reuse the build directory but switch compilers. Because we are using add_cxx_compiler_flag_if_supported(OUR_FLAGS -fcolor-diagnostics) to determine if the compiler supports -fcolor-diagnostics before enabling it.
Building from scratch. The AUR builds the project on /tmp so its as easy as restarting the pc or just deleting the folder, Ninja version is 1.11.0 CMake is 3.23.2 /etc/makepkg flags:
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
Can you provide the CMakeFiles/CMakeOutput.log? I can't reproduce this.
The system is: Linux - 5.18.10-zen1-1-zen - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/lib/ccache/bin/cc
Build flags: -march=x86-64;-mtune=generic;-O2;-pipe;-fno-plt;-fexceptions;;;;;;;;;-Wp,-D_FORTIFY_SOURCE=2;-Wformat;-Werror=format-security;;;;;;;;;-fstack-clash-protection;-fcf-protection
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in "/tmp/makepkg/ddnet/src/build/CMakeFiles/3.23.2/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/lib/ccache/bin/c++
Build flags: -march=x86-64;-mtune=generic;-O2;-pipe;-fno-plt;-fexceptions;;;;;;;;;-Wp,-D_FORTIFY_SOURCE=2;-Wformat;-Werror=format-security;;;;;;;;;-fstack-clash-protection;-fcf-protection;-Wp,-D_GLIBCXX_ASSERTIONS
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in "/tmp/makepkg/ddnet/src/build/CMakeFiles/3.23.2/CompilerIdCXX/a.out"
Detecting C compiler ABI info compiled with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_8c280 && [1/2] Building C object CMakeFiles/cmTC_8c280.dir/CMakeCCompilerABI.c.o
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.1.0 (GCC)
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-D' '_FORTIFY_SOURCE=2' '-c' '-o' 'CMakeFiles/cmTC_751fd.dir/CMakeCCompilerABI.c.o' '-dumpdir' 'CMakeFiles/cmTC_751fd.dir/'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/cc1 -quiet -v -D _FORTIFY_SOURCE=2 /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_751fd.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -march=x86-64 -mtune=generic -O2 -Wformat=1 -version -fdiagnostics-color=always -fno-plt -fexceptions -fstack-clash-protection -fcf-protection=full -o - |
as -v --64 -o CMakeFiles/cmTC_751fd.dir/CMakeCCompilerABI.c.o
GNU assembler version 2.38 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.38
GNU C17 (GCC) version 12.1.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 12.1.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include
/usr/local/include
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed
/usr/include
End of search list.
GNU C17 (GCC) version 12.1.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 12.1.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 3e6a47a96552b6758214eb71bda8ede7
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-D' '_FORTIFY_SOURCE=2' '-c' '-o' 'CMakeFiles/cmTC_751fd.dir/CMakeCCompilerABI.c.o' '-dumpdir' 'CMakeFiles/cmTC_751fd.dir/CMakeCCompilerABI.c.'
[2/2] Linking C executable cmTC_8c280
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.1.0 (GCC)
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-o' 'cmTC_8c280' '-dumpdir' 'cmTC_8c280.'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccsqnXix.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_8c280 /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../.. -O1 --sort-common --as-needed -z relro -z now CMakeFiles/cmTC_8c280.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-o' 'cmTC_8c280' '-dumpdir' 'cmTC_8c280.'
Parsed C implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include]
add: [/usr/local/include]
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed]
add: [/usr/include]
end of search list found
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed;/usr/include]
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/ninja cmTC_8c280 && [1/2] Building C object CMakeFiles/cmTC_8c280.dir/CMakeCCompilerABI.c.o]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [Target: x86_64-pc-linux-gnu]
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=c c++ ada fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 12.1.0 (GCC) ]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-D' '_FORTIFY_SOURCE=2' '-c' '-o' 'CMakeFiles/cmTC_751fd.dir/CMakeCCompilerABI.c.o' '-dumpdir' 'CMakeFiles/cmTC_751fd.dir/']
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/cc1 -quiet -v -D _FORTIFY_SOURCE=2 /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_751fd.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -march=x86-64 -mtune=generic -O2 -Wformat=1 -version -fdiagnostics-color=always -fno-plt -fexceptions -fstack-clash-protection -fcf-protection=full -o - |]
ignore line: [ as -v --64 -o CMakeFiles/cmTC_751fd.dir/CMakeCCompilerABI.c.o]
ignore line: [GNU assembler version 2.38 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.38]
ignore line: [GNU C17 (GCC) version 12.1.0 (x86_64-pc-linux-gnu)]
ignore line: [ compiled by GNU C version 12.1.0 GMP version 6.2.1 MPFR version 4.1.0-p13 MPC version 1.2.1 isl version isl-0.24-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [GNU C17 (GCC) version 12.1.0 (x86_64-pc-linux-gnu)]
ignore line: [ compiled by GNU C version 12.1.0 GMP version 6.2.1 MPFR version 4.1.0-p13 MPC version 1.2.1 isl version isl-0.24-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: 3e6a47a96552b6758214eb71bda8ede7]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-D' '_FORTIFY_SOURCE=2' '-c' '-o' 'CMakeFiles/cmTC_751fd.dir/CMakeCCompilerABI.c.o' '-dumpdir' 'CMakeFiles/cmTC_751fd.dir/CMakeCCompilerABI.c.']
ignore line: [[2/2] Linking C executable cmTC_8c280]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper]
ignore line: [Target: x86_64-pc-linux-gnu]
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=c c++ ada fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 12.1.0 (GCC) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-o' 'cmTC_8c280' '-dumpdir' 'cmTC_8c280.']
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccsqnXix.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_8c280 /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../.. -O1 --sort-common --as-needed -z relro -z now CMakeFiles/cmTC_8c280.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crtn.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccsqnXix.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-o] ==> ignore
arg [cmTC_8c280] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/Scrt1.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../..]
arg [-O1] ==> ignore
arg [--sort-common] ==> ignore
arg [--as-needed] ==> ignore
arg [-zrelro] ==> ignore
arg [-znow] ==> ignore
arg [CMakeFiles/cmTC_8c280.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--push-state] ==> ignore
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--pop-state] ==> ignore
arg [-lc] ==> lib [c]
arg [-lgcc] ==> lib [gcc]
arg [--push-state] ==> ignore
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--pop-state] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtendS.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crtn.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crtn.o]
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/Scrt1.o] ==> [/usr/lib/Scrt1.o]
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o] ==> [/usr/lib/crti.o]
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crtn.o] ==> [/usr/lib/crtn.o]
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0]
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../..] ==> [/usr/lib]
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
implicit objs: [/usr/lib/Scrt1.o;/usr/lib/crti.o;/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o;/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtendS.o;/usr/lib/crtn.o]
implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0;/usr/lib;/lib]
implicit fwks: []
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_a584a && [1/2] Building CXX object CMakeFiles/cmTC_a584a.dir/CMakeCXXCompilerABI.cpp.o
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.1.0 (GCC)
COLLECT_GCC_OPTIONS='-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-D' '_FORTIFY_SOURCE=2' '-D' '_GLIBCXX_ASSERTIONS' '-c' '-o' 'CMakeFiles/cmTC_376bf.dir/CMakeCXXCompilerABI.cpp.o' '-shared-libgcc' '-dumpdir' 'CMakeFiles/cmTC_376bf.dir/'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/cc1plus -quiet -v -D_GNU_SOURCE -D _FORTIFY_SOURCE=2 -D _GLIBCXX_ASSERTIONS /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_376bf.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -march=x86-64 -mtune=generic -O2 -Wformat=1 -version -fno-plt -fexceptions -fstack-clash-protection -fcf-protection=full -o - |
as -v --64 -o CMakeFiles/cmTC_376bf.dir/CMakeCXXCompilerABI.cpp.o
GNU assembler version 2.38 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.38
GNU C++17 (GCC) version 12.1.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 12.1.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0/x86_64-pc-linux-gnu
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0/backward
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include
/usr/local/include
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed
/usr/include
End of search list.
GNU C++17 (GCC) version 12.1.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 12.1.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 14439460ac50886fda7029a3ce5859f0
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-D' '_FORTIFY_SOURCE=2' '-D' '_GLIBCXX_ASSERTIONS' '-c' '-o' 'CMakeFiles/cmTC_376bf.dir/CMakeCXXCompilerABI.cpp.o' '-shared-libgcc' '-dumpdir' 'CMakeFiles/cmTC_376bf.dir/CMakeCXXCompilerABI.cpp.'
[2/2] Linking CXX executable cmTC_a584a
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.1.0 (GCC)
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-o' 'cmTC_a584a' '-shared-libgcc' '-dumpdir' 'cmTC_a584a.'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccihWsWt.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_a584a /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../.. -O1 --sort-common --as-needed -z relro -z now CMakeFiles/cmTC_a584a.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-o' 'cmTC_a584a' '-shared-libgcc' '-dumpdir' 'cmTC_a584a.'
Parsed CXX implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0]
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0/x86_64-pc-linux-gnu]
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0/backward]
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include]
add: [/usr/local/include]
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed]
add: [/usr/include]
end of search list found
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0] ==> [/usr/include/c++/12.1.0]
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0/x86_64-pc-linux-gnu] ==> [/usr/include/c++/12.1.0/x86_64-pc-linux-gnu]
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0/backward] ==> [/usr/include/c++/12.1.0/backward]
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/include/c++/12.1.0;/usr/include/c++/12.1.0/x86_64-pc-linux-gnu;/usr/include/c++/12.1.0/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed;/usr/include]
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/ninja cmTC_a584a && [1/2] Building CXX object CMakeFiles/cmTC_a584a.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [Target: x86_64-pc-linux-gnu]
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=c c++ ada fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 12.1.0 (GCC) ]
ignore line: [COLLECT_GCC_OPTIONS='-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-D' '_FORTIFY_SOURCE=2' '-D' '_GLIBCXX_ASSERTIONS' '-c' '-o' 'CMakeFiles/cmTC_376bf.dir/CMakeCXXCompilerABI.cpp.o' '-shared-libgcc' '-dumpdir' 'CMakeFiles/cmTC_376bf.dir/']
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/cc1plus -quiet -v -D_GNU_SOURCE -D _FORTIFY_SOURCE=2 -D _GLIBCXX_ASSERTIONS /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_376bf.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -march=x86-64 -mtune=generic -O2 -Wformat=1 -version -fno-plt -fexceptions -fstack-clash-protection -fcf-protection=full -o - |]
ignore line: [ as -v --64 -o CMakeFiles/cmTC_376bf.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [GNU assembler version 2.38 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.38]
ignore line: [GNU C++17 (GCC) version 12.1.0 (x86_64-pc-linux-gnu)]
ignore line: [ compiled by GNU C version 12.1.0 GMP version 6.2.1 MPFR version 4.1.0-p13 MPC version 1.2.1 isl version isl-0.24-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0]
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0/x86_64-pc-linux-gnu]
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0/backward]
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [GNU C++17 (GCC) version 12.1.0 (x86_64-pc-linux-gnu)]
ignore line: [ compiled by GNU C version 12.1.0 GMP version 6.2.1 MPFR version 4.1.0-p13 MPC version 1.2.1 isl version isl-0.24-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: 14439460ac50886fda7029a3ce5859f0]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-D' '_FORTIFY_SOURCE=2' '-D' '_GLIBCXX_ASSERTIONS' '-c' '-o' 'CMakeFiles/cmTC_376bf.dir/CMakeCXXCompilerABI.cpp.o' '-shared-libgcc' '-dumpdir' 'CMakeFiles/cmTC_376bf.dir/CMakeCXXCompilerABI.cpp.']
ignore line: [[2/2] Linking CXX executable cmTC_a584a]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper]
ignore line: [Target: x86_64-pc-linux-gnu]
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=c c++ ada fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 12.1.0 (GCC) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-march=x86-64' '-mtune=generic' '-O2' '-pipe' '-fno-plt' '-fexceptions' '-Wformat=1' '-fstack-clash-protection' '-fcf-protection=full' '-v' '-o' 'cmTC_a584a' '-shared-libgcc' '-dumpdir' 'cmTC_a584a.']
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccihWsWt.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_a584a /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../.. -O1 --sort-common --as-needed -z relro -z now CMakeFiles/cmTC_a584a.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crtn.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccihWsWt.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-o] ==> ignore
arg [cmTC_a584a] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/Scrt1.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../..]
arg [-O1] ==> ignore
arg [--sort-common] ==> ignore
arg [--as-needed] ==> ignore
arg [-zrelro] ==> ignore
arg [-znow] ==> ignore
arg [CMakeFiles/cmTC_a584a.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtendS.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crtn.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crtn.o]
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/Scrt1.o] ==> [/usr/lib/Scrt1.o]
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o] ==> [/usr/lib/crti.o]
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crtn.o] ==> [/usr/lib/crtn.o]
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0]
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../..] ==> [/usr/lib]
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
implicit objs: [/usr/lib/Scrt1.o;/usr/lib/crti.o;/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o;/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtendS.o;/usr/lib/crtn.o]
implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0;/usr/lib;/lib]
implicit fwks: []
Performing C++ SOURCE FILE Test HAVE_ATOMICS_WITHOUT_LIB succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_d556b && [1/2] Building CXX object CMakeFiles/cmTC_d556b.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_d556b
Source file was:
#include <atomic>
#include <cstdint>
std::atomic<uint64_t> x (0);
int main() {
uint64_t i = x.load(std::memory_order_relaxed);
(void)i;
return 0;
}
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_fdiagnostics_color_always succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_f885d && [1/2] Building CXX object CMakeFiles/cmTC_f885d.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_f885d
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_fcolor_diagnostics succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_26523 && [1/2] Building CXX object CMakeFiles/cmTC_26523.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_26523
Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test FLAG_SUPPORTED_fuse_ld_gold succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_7a9a6 && [1/2] Building C object CMakeFiles/cmTC_7a9a6.dir/src.c.o
[2/2] Linking C executable cmTC_7a9a6
Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_fstack_protector_all succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_1accc && [1/2] Building CXX object CMakeFiles/cmTC_1accc.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_1accc
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_fno_exceptions succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_a078c && [1/2] Building CXX object CMakeFiles/cmTC_a078c.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_a078c
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wall succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_e597d && [1/2] Building CXX object CMakeFiles/cmTC_e597d.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_e597d
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wextra succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_e306c && [1/2] Building CXX object CMakeFiles/cmTC_e306c.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_e306c
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wno_unused_parameter succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_4b7ac && [1/2] Building CXX object CMakeFiles/cmTC_4b7ac.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_4b7ac
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wno_missing_field_initializers succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_391bb && [1/2] Building CXX object CMakeFiles/cmTC_391bb.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_391bb
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wformat_2 succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_a655f && [1/2] Building CXX object CMakeFiles/cmTC_a655f.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_a655f
Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test FLAG_SUPPORTED_Wno_implicit_function_declaration succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_6be89 && [1/2] Building C object CMakeFiles/cmTC_6be89.dir/src.c.o
[2/2] Linking C executable cmTC_6be89
Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wno_nullability_completeness succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_935ce && [1/2] Building CXX object CMakeFiles/cmTC_935ce.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_935ce
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wduplicated_cond succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_0f730 && [1/2] Building CXX object CMakeFiles/cmTC_0f730.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_0f730
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wduplicated_branches succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_df80e && [1/2] Building CXX object CMakeFiles/cmTC_df80e.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_df80e
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wlogical_op succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_a1708 && [1/2] Building CXX object CMakeFiles/cmTC_a1708.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_a1708
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wrestrict succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_df86c && [1/2] Building CXX object CMakeFiles/cmTC_df86c.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_df86c
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wshadow_global succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_820d3 && [1/2] Building CXX object CMakeFiles/cmTC_820d3.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_820d3
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_Wsuggest_override succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_01d9d && [1/2] Building CXX object CMakeFiles/cmTC_01d9d.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_01d9d
Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test FLAG_SUPPORTED_Wno_alloc_size_larger_than succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_c7572 && [1/2] Building C object CMakeFiles/cmTC_c7572.dir/src.c.o
[2/2] Linking C executable cmTC_c7572
Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test DEFINE_FORTIFY_SOURCE succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_d17f0 && [1/2] Building C object CMakeFiles/cmTC_d17f0.dir/src.c.o
[2/2] Linking C executable cmTC_d17f0
Source file was:
int main(void) { return 0; }
Determining if the include file pthread.h exists passed with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_76570 && [1/2] Building C object CMakeFiles/cmTC_76570.dir/CheckIncludeFile.c.o
[2/2] Linking C executable cmTC_76570
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_599cd && [1/2] Building C object CMakeFiles/cmTC_599cd.dir/src.c.o
[2/2] Linking C executable cmTC_599cd
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the WavpackOpenFileInputEx exist passed with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_24309 && [1/2] Building C object CMakeFiles/cmTC_24309.dir/CheckSymbolExists.c.o
[2/2] Linking C executable cmTC_24309
File /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <wavpack.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef WavpackOpenFileInputEx
return ((int*)(&WavpackOpenFileInputEx))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the WavpackCloseFile exist passed with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_d9b17 && [1/2] Building C object CMakeFiles/cmTC_d9b17.dir/CheckSymbolExists.c.o
[2/2] Linking C executable cmTC_d9b17
File /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <wavpack.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef WavpackCloseFile
return ((int*)(&WavpackCloseFile))[argc];
#else
(void)argc;
return 0;
#endif
}
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_rdynamic succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_da354 && [1/2] Building CXX object CMakeFiles/cmTC_da354.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_da354
Source file was:
int main() { return 0; }
I think this is a problem with ccache. The compilation with -fcolor-diagnostics is successful, maybe because ccache has the result cached already and ignores the -fcolor-diagnostics:
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test FLAG_SUPPORTED_fcolor_diagnostics succeeded with the following output:
Change Dir: /tmp/makepkg/ddnet/src/build/CMakeFiles/CMakeTmp
And then later when compiling fresh files it fails.
Reported in ccache: https://github.com/ccache/ccache/issues/1116
it seems that a fix was pushed was pushed on ccache, whenever 4.7 comes out i will check again and close if fixed
fixed in 4.6.2