Re: Re: about upstart
How does ubuntu solve the the problem “initctl can not use when /sbin/upstart and systemd in ubuntu14.10”.And how is the reasion? yan...@iscas.ac.cn From: Martin Pitt Date: 2016-01-07 15:15 To: yan...@iscas.ac.cn CC: ubuntu-devel-discuss Subject: Re: Re: about upstart Hello yankun, yan...@iscas.ac.cn [2016-01-07 9:04 +0800]: > Thank you Martin.There is also a doubt: how the lightdm starts > upstart? I can not find anything useful in unit files ? lightdm does not do that by itself, it's done by /etc/X11/Xsession.d/{00,99}upstart . Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Re: about upstart
On Thu, Jan 07, 2016 at 09:04:59AM +0800, yan...@iscas.ac.cn wrote: > Thank you Martin.There is also a doubt: how the lightdm starts > upstart? I can not find anything useful in unit files ? It's hooked up via Xsession configuration, in /etc/X11/Xsession.d/00upstart and /etc/X11/Xsession.d/99upstart. -- Colin Watson [cjwat...@ubuntu.com] -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Re: about upstart
Thank you Martin.There is also a doubt: how the lightdm starts upstart? I can not find anything useful in unit files ? yan...@iscas.ac.cn From: Martin Pitt Date: 2016-01-06 17:41 To: yan...@iscas.ac.cn CC: ubuntu-devel-discuss Subject: Re: Re: about upstart yan...@iscas.ac.cn [2016-01-06 17:16 +0800]: > Thanks for your reply.Is there any other reasion.By "pstree",the pulseaudio > is started by upstart.I mean,even when I choose systemd as the init daemon.I > can not remove upstart in Ubuntu15.04 ? Yes, pulseaudio is a session process and started by the session upstart. You can't entirely remove upstart in Ubuntu yet, just upstart-sysv for the system services. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Package: flashbake Version: 0.26.2-4
Hello, there is an unfixed bug in current ubuntu (14.04) package of flashbake (0.26.2-4). Please see https://github.com/commandline/flashbake/issues/20 for patch. Best regards, Andreas Hauber -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: libstdc++ with gcc 4.9 on ubuntu 15.10
On 01/06/2016 11:56 AM, Matthias Klose wrote: On 06.01.2016 11:47, Peter Steinbach wrote: Hi - I am the developer of a CUDA library and the users recently reported a bug for ubuntu 15.10. As CUDA currently does not support gcc 5.*, I have to compile all host binaries with gcc-4.9. The funny thing, my build system bails out with the following error message when linking to libboost_unit_test_framework which I was able to reproduce with the attached source code: $ gcc-4.9 -D_GLIBCXX_USE_CXX11_ABI=0 external_main_example_1.cpp -lboost_unit_test_framework tmp/ccDk5v3M.o: In function `boost::unit_test::make_test_case(boost::unit_test::callback0 const&, boost::unit_test::basic_cstring)': external_main_example_1.cpp:(.text._ZN5boost9unit_test14make_test_caseERKNS0_9callback0INS0_9ut_detail6unusedEEENS0_13basic_cstringIKcEE[_ZN5boost9unit_test14make_test_caseERKNS0_9callback0INS0_9ut_detail6unusedEEENS0_13basic_cstringIKcEE]+0x42): undefined reference to `boost::unit_test::ut_detail::normalize_test_case_name(boost::unit_test::basic_cstring)' collect2: error: ld returned 1 exit status -D_GLIBCXX_USE_CXX11_ABI=0 has no effect with GCC 4.9. The above follows the recommendations from https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html. Note that, if I build boost with gcc 4.9 on 15.10, the above works as expected. I was wondering if this is a known feature of the ubuntu boost distro? Are there any workarounds to this, that I potentially overlooked? You have to use CUDA 7.5. Afaik that's the only version supporting GCC 5. Or you have to rebuild every c++ library except libstdc++ using gcc-4.9 or gcc-5 -D_GLIBCXX_USE_CXX11_ABI=0. Just tested cuda 7.5 on a very simple app: #include "cuda.h" #include int main(){ std::cout << "hw!\n"; } and got: $ nvcc test.cu #on ubuntu 15.10 with cuda 7.5 In file included from /usr/local/cuda-7.5//bin/..//include/cuda_runtime.h:76:0, from :0: /usr/local/cuda-7.5//bin/..//include/host_config.h:115:2: error: #error -- unsupported GNU version! gcc versions later than 4.9 are not supported! #error -- unsupported GNU version! gcc versions later than 4.9 are not supported! ^ if you however run: $ nvcc -ccbin `which g++-4.9` test.cu it works perfectly! -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: libstdc++ with gcc 4.9 on ubuntu 15.10
On 06.01.2016 11:47, Peter Steinbach wrote: Hi - I am the developer of a CUDA library and the users recently reported a bug for ubuntu 15.10. As CUDA currently does not support gcc 5.*, I have to compile all host binaries with gcc-4.9. The funny thing, my build system bails out with the following error message when linking to libboost_unit_test_framework which I was able to reproduce with the attached source code: $ gcc-4.9 -D_GLIBCXX_USE_CXX11_ABI=0 external_main_example_1.cpp -lboost_unit_test_framework tmp/ccDk5v3M.o: In function `boost::unit_test::make_test_case(boost::unit_test::callback0 const&, boost::unit_test::basic_cstring)': external_main_example_1.cpp:(.text._ZN5boost9unit_test14make_test_caseERKNS0_9callback0INS0_9ut_detail6unusedEEENS0_13basic_cstringIKcEE[_ZN5boost9unit_test14make_test_caseERKNS0_9callback0INS0_9ut_detail6unusedEEENS0_13basic_cstringIKcEE]+0x42): undefined reference to `boost::unit_test::ut_detail::normalize_test_case_name(boost::unit_test::basic_cstring)' collect2: error: ld returned 1 exit status -D_GLIBCXX_USE_CXX11_ABI=0 has no effect with GCC 4.9. The above follows the recommendations from https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html. Note that, if I build boost with gcc 4.9 on 15.10, the above works as expected. I was wondering if this is a known feature of the ubuntu boost distro? Are there any workarounds to this, that I potentially overlooked? You have to use CUDA 7.5. Afaik that's the only version supporting GCC 5. Or you have to rebuild every c++ library except libstdc++ using gcc-4.9 or gcc-5 -D_GLIBCXX_USE_CXX11_ABI=0. -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
libstdc++ with gcc 4.9 on ubuntu 15.10
Hi - I am the developer of a CUDA library and the users recently reported a bug for ubuntu 15.10. As CUDA currently does not support gcc 5.*, I have to compile all host binaries with gcc-4.9. The funny thing, my build system bails out with the following error message when linking to libboost_unit_test_framework which I was able to reproduce with the attached source code: $ gcc-4.9 -D_GLIBCXX_USE_CXX11_ABI=0 external_main_example_1.cpp -lboost_unit_test_framework tmp/ccDk5v3M.o: In function `boost::unit_test::make_test_case(boost::unit_test::callback0 const&, boost::unit_test::basic_cstring)': external_main_example_1.cpp:(.text._ZN5boost9unit_test14make_test_caseERKNS0_9callback0INS0_9ut_detail6unusedEEENS0_13basic_cstringIKcEE[_ZN5boost9unit_test14make_test_caseERKNS0_9callback0INS0_9ut_detail6unusedEEENS0_13basic_cstringIKcEE]+0x42): undefined reference to `boost::unit_test::ut_detail::normalize_test_case_name(boost::unit_test::basic_cstring)' collect2: error: ld returned 1 exit status The above follows the recommendations from https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html. Note that, if I build boost with gcc 4.9 on 15.10, the above works as expected. I was wondering if this is a known feature of the ubuntu boost distro? Are there any workarounds to this, that I potentially overlooked? Best, Peter #ifndef BOOST_TEST_DYN_LINK #define BOOST_TEST_DYN_LINK #endif #include #include using namespace boost::unit_test; //// void free_test_function( int i, int j ) { BOOST_CHECK_EQUAL( i, j ); } //// bool init_function() { framework::master_test_suite(). add( BOOST_TEST_CASE( boost::bind( &free_test_function, 1, 1 ) ) ); framework::master_test_suite(). add( BOOST_TEST_CASE( boost::bind( &free_test_function, 1, 2 ) ) ); framework::master_test_suite(). add( BOOST_TEST_CASE( boost::bind( &free_test_function, 2, 1 ) ) ); // do your own initialization here // if it successful return true // But, you CAN'T use testing tools here return true; } //// int main( int argc, char* argv[] ) { return ::boost::unit_test::unit_test_main( &init_function, argc, argv ); } //// -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Re: about upstart
yan...@iscas.ac.cn [2016-01-06 17:16 +0800]: > Thanks for your reply.Is there any other reasion.By "pstree",the pulseaudio > is started by upstart.I mean,even when I choose systemd as the init daemon.I > can not remove upstart in Ubuntu15.04 ? Yes, pulseaudio is a session process and started by the session upstart. You can't entirely remove upstart in Ubuntu yet, just upstart-sysv for the system services. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Re: about upstart
Thanks for your reply.Is there any other reasion.By "pstree",the pulseaudio is started by upstart.I mean,even when I choose systemd as the init daemon.I can not remove upstart in Ubuntu15.04 ? yan...@iscas.ac.cn From: Martin Pitt Date: 2016-01-06 16:59 To: yan...@iscas.ac.cn CC: ubuntu-devel-discuss Subject: Re: about upstart Hello yankun, yan...@iscas.ac.cn [2016-01-06 13:47 +0800]: > In ubuntu15.04,there is also upstart running when systemd is the init.So why > to do this ? You are most probably seeing the session upstart process. User sessions haven't been converted away from upstart (to systemd or dbus activation) yet. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: about upstart
Hello yankun, yan...@iscas.ac.cn [2016-01-06 13:47 +0800]: > In ubuntu15.04,there is also upstart running when systemd is the init.So why > to do this ? You are most probably seeing the session upstart process. User sessions haven't been converted away from upstart (to systemd or dbus activation) yet. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
about upstart
Hi,all In ubuntu15.04,there is also upstart running when systemd is the init.So why to do this ? yan...@iscas.ac.cn -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss