Summary: | sys-devel/gcc: ICE when building dev-ros/rosserial_server-0.9.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | ros, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: |
emerge-info.txt
dev-ros:rosserial_server-0.9.2:20211210-211204.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 tf_monitor.cpp.ii.bz2 |
Description
Toralf Förster
![]() Created attachment 758352 [details]
emerge-info.txt
Created attachment 758353 [details]
dev-ros:rosserial_server-0.9.2:20211210-211204.log
Created attachment 758354 [details]
emerge-history.txt
Created attachment 758355 [details]
environment
Created attachment 758356 [details]
etc.portage.tar.bz2
Created attachment 758357 [details]
logs.tar.bz2
Created attachment 758358 [details]
temp.tar.bz2
toralf, is this reproducible? If so, we should follow https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide. *** Bug 828850 has been marked as a duplicate of this bug. *** *** Bug 828776 has been marked as a duplicate of this bug. *** (In reply to Sam James from comment #8) > toralf, is this reproducible? > yep https://bugs.gentoo.org/buglist.cgi?quicksearch=internal%20compiler%20error&list_id=5994883 *** Bug 823830 has been marked as a duplicate of this bug. *** *** Bug 796938 has been marked as a duplicate of this bug. *** *** Bug 715388 has been marked as a duplicate of this bug. *** *** Bug 785625 has been marked as a duplicate of this bug. *** *** Bug 788802 has been marked as a duplicate of this bug. *** (In reply to Sam James from comment #8) > toralf, is this reproducible? > > If so, we should follow https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide. Hhm, seems not to be reproducible. I do have here the image 17-0-musl-hardened-j4-20211215-000030- with this issue: during GIMPLE pass: strlen In file included from /usr/include/pluginlib/class_loader.hpp:350, from /var/tmp/portage/dev-ros/urdf-1.13.2-r2/work/urdf-1.13.2/urdf/src/model.cpp:48: /usr/include/pluginlib/class_loader_imp.hpp: In member function 'int pluginlib::ClassLoader<T>::unloadLibraryForClass(const string&) [with T = urdf::URDFParser]': /usr/include/pluginlib/class_loader_imp.hpp:819:5: internal compiler error: Segmentation fault 819 | int ClassLoader<T>::unloadLibraryForClass(const std::string & lookup_name) | ^~~~~~~~~~~~~~ 0x172fc98 internal_error(char const*, ...) ???:0 and now few minutes later it worked:-/ So maybe a -j4 problem ? I found an image where it reliable gives the ICE - but I dunno how to complete the save-temps step. W/o I get: 17-0-musl-hardened-j4-20211213-184654- /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/tf-1.13.2_build # /usr/bin/x86_64-gentoo-linux-musl-g++ -DBOOST_ALL_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"tf\" -I/var/tmp/portage/dev-ros/tf-1.13.2-r4/work/tf-1.13.2_build/devel/include -I/var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/include -I/usr/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -std=c++11 -MD -MT CMakeFiles/tf_monitor.dir/src/tf_monitor.cpp.o -MF CMakeFiles/tf_monitor.dir/src/tf_monitor.cpp.o.d -o CMakeFiles/tf_monitor.dir/src/tf_monitor.cpp.o -c /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/src/tf_monitor.cpp In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/include/tf/time_cache.h:36, from /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/include/tf/tf.h:44, from /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/src/tf_monitor.cpp:35: /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( | ^~~~~~~~~~~~~~~~~~~~ during GIMPLE pass: strlen In file included from /usr/include/ros/subscriber.h:33, from /usr/include/ros/node_handle.h:33, from /usr/include/ros/ros.h:45, from /usr/include/tf2_ros/buffer.h:38, from /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/include/tf/tf.h:49, from /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/src/tf_monitor.cpp:35: /usr/include/ros/subscription_callback_helper.h: In member function 'ros::VoidConstPtr ros::SubscriptionCallbackHelperT<P, Enabled>::deserialize(const ros::SubscriptionCallbackHelperDeserializeParams&) [with P = const boost::shared_ptr<const tf::tfMessage_<std::allocator<void> > >&; Enabled = void]': /usr/include/ros/subscription_callback_helper.h:118:24: internal compiler error: Segmentation fault 118 | virtual VoidConstPtr deserialize(const SubscriptionCallbackHelperDeserializeParams& params) | ^~~~~~~~~~~ 0x17748ff internal_error(char const*, ...) ???:0 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. But with that option I do get : 17-0-musl-hardened-j4-20211213-184654- /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/tf-1.13.2_build # /usr/bin/x86_64-gentoo-linux-musl-g++ -DBOOST_ALL_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"tf\" -I/var/tmp/portage/dev-ros/tf-1.13.2-r4/work/tf-1.13.2_build/devel/include -I/var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/include -I/usr/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -std=c++11 -MD -MT CMakeFiles/tf_monitor.dir/src/tf_monitor.cpp.o -MF CMakeFiles/tf_monitor.dir/src/tf_monitor.cpp.o.d -o CMakeFiles/tf_monitor.dir/src/tf_monitor.cpp.o -c /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/src/tf_monitor.cpp -save-temps x86_64-gentoo-linux-musl-g++: warning: '-pipe' ignored because '-save-temps' specified In file included from /usr/include/ros/publisher.h:35, from /usr/include/ros/node_handle.h:32, from /usr/include/ros/ros.h:45, from /usr/include/tf2_ros/buffer.h:38, from /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/include/tf/tf.h:49, from /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/geometry-1.13.2/tf/src/tf_monitor.cpp:35: /usr/include/boost/bind.hpp:41:273: 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.' 41 | ) | 17-0-musl-hardened-j4-20211213-184654- /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/tf-1.13.2_build # arch=znver3; for t in param target; do cmd="gcc -Q -O2 -march=$arch --help=$t"; diff -U0 <(LANG=C $cmd) <(LANG=C $cmd -march=native); done --- /dev/fd/63 2021-12-15 17:33:48.383714102 +0100 +++ /dev/fd/62 2021-12-15 17:33:48.383714102 +0100 @@ -158 +158 @@ - -mshstk [disabled] + -mshstk [enabled] 17-0-musl-hardened-j4-20211213-184654- /var/tmp/portage/dev-ros/tf-1.13.2-r4/work/tf-1.13.2_build # gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-gentoo-linux-musl/11.2.1/lto-wrapper Target: x86_64-gentoo-linux-musl Configured with: /var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/gcc-11-20211127/configure --host=x86_64-gentoo-linux-musl --build=x86_64-gentoo-linux-musl --prefix=/usr --bindir=/usr/x86_64-gentoo-linux-musl/gcc-bin/11.2.1 --includedir=/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/include --datadir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/11.2.1 --mandir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/11.2.1/man --infodir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/11.2.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/include/g++-v11 --with-python-dir=/share/gcc-data/x86_64-gentoo-linux-musl/11.2.1/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 11.2.1_p20211127 p0' --enable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-multilib --with-multilib-list=m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --disable-libsanitizer --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.2.1 20211127 (Gentoo Hardened 11.2.1_p20211127 p0) that second command looks like it worked. There should be a .ii file in the the directory Created attachment 759275 [details]
tf_monitor.cpp.ii.bz2
tf_monitor.cpp.ii
*** Bug 829451 has been marked as a duplicate of this bug. *** *** Bug 830078 has been marked as a duplicate of this bug. *** *** Bug 830704 has been marked as a duplicate of this bug. *** *** Bug 786282 has been marked as a duplicate of this bug. *** FWIW it seems that -j1 helped Package removed. |