From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9760 invoked by alias); 8 Dec 2017 01:37:36 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 9715 invoked by uid 48); 8 Dec 2017 01:37:32 -0000 From: "mysecondaccountabc at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/22572] New: systemtap 3.2 failed to compile on ARM Date: Fri, 08 Dec 2017 01:37:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mysecondaccountabc at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-q4/txt/msg00176.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D22572 Bug ID: 22572 Summary: systemtap 3.2 failed to compile on ARM Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: mysecondaccountabc at gmail dot com Target Milestone: --- The host OS is a Debian wheeze on ARM. I tried using different combinations systemtap/gcc/g++/kernels but I always have the same error. Basically, I tr= ied: - Systemtap git master and release 3.2 - gcc/g++-4.6 and gcc/g++-4.7 - Kernel 3.2.0-4-versatile and custom 3.2.93-versatile The Systemtap package available in the wheeze apt is not an option because = it is too old (v1.7). Anyway, I tried that Systemtap version and it's working = with my current setup but failing with my current systemtap script because it doesn't have some of the Systemtap functions I'm using on it. The isolated issue is when it tries to compile stap-staptree.o, basically: $ make stap-staptree.o CXX stap-staptree.o In file included from staptree.cxx:10:0: staptree.h: In instantiation of =E2=80=98void std::_Construct(_T1*, _Args&&= ...) [with _T1 =3D print_format::format_component; _Args =3D {print_format::format_component}]=E2=80=99: /usr/include/c++/4.7/bits/stl_uninitialized.h:77:3: required from =E2=80= =98static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator =3D std::move_iterator; _ForwardIterator =3D print_format::format_component*; bool _TrivialValueTypes =3D false]=E2=80=99 /usr/include/c++/4.7/bits/stl_uninitialized.h:119:41: required from =E2=80=98_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIte= rator, _ForwardIterator) [with _InputIterator =3D std::move_iterator; _ForwardIterator =3D print_format::format_component*]=E2=80=99 /usr/include/c++/4.7/bits/stl_uninitialized.h:260:63: required from =E2=80=98_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _Inpu= tIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator =3D std::move_iterator; _ForwardIterator =3D print_format::format_component*; _Tp =3D print_format::format_component]=E2= =80=99 /usr/include/c++/4.7/bits/stl_uninitialized.h:283:69: required from =E2=80=98_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIte= rator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator =3D print_format::format_component*; _ForwardIterator =3D print_format::format_component*; _Allocator =3D std::allocator]=E2=80=99 /usr/include/c++/4.7/bits/vector.tcc:410:6: required from =E2=80=98void std::vector<_Tp, _Alloc>::_M_emplace_back_aux(_Args&& ...) [with _Args =3D = {const print_format::format_component&}; _Tp =3D print_format::format_component; _= Alloc =3D std::allocator]=E2=80=99 /usr/include/c++/4.7/bits/stl_vector.h:891:4: required from =E2=80=98void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp =3D print_format::format_component; _Alloc =3D std::allocator; std::vector<_Tp, _Alloc>::value_type =3D print_format::format_component]=E2=80=99 staptree.cxx:904:33: required from here staptree.h:516:10: error: invalid conversion from =E2=80=98unsigned char=E2= =80=99 to =E2=80=98print_format::width_type=E2=80=99 [-fpermissive] staptree.h:516:10: error: invalid conversion from =E2=80=98unsigned char=E2= =80=99 to =E2=80=98print_format::precision_type=E2=80=99 [-fpermissive] staptree.h:516:10: error: invalid conversion from =E2=80=98unsigned char=E2= =80=99 to =E2=80=98print_format::conversion_type=E2=80=99 [-fpermissive] In file included from /usr/include/c++/4.7/memory:66:0, from staptree.h:14, from staptree.cxx:10: /usr/include/c++/4.7/bits/stl_construct.h:77:7: note: synthesized method =E2=80=98print_format::format_component::format_component(print_format::for= mat_component&&)=E2=80=99 first required here=20 make: *** [stap-staptree.o] Error=20 Cheers, Gus --=20 You are receiving this mail because: You are the assignee for the bug.