[jammy] FTBFS, gcc ICE?

Bug #1953200 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-11 (Ubuntu)
Invalid
Undecided
Unassigned
mir (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

https://launchpad.net/ubuntu/+source/mir/2.4.1-0ubuntu3

[ 38%] Building CXX object src/client/CMakeFiles/mirclientobjects.dir/event_printer.cpp.o
cd /<<PKGBUILDDIR>>/build-amd64/src/client && /usr/bin/c++ -DCLIENT_PLATFORM_VERSION=\"MIR_CLIENT_PLATFORM_5\" -DEGL_NO_X11 -DLOG_NDEBUG=1 -DLTTNG_UST_HAVE_SDT_INTEGRATION -DMESA_EGL_NO_X11_HEADERS -DMIR_CLIENT_PLATFORM_PATH=\"/usr/lib/x86_64-linux-gnu/mir/client-platform/\" -DMIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -DMIR_LOG_COMPONENT_FALLBACK=\"mirclient\" -DMIR_VERSION_MAJOR=2 -DMIR_VERSION_MICRO=1 -DMIR_VERSION_MINOR=4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/core -I/<<PKGBUILDDIR>>/include/common -I/<<PKGBUILDDIR>>/include/cookie -I/<<PKGBUILDDIR>>/src/include/common -I/<<PKGBUILDDIR>>/build-amd64/src/capnproto -I/<<PKGBUILDDIR>>/build-amd64/src/protobuf -I/<<PKGBUILDDIR>>/build-amd64/src/client -I/<<PKGBUILDDIR>>/include/platform -I/<<PKGBUILDDIR>>/include/client -I/<<PKGBUILDDIR>>/src/include/client -I/<<PKGBUILDDIR>>/src/include/cookie -I/usr/include/libdrm -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -std=c++17 -Wall -fno-strict-aliasing -pedantic -Wnon-virtual-dtor -Wextra -fPIC -Werror -Wno-mismatched-tags -Wno-psabi -flto -ffat-lto-objects -std=c++17 -MD -MT src/client/CMakeFiles/mirclientobjects.dir/event_printer.cpp.o -MF CMakeFiles/mirclientobjects.dir/event_printer.cpp.o.d -o CMakeFiles/mirclientobjects.dir/event_printer.cpp.o -c /<<PKGBUILDDIR>>/src/client/event_printer.cpp
In file included from /usr/include/boost/bind.hpp:30,
                 from /<<PKGBUILDDIR>>/src/client/rpc/mir_protobuf_rpc_channel.cpp:44:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [src/client/lttng/CMakeFiles/mirclientlttng-static.dir/build.make:107: src/client/lttng/CMakeFiles/mirclientlttng-static.dir/input_receiver_report.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-amd64'
make[2]: *** [CMakeFiles/Makefile2:4657: src/client/lttng/CMakeFiles/mirclientlttng-static.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....

Possibly relevant, this seems to be using boost 1.74.0-13ubuntu1

tags: added: update-excuse
removed: update-excuses
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Actually, this may be an ICE. Further up in the logs we see:
[ 37%] Building CXX object src/client/lttng/CMakeFiles/mirclientlttng-static.dir/input_receiver_report.cpp.o
cd /<<PKGBUILDDIR>>/build-amd64/src/client/lttng && /usr/bin/c++ -DCLIENT_PLATFORM_VERSION=\"MIR_CLIENT_PLATFORM_5\" -DEGL_NO_X11 -DLOG_NDEBUG=1 -DLTTNG_UST_HAVE_SDT_INTEGRATION -DMESA_EGL_NO_X11_HEADERS -DMIR_CLIENT_PLATFORM_PATH=\"/usr/lib/x86_64-linux-gnu/mir/client-platform/\" -DMIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -DMIR_LOG_COMPONENT_FALLBACK=\"mirclient\" -DMIR_VERSION_MAJOR=2 -DMIR_VERSION_MICRO=1 -DMIR_VERSION_MINOR=4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/core -I/<<PKGBUILDDIR>>/include/common -I/<<PKGBUILDDIR>>/include/cookie -I/<<PKGBUILDDIR>>/src/include/common -I/<<PKGBUILDDIR>>/build-amd64/src/capnproto -I/<<PKGBUILDDIR>>/build-amd64/src/protobuf -I/<<PKGBUILDDIR>>/build-amd64/src/client -I/<<PKGBUILDDIR>>/include/platform -I/<<PKGBUILDDIR>>/include/client -I/<<PKGBUILDDIR>>/src/include/client -I/<<PKGBUILDDIR>>/src/include/cookie -I/usr/include/libdrm -I/<<PKGBUILDDIR>>/src/client/lttng -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -std=c++17 -Wall -fno-strict-aliasing -Wnon-virtual-dtor -Wextra -fPIC -Werror -Wno-mismatched-tags -Wno-psabi -flto -ffat-lto-objects -Wno-error=missing-field-initializers -Wno-error=unused-function -std=c++17 -MD -MT src/client/lttng/CMakeFiles/mirclientlttng-static.dir/input_receiver_report.cpp.o -MF CMakeFiles/mirclientlttng-static.dir/input_receiver_report.cpp.o.d -o CMakeFiles/mirclientlttng-static.dir/input_receiver_report.cpp.o -c /<<PKGBUILDDIR>>/src/client/lttng/input_receiver_report.cpp
during RTL pass: reload
/<<PKGBUILDDIR>>/src/client/lttng/input_receiver_report.cpp: In member function ‘mir::client::lttng::InputReceiverReport::report_touch(MirInputEvent const*) const’:
/<<PKGBUILDDIR>>/src/client/lttng/input_receiver_report.cpp:80:1: internal compiler error: maximum number of generated reload insns per insn achieved (90)
   80 | }
      | ^
0x7fedb2989fcf __libc_start_call_main
 ../sysdeps/nptl/libc_start_call_main.h:58
0x7fedb298a07c __libc_start_main_impl
 ../csu/libc-start.c:409
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.

summary: - [jammy] FTBFS with boost
+ [jammy] FTBFS, gcc ICE?
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

mir builds with the recent gcc-11 in jammy, closing

Changed in mir (Ubuntu):
status: New → Invalid
Changed in gcc-11 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.