matrix-construct / construct

This is The Construct
Other
361 stars 43 forks source link

internal compiler error on ircd #154

Closed cypa closed 4 years ago

cypa commented 4 years ago

it's on archlinux main

/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -std=gnu++17 -DHAVE_CONFIG_H -DIRCD_UNIT    -I../include -include ircd/ircd.pic.h  -DPCH -DNDEBUG -Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wwrite-strings -Wparentheses -Wundef -Wpacked -Wformat -Wformat-y2k -Wformat-nonliteral -Wstrict-aliasing=2 -Wstrict-overflow=5 -Wdisabled-optimization -Winvalid-pch -Winit-self -Wuninitialized -Wunreachable-code -Wno-overloaded-virtual -Wnon-virtual-dtor -Wnoexcept -Wsized-deallocation -Wctor-dtor-privacy -Wsign-promo -Wtrampolines -Wduplicated-cond -Wrestrict -Wnull-dereference -Wplacement-new=2 -Wundef -Wodr -Werror=return-type -Wno-missing-field-initializers -Wno-unused -Wno-unused-function -Wno-unused-label -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-endif-labels -Wmissing-noreturn -Wno-unknown-attributes -Wno-unknown-pragmas -Wlogical-op -Wformat-security -Wstack-usage=16384 -Wframe-larger-than=8192 -Walloca  -ftls-model=initial-exec  -pthread     -pipe -march=native -O3 -fgcse-sm -fgcse-las -fsched-stalled-insns=0 -fsched-pressure -fsched-spec-load -fira-hoist-pressure -fbranch-target-load-optimize -frerun-loop-opt -fdevirtualize-at-ltrans -fipa-pta -fmodulo-sched -fmodulo-sched-allow-regmoves -ftracer -ftree-loop-im -ftree-switch-conversion -g -ggdb -frecord-gcc-switches -fstack-protector-explicit -fvtable-verify=none -fvisibility-inlines-hidden -fnothrow-opt -fno-threadsafe-statics -fverbose-asm -fsigned-char -MT cbor.lo -MD -MP -MF $depbase.Tpo -c -o cbor.lo cbor.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -std=gnu++17 -DHAVE_CONFIG_H -DIRCD_UNIT -I../include -include ircd/ircd.pic.h -DPCH -DNDEBUG -Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wwrite-strings -Wparentheses -Wundef -Wpacked -Wformat -Wformat-y2k -Wformat-nonliteral -Wstrict-aliasing=2 -Wstrict-overflow=5 -Wdisabled-optimization -Winvalid-pch -Winit-self -Wuninitialized -Wunreachable-code -Wno-overloaded-virtual -Wnon-virtual-dtor -Wnoexcept -Wsized-deallocation -Wctor-dtor-privacy -Wsign-promo -Wtrampolines -Wduplicated-cond -Wrestrict -Wnull-dereference -Wplacement-new=2 -Wundef -Wodr -Werror=return-type -Wno-missing-field-initializers -Wno-unused -Wno-unused-function -Wno-unused-label -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-endif-labels -Wmissing-noreturn -Wno-unknown-attributes -Wno-unknown-pragmas -Wlogical-op -Wformat-security -Wstack-usage=16384 -Wframe-larger-than=8192 -Walloca -ftls-model=initial-exec -pthread -pipe -march=native -O3 -fgcse-sm -fgcse-las -fsched-stalled-insns=0 -fsched-pressure -fsched-spec-load -fira-hoist-pressure -fbranch-target-load-optimize -frerun-loop-opt -fdevirtualize-at-ltrans -fipa-pta -fmodulo-sched -fmodulo-sched-allow-regmoves -ftracer -ftree-loop-im -ftree-switch-conversion -g -ggdb -frecord-gcc-switches -fstack-protector-explicit -fvtable-verify=none -fvisibility-inlines-hidden -fnothrow-opt -fno-threadsafe-statics -fverbose-asm -fsigned-char -MT cbor.lo -MD -MP -MF .deps/cbor.Tpo -c cbor.cc  -fPIC -DPIC -o .libs/cbor.o
cbor.cc: В статической функции-члене «static uint8_t ircd::cbor::head::major(const uint8_t&)»:
cbor.cc:174:14: внутренняя ошибка компилятора: в sign_mask, в wide-int.h:855
  174 |  return a >> shift;
      |              ^~~~~
Отправьте подробное сообщение об ошибке
с препроцессированным исходным кодом.

Инструкции см. в <https://bugs.archlinux.org/>.

make[1]: *** [Makefile:834: cbor.lo] Ошибка 1
make[1]: выход из каталога «/home/cypa/builds/construct/ircd»
make: *** [Makefile:510: all-recursive] Ошибка 1
jevolk commented 4 years ago

Thanks, what version of g++?

cypa commented 4 years ago

~/builds/constructλ g++ --version g++ (GCC) 10.1.0

(it's latest stable archlinux with all updates on my laptop)

cypa commented 4 years ago

success, make finished