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


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

--- Comment #10 from Alan Griffiths <alan at octopull dot co.uk> ---
It took me some time and effort to reproduce too. :(

Building in my normal development environments showed no problems. And I've yet
to reproduce on Ubuntu (although the builders we use fail building for 17.10).

The steps I took (on Fedora 27):

$ sudo dnf install mock
$ sudo usermod -a -G mock $USER
$ wget
https://copr-be.cloud.fedoraproject.org/results/ngompa/mir-prerel-fedora/fedora-27-x86_64/00685833-mir/mir-0.29~git20171208.1.5500595-0.fc27.1.src.rpm
$ mock -r fedora-27-x86_64 mir-0.29~git20171208.1.5500595-0.fc27.1.src.rpm
$ mock -r fedora-27-x86_64 --shell
# cd
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/server/frontend/wayland
&& /usr/bin/c++  -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS
-DMIR_DRMMODEADDFB_HAS_CONST_SIGNATURE
-DMIR_LOG_COMPONENT_FALLBACK=\"mirserver\"
-DMIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API
-DMIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT
-DMIR_SERVER_GLEXT_H="<GLES2/gl2ext.h>" -DMIR_SERVER_GL_H="<GLES2/gl2.h>"
-DMIR_SERVER_GRAPHICS_PLATFORM_VERSION=\"MIR_GRAPHICS_PLATFORM_0.27\"
-DMIR_SERVER_INPUT_PLATFORM_VERSION=\"MIR_INPUT_PLATFORM_0.27\"
-DMIR_SERVER_PLATFORM_PATH=\"/usr/lib64/mir/server-platform\"
-DMIR_VERSION=\"0.29.0\" -DMIR_VERSION_MAJOR=0 -DMIR_VERSION_MICRO=0
-DMIR_VERSION_MINOR=29 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-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  -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pthread -g
-std=c++14 -Werror -Wall -fno-strict-aliasing -pedantic -Wnon-virtual-dtor
-Wextra -fPIC -Wno-psabi -flto -ffat-lto-objects   -o
CMakeFiles/mirfrontend-wayland.dir/wayland_connector.cpp.o -c
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/server/frontend/wayland/wayland_connector.cpp

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