[Bug c++/90341] New: pcsx2-git: "At global scope: cc1plus: internal compiler error: Segmentation fault"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90341 Bug ID: 90341 Summary: pcsx2-git: "At global scope: cc1plus: internal compiler error: Segmentation fault" Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kyle.devir at mykolab dot com Target Milestone: --- Created attachment 46285 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46285&action=edit command line and error output gcc -v output: COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /run/media/valmar/Data/Packages/AUR/IndependentGit/gcc-git/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++ --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto Thread model: posix gcc version 9.1.1 20190503 (GCC)
[Bug c++/90341] pcsx2-git: "At global scope: cc1plus: internal compiler error: Segmentation fault"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90341 --- Comment #1 from Kyle De'Vir --- Created attachment 46286 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46286&action=edit Required preprocessed files
[Bug c++/90341] pcsx2-git: "At global scope: cc1plus: internal compiler error: Segmentation fault"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90341 --- Comment #2 from Kyle De'Vir --- I hope this amount of info is sufficient to debug the issue. :)
[Bug c++/90341] pcsx2-git: "At global scope: cc1plus: internal compiler error: Segmentation fault"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90341 --- Comment #4 from Kyle De'Vir --- Here's what `-march=native` expands to: COLLECT_GCC_OPTIONS='-march=native' /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/cc1 -quiet - "-march=znver1" -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mmovbe -maes -msha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mno-sgx -mbmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mmwaitx -mclzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite --param "l1-cache-size=32" --param "l1-cache-line-size=64" --param "l2-cache-size=512" "-mtune=znver1" -quiet -dumpbase - -auxbase - -o /tmp/ccfG19H9.s COLLECT_GCC_OPTIONS='-march=native' as --64 -o /tmp/ccFUIPM3.o /tmp/ccfG19H9.s COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-march=native' /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/liblto_plugin.so "-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/lto-wrapper" "-plugin-opt=-fresolution=/tmp/ccToAwRX.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 /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/../../.. /tmp/ccFUIPM3.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/9.1.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/../../../../lib/crtn.o COLLECT_GCC_OPTIONS='-march=native'
[Bug c++/90341] pcsx2-git: "At global scope: cc1plus: internal compiler error: Segmentation fault"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90341 --- Comment #6 from Kyle De'Vir --- I haven't been able to reproduce this for a long time now. Would new pre-processed files be of any worth?
[Bug c++/90341] pcsx2-git: "At global scope: cc1plus: internal compiler error: Segmentation fault"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90341 --- Comment #7 from Kyle De'Vir --- I haven't been able to reproduce this for a long time now. Would new pre-processed files be of any worth?