From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48193 invoked by alias); 21 Apr 2016 15:18:56 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 48180 invoked by uid 89); 21 Apr 2016 15:18:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,DATE_IN_PAST_12_24,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*r:sk:c-73-23, H*RU:sk:c-73-23, Hx-spam-relays-external:sk:c-73-23, HContent-Transfer-Encoding:7Bit X-HELO: bigwig.baldwin.cx Received: from bigwig.baldwin.cx (HELO bigwig.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 21 Apr 2016 15:18:52 +0000 Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C7EC2B94C; Thu, 21 Apr 2016 11:18:47 -0400 (EDT) From: John Baldwin To: gdb-patches@sourceware.org Cc: Pedro Alves , Walfred Tedeschi , "Simon Marchi; gdb-patches"@sourceware.org Subject: Re: [PATCH 0/1] Build GDB as a C++ program by default Date: Thu, 21 Apr 2016 15:18:00 -0000 Message-ID: <4644337.bLejKkzcMH@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: <5717DED3.9020107@redhat.com> References: <1461000466-31668-1-git-send-email-palves@redhat.com> <57164CA9.6080401@intel.com> <5717DED3.9020107@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00500.txt.bz2 On Wednesday, April 20, 2016 08:56:03 PM Pedro Alves wrote: > On 04/19/2016 04:20 PM, Walfred Tedeschi wrote: > > Am 4/19/2016 um 4:39 PM schrieb Pedro Alves: > >> On 04/19/2016 03:36 PM, Walfred Tedeschi wrote: > >> > >>> Pedro, > >>> > >>> Do you have some data about building GDB on OsX with > >>> --enable-build-with-cxx? > >>> > >>> If not I could give it a try! > >> > >> Please do give it a try. Thanks! > >> > > > > There is some issues, i will investigating a bit further. > > By now i was compiling with Clang, will also try to compile with gcc. > > I managed to build a linux x darwin cross compiler here, using the > osxcross tool. > > Indeed, clang++ stumbles on a bunch of issues. But then again, so > does clang in C-mode. If you are interested in fixing clang warnings I can submit some patches as I tend to build gdb with clang on FreeBSD. It gets really unhappy about unused functions from the VEC() generators which adds quite a bit of noise, but some of the things it finds are actual bugs (though probably harmless ones). -- John Baldwin