This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/83372] Compiler segfaults building Mir


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

--- Comment #14 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Created attachment 43389
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43389&action=edit
The slightly tweaked version of the source with which I can reproduce this

I was able to reliably reproduce with r257097 using:

./xg++ -B. -I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/core
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/common
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/cookie
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/common
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/capnproto
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/protobuf
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/platform
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/client
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/server
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderer
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/gl
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/sw
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/platform
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/client
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/server
-I
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/cookie
-I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -D_GNU_SOURCE
-D_REENTRANT -D LOG_NDEBUG=1 -D MESA_EGL_NO_X11_HEADERS -D
MIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -D MIR_LOG_COMPONENT_FALLBACK="mirserver"
-D MIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API -D
MIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT -D
MIR_SERVER_GLEXT_H="<GLES2/gl2ext.h>" -D MIR_SERVER_GL_H="<GLES2/gl2.h>" -D
MIR_SERVER_GRAPHICS_PLATFORM_VERSION="MIR_GRAPHICS_PLATFORM_0.27" -D
MIR_SERVER_INPUT_PLATFORM_VERSION="MIR_INPUT_PLATFORM_0.27" -D
MIR_SERVER_PLATFORM_PATH="/usr/lib64/mir/server-platform" -D
MIR_VERSION="0.29.0" -D MIR_VERSION_MAJOR=0 -D MIR_VERSION_MICRO=0 -D
MIR_VERSION_MINOR=29 -D _FILE_OFFSET_BITS=64 -D _GNU_SOURCE -D_FORTIFY_SOURCE=2
-m64 -mtune=generic -march=x86-64 -g -grecord-gcc-switches -g -O2 -Wall
-Wpedantic -Wnon-virtual-dtor -Wextra -Wno-psabi -std=c++14 -fexceptions
-fstack-protector-strong -fno-strict-aliasing -fPIC -flto -ffat-lto-objects
--param ssp-buffer-size=4 -o - -frandom-seed=0 -fdump-noaddr -c
../../src/pr83372-mir.cc --param ggc-min-expand=0 --param ggc-min-heapsize=0

though it takes ~1 hr to hit the ICE (hence the lack of reduction of these
options or code...)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]