https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051

Julian Waters <tanksherman27 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #62546|0                           |1
        is obsolete|                            |

--- Comment #27 from Julian Waters <tanksherman27 at gmail dot com> ---
Created attachment 62547
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62547&action=edit
Crash with -g -gcodeview even with the workaround patch applied

Sorry, here's the preprocessed source with -save-temps instead of -freport-bug.
I had to compress the ii file because it was too big to be attached normally,
hopefully that's ok. The command line without the -D and -I preprocessor
options is:

-pipe -fno-strict-aliasing -fno-omit-frame-pointer -fno-stack-protector
-finput-charset=utf-8 -std=c++17 -Wall -Wextra -Wformat=2 -Winvalid-pch
-Wpointer-arith -Wreturn-type -Wsign-compare -Wtrampolines -Wtype-limits
-Wundef -Wuninitialized -Wunused-const-variable=1 -Wunused-function
-Wunused-result -Wunused-value -Woverloaded-virtual -Wreorder
-fmacro-prefix-map=/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/=
-fno-lifetime-dse -m64 -flto=15 -fuse-linker-plugin -fno-strict-aliasing
-fno-fat-lto-objects -g -gcodeview
-fdebug-prefix-map=/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/=
-fdebug-prefix-map=/c/msys64/usr/include/=/usr/include/
-fdebug-prefix-map=/c/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/15.1.0/include/=/usr/local/gcc_include/
-fdebug-prefix-map=/c/msys64/ucrt64/include/c++/15.1.0/=/usr/local/gxx_include/
-fdebug-prefix-map=/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/build/windows-x86_64-server-release/=
-Wno-unused-parameter -Wno-array-bounds -Wno-comment
-Wno-delete-non-virtual-dtor -Wno-empty-body -Wno-format-zero-length
-Wno-implicit-fallthrough -Wno-int-in-bool-context -Wno-invalid-offsetof
-Wno-maybe-uninitialized -Wno-missing-field-initializers
-Wno-shift-negative-value -Wno-unknown-pragmas -Wno-unused-but-set-variable
-Wno-unused-local-typedefs -Wno-unused-variable -Wno-cast-function-type
-Wno-sign-compare -Wno-unused-function -Werror -O3 -c -o g1ParScanThreadState.o
g1ParScanThreadState.ii -frandom-seed=g1ParScanThreadState.cpp

Unfortunately there are no functioning debuggers on my device, at least when
trying to debug g++; LLVM's lldb and the Microsoft debugger both don't work
properly with g++, and the only debugger that does, gdb, is currently out of
commission due to a broken TLS ABI in libstdc++

I tried compiling without the following options -flto=15 -fuse-linker-plugin
-fno-strict-aliasing -fno-fat-lto-objects to see if LTO was causing the issue,
but that doesn't seem to be the case, as it crashes even without those options
set.

Reply via email to