Closed freed00m closed 4 years ago
build()... cc -c src/gfx_gl21.c -std=c18 -O2 -flto -mtune=generic -ffast-math -fshort-enums -Wall -Wextra -Wno-unused-parameter -Wno-address -Wno-unused-function -Werror=implicit-function-declaration -I/usr/include/freetype2/ -o build/gfx_gl21.o cc -c src/monitor.c -std=c18 -O2 -flto -mtune=generic -ffast-math -fshort-enums -Wall -Wextra -Wno-unused-parameter -Wno-address -Wno-unused-function -Werror=implicit-function-declaration -I/usr/include/freetype2/ -o build/monitor.o cc -c src/freetype.c -std=c18 -O2 -flto -mtune=generic -ffast-math -fshort-enums -Wall -Wextra -Wno-unused-parameter -Wno-address -Wno-unused-function -Werror=implicit-function-declaration -I/usr/include/freetype2/ -o build/freetype.o cc -c src/main.c -std=c18 -O2 -flto -mtune=generic -ffast-math -fshort-enums -Wall -Wextra -Wno-unused-parameter -Wno-address -Wno-unused-function -Werror=implicit-function-declaration -I/usr/include/freetype2/ -o build/main.o cc -c src/settings.c -std=c18 -O2 -flto -mtune=generic -ffast-math -fshort-enums -Wall -Wextra -Wno-unused-parameter -Wno-address -Wno-unused-function -Werror=implicit-function-declaration -I/usr/include/freetype2/ -o build/settings.o cc -c src/vt.c -std=c18 -O2 -flto -mtune=generic -ffast-math -fshort-enums -Wall -Wextra -Wno-unused-parameter -Wno-address -Wno-unused-function -Werror=implicit-function-declaration -I/usr/include/freetype2/ -o build/vt.o cc -c src/wl.c -std=c18 -O2 -flto -mtune=generic -ffast-math -fshort-enums -Wall -Wextra -Wno-unused-parameter -Wno-address -Wno-unused-function -Werror=implicit-function-declaration -I/usr/include/freetype2/ -o build/wl.o cc -c src/x.c -std=c18 -O2 -flto -mtune=generic -ffast-math -fshort-enums -Wall -Wextra -Wno-unused-parameter -Wno-address -Wno-unused-function -Werror=implicit-function-declaration -I/usr/include/freetype2/ -o build/x.o cc build/fontconfig.o build/freetype.o build/gfx_gl21.o build/main.o build/monitor.o build/settings.o build/vt.o build/wl.o build/x.o build/wcwidth/wcwidth.o build/wl_exts/kde-decoration.o build/wl_exts/xdg-decoration.o build/wl_exts/xdg_shell.o -lGL -lfreetype -lfontconfig -lutil -L/usr/lib -lm -lutf8proc -lX11 -lXrender -lwayland-client -lwayland-egl -lwayland-cursor -lxkbcommon -lEGL -o ./wayst -O2 -flto lto1: internal compiler error: bytecode stream: expected tag identifier_node instead of LTO_UNKNOWN Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. lto-wrapper: fatal error: cc returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make: *** [Makefile:62: wayst] Error 1 ==> ERROR: A failure occurred in build(). Aborting... $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --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-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.2.0 (GCC)
This could be a general issue Relevant bug on the Arch tracker https://bugs.archlinux.org/task/67686?project=1&string=gcc
It should build and not break again after make -B.
make -B