From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86719 invoked by alias); 15 Dec 2015 11:39:45 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 86704 invoked by uid 89); 15 Dec 2015 11:39:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 X-HELO: aserp1040.oracle.com Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 15 Dec 2015 11:39:42 +0000 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id tBFBcSFS012091 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 15 Dec 2015 11:38:29 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id tBFBcSno026020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 15 Dec 2015 11:38:28 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id tBFBcSbU025243; Tue, 15 Dec 2015 11:38:28 GMT Received: from termi.oracle.com (/10.175.163.240) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 15 Dec 2015 03:38:28 -0800 From: jose.marchesi@oracle.com (Jose E. Marchesi) To: Pedro Alves Cc: Yao Qi , "gdb\@sourceware.org" Subject: Re: C++ conversion status update References: <565460FB.6070103@redhat.com> <86zixdnlfg.fsf@gmail.com> <566F13D4.9000900@redhat.com> Date: Tue, 15 Dec 2015 11:39:00 -0000 In-Reply-To: <566F13D4.9000900@redhat.com> (Pedro Alves's message of "Mon, 14 Dec 2015 19:09:08 +0000") Message-ID: <877fkglytf.fsf@oracle.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00013.txt.bz2 >> The question I have is which hosts (Architecture + OS combination) p= eople >> care about that still need C++ conversion work and thus should be on >> that list? >=20 > How about all linux and mingw hosts? assuming that xtensa can be > converted. =20=20=20=20 x86-64 and x86 mingw built cleanly last I tried. =20=20=20=20 I don't know about _all_ Linux hosts, hence the RFH. =20=20=20=20 At least x86, x86_64, Aarch64, ARM, and PPC64 build cleanly. Or did, a few weeks back. In sparc-*-linux-gnu: - Builds fine with GCC 6 (svn). - Builds fine with GCC 4.9.1. - Build fails with GCC 4.4.7: g++ -g -O2 -I. -I../../gdb -I../../gdb/common -I../../gdb/config -DLOCALE= DIR=3D"\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/= opcode -I../../gdb/../opcodes/.. -I../../gdb/../readline/.. -I../../gdb/../= zlib -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber -= I../../gdb/../libdecnumber -I../../gdb/gnulib/import -Ibuild-gnulib/import= -DTUI=3D1 -I/usr/include/python2.6 -I/usr/include/python2.6 -Wall -Wpoi= nter-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-ch= ar-subscripts -Wempty-body -Wno-sign-compare -Wno-write-strings -Wno-narrow= ing -Wformat-nonliteral -Werror -c -o sparc64-tdep.o -MT sparc64-tdep.o -MM= D -MP -MF .deps/sparc64-tdep.Tpo ../../gdb/sparc64-tdep.c cc1plus: warnings being treated as errors In file included from ../../gdb/target.h:74, from ../../gdb/exec.h:23, from ../../gdb/gdbcore.h:29, from ../../gdb/sparc64-tdep.c:27: ../../gdb/btrace.h: In function =E2=80=98size_t VEC_btrace_insn_s_embedded_= size(int)=E2=80=99: ../../gdb/btrace.h:84: error: invalid access to non-static data member =E2= =80=98VEC_btrace_insn_s::vec=E2=80=99 of NULL object ../../gdb/btrace.h:84: error: (perhaps the =E2=80=98offsetof=E2=80=99 macro= was used incorrectly) ../../gdb/btrace.h: In function =E2=80=98VEC_btrace_insn_s* VEC_btrace_insn= _s_alloc(int)=E2=80=99: ../../gdb/btrace.h:84: error: invalid access to non-static data member =E2= =80=98VEC_btrace_insn_s::vec=E2=80=99 of NULL object ../../gdb/btrace.h:84: error: (perhaps the =E2=80=98offsetof=E2=80=99 macro= was used incorrectly) ../../gdb/btrace.h: In function =E2=80=98VEC_btrace_insn_s* VEC_btrace_insn= _s_copy(VEC_btrace_insn_s*)=E2=80=99: ../../gdb/btrace.h:84: error: invalid access to non-static data member =E2= =80=98VEC_btrace_insn_s::vec=E2=80=99 of NULL object ../../gdb/btrace.h:84: error: (perhaps the =E2=80=98offsetof=E2=80=99 macro= was used incorrectly) ../../gdb/btrace.h: In function =E2=80=98VEC_btrace_insn_s* VEC_btrace_insn= _s_merge(VEC_btrace_insn_s*, VEC_btrace_insn_s*)=E2=80=99: ../../gdb/btrace.h:84: error: invalid access to non-static data member =E2= =80=98VEC_btrace_insn_s::vec=E2=80=99 of NULL object ../../gdb/btrace.h:84: error: (perhaps the =E2=80=98offsetof=E2=80=99 macro= was used incorrectly) ../../gdb/btrace.h: In function =E2=80=98int VEC_btrace_insn_s_reserve(VEC_= btrace_insn_s**, int, const char*, unsigned int)=E2=80=99: ../../gdb/btrace.h:84: error: invalid access to non-static data member =E2= =80=98VEC_btrace_insn_s::vec=E2=80=99 of NULL object ../../gdb/btrace.h:84: error: (perhaps the =E2=80=98offsetof=E2=80=99 macro= was used incorrectly) At global scope: cc1plus: error: unrecognized command line option "-Wno-narrowing" make[2]: *** [sparc64-tdep.o] Error 1 make[2]: Leaving directory `/home/jemarch/couts2/binutils-gdb/build/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/jemarch/couts2/binutils-gdb/build' make: *** [all] Error 2