please drop build-dependency on g++-4.9

Bug #1452331 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
media-hub (Ubuntu)
Fix Released
Critical
Thomas Voß

Bug Description

The media-hub package currently has a build-dependency on g++-4.9. This build-dependency is present because of the recommendations on https://wiki.ubuntu.com/cpp-11 about handling of C++11.

The C++11 ABI has now stabilized in gcc as of gcc 5; however, before we can switch to gcc 5, we first need to be able to do rebuild tests of the archive against this compiler.

To facilitate this, please drop the build-dependency on g++-4.9 from the package in wily. 4.9 will remain the default until all transition issues have been identified, so there is no risk of accidental ABI breakage here anymore.

Tags: lsd-cxx11

Related branches

Steve Langasek (vorlon)
tags: added: lsd-cxx11
Revision history for this message
Matthias Klose (doko) wrote :

raising importance, prevents build using GCC 5, which will become the default at the end of July

Changed in media-hub (Ubuntu):
importance: Undecided → Critical
milestone: none → ubuntu-15.07
status: New → Confirmed
Changed in media-hub (Ubuntu):
assignee: nobody → Thomas Voß (thomas-voss)
Revision history for this message
Thomas Voß (thomas-voss) wrote :
Download full text (3.3 KiB)

When trying to compile the attached branch, an ICE is triggered:

[ 64%] Building CXX object src/core/media/CMakeFiles/media-hub-service.dir/player_skeleton.cpp.o
cd /scratch/gcc5/fix-1452331/build/src/core/media && /usr/bin/x86_64-linux-gnu-g++ -DMEDIA_HUB_HAVE_HYBRIS_MEDIA_COMPAT_LAYER -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_NO_DEBUG -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=c++11 -Wall -fno-strict-aliasing -Wextra -fPIC -pthread -Wno-error=unused-local-typedefs -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/scratch/gcc5/fix-1452331/include -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/scratch/gcc5/fix-1452331/src -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -fPIC -o CMakeFiles/media-hub-service.dir/player_skeleton.cpp.o -c /scratch/gcc5/fix-1452331/src/core/media/player_skeleton.cpp
In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:104:0,
                 from /usr/include/boost/asio/detail/impl/eventfd_select_interrupter.ipp:23,
                 from /usr/include/boost/asio/detail/eventfd_select_interrupter.hpp:80,
                 from /usr/include/boost/asio/detail/select_interrupter.hpp:25,
                 from /usr/include/boost/asio/detail/epoll_reactor.hpp:29,
                 from /usr/include/boost/asio/detail/reactor.hpp:21,
                 from /usr/include/boost/asio/detail/impl/task_io_service.ipp:24,
                 from /usr/include/boost/asio/detail/task_io_service.hpp:198,
                 from /usr/include/boost/asio/impl/io_service.hpp:71,
                 from /usr/include/boost/asio/io_service.hpp:767,
                 from /usr/include/boost/asio/basic_io_object.hpp:19,
                 from /usr/include/boost/asio/basic_socket.hpp:20,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
                 from /usr/include/boost/asio.hpp:21,
                 from /scratch/gcc5/fix-1452331/src/core/media/external_services.h:25,
                 from /scratch/gcc5/fix-1452331/src/core/media/player_skeleton.cpp:22:
/usr/include/x86_64-linux-gnu/bits/stat.h:93:5: internal compiler error: Segmentation fault
     struct timespec st_ctim; /* Time of last status change. */
     ^
0xaaaf2f crash_signal
 ../../src/gcc/toplev.c:383
0x1086a91 _cpp_skip_block_comment
 ../../src/libcpp/lex.c:1111
0x108947a _cpp_lex_direct
 ../../src/libcpp/lex.c:2432
0x10898ed _cpp_lex_token
 ../../src/libcpp/lex.c:2176
0x108e3d7 cpp_get_token_1
 ../../src/libcpp/macro.c:2442
0x741edc c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int)
 ../../src/gcc/c-family/c-lex.c:408
0x66470f cp_lexer_get_preprocessor_token
 ../../src/gcc/cp/parser.c:779
0x693708 cp_lexer_new_main
 ../../src/gcc/cp/parser.c:660
0x693708 cp_parser_new
 ../../src/gcc/cp/parser.c:3484
0x693708 c_parse_file()
 ../../src/gcc/cp/parser.c:33224
0x746c62 c_common_parse_file()
 ../../src/gcc/c-family/c-opts.c:1057
Please submit a full bug report,
with pr...

Read more...

Changed in media-hub (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Matthias Klose (doko) wrote :

the ICE is not reproducible for me. It would be good to show it in a PPA build. However the build fails later, because you didn't rename the .install files.

Steve Langasek (vorlon)
Changed in media-hub (Ubuntu):
status: In Progress → Fix Released
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.