Summary: | =sys-devel/gcc-10.2.0-r1 miscompiles at several stages | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | hppa |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | HPPA | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
sys-devel:gcc-10.2.0-r1:20200823-154036.log.xz
sys-devel:gcc-10.2.0-r1:20200824-071658.log.xz sys-devel:gcc-10.2.0-r1:20200824-183112.log.xz sys-devel:gcc-10.2.0-r1:20200825-054059.log.xz sys-devel:gcc-10.2.0-r1:20200827-065153.log.xz sys-devel:gcc-10.2.0-r1:20200827-155237.log.xz |
Description
Jeroen Roovers (RETIRED)
![]() Created attachment 657082 [details]
sys-devel:gcc-10.2.0-r1:20200824-071658.log.xz
Created attachment 657084 [details]
sys-devel:gcc-10.2.0-r1:20200824-183112.log.xz
Created attachment 657086 [details]
sys-devel:gcc-10.2.0-r1:20200825-054059.log.xz
Created attachment 657088 [details]
sys-devel:gcc-10.2.0-r1:20200827-065153.log.xz
Comment on attachment 657086 [details]
sys-devel:gcc-10.2.0-r1:20200825-054059.log.xz
This one I killed so the log shouldn't contain any useful information.
Created attachment 657166 [details]
sys-devel:gcc-10.2.0-r1:20200827-155237.log.xz
(In reply to Jeroen Roovers from comment #6) > Created attachment 657166 [details] > sys-devel:gcc-10.2.0-r1:20200827-155237.log.xz Yeah, looks like it's 10.2.0-r1 itself can't compile things. Posting error snippet here as well: """ /var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/build/./prev-gcc/xg++ -B/var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/build/./prev-gcc/ -B/usr/hppa2.0-unknown-linux-gnu/bin/ -nostdinc++ -B/var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/build/prev-hppa2.0-unknown-linux-gnu/libstdc++-v3/src/.libs -B/var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/build/prev-hppa2.0-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -isystem /var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/build/prev-hppa2.0-unknown-linux-gnu/libstdc++-v3/include/hppa2.0-unknown-linux-gnu -isystem /var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/build/prev-hppa2.0-unknown-linux-gnu/libstdc++-v3/include -isystem /var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/gcc-10.2.0/libstdc++-v3/libsupc++ -L/var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/build/prev-hppa2.0-unknown-linux-gnu/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/build/prev-hppa2.0-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -c -mschedule=8000 -march=2.0 -ggdb -Wall -pipe -Wno-comment -O2 -fno-checking -DIN_GCC -fPIC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I/var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/gcc-10.2.0/gcc -I/var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/gcc-10.2.0/gcc/build -I/var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/gcc-10.2.0/gcc/../include -I/var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/gcc-10.2.0/gcc/../libcpp/include \ -o build/print-rtl.o /var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/gcc-10.2.0/gcc/print-rtl.c during IPA pass: sra /var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/gcc-10.2.0/gcc/print-rtl.c:2155:29: internal compiler error: Segmentation fault 2155 | # pragma GCC diagnostic pop | ^ 0xf6c1af4b __libc_start_main /var/tmp/portage/sys-libs/glibc-2.32/work/glibc-2.32/csu/libc-start.c:314 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. make[3]: *** [Makefile:2725: build/print-rtl.o] Error 1 """ Tried 10.2.0-r1 on hake in shroot with """ CBUILD="hppa2.0-unknown-linux-gnu" CFLAGS="-O2 -pipe -march=2.0 -fdiagnostics-show-option -frecord-gcc-switches" CHOST="hppa2.0-unknown-linux-gnu" CXXFLAGS="-O2 -pipe -march=2.0" """ Built fine. Trying now with: """ CBUILD="hppa2.0-unknown-linux-gnu" CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -fno-common -Wno-comment" CHOST="hppa2.0-unknown-linux-gnu" CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe" """ in hopes to reproduce. Tried as: """ time FEATURES='-fail-clean -strict -stricter -test' CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -fno-common -Wno-comment" CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe" USE='jit objc objc++ objc-gc sanitize zstd' LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory" emerge -av1 gcc """ and got gcc compiled successfully. |