From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129414 invoked by alias); 19 Jun 2017 08:07:53 -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 129404 invoked by uid 89); 19 Jun 2017 08:07:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=undermine, H*r:sk:static., quality X-HELO: mail-io0-f195.google.com Received: from mail-io0-f195.google.com (HELO mail-io0-f195.google.com) (209.85.223.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Jun 2017 08:07:51 +0000 Received: by mail-io0-f195.google.com with SMTP id a96so10451205ioj.1 for ; Mon, 19 Jun 2017 01:07:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=75KxqTv+fYZBfH7dpe7V4LlNT22Lzlyi23tKBZGddXA=; b=oYZRa1jaCPdhw2Qm8vWwZUPyCQ4SVE1wf91jrrVNYNxeyrYpcl8DLGd/N59Ua8N4Ua qg7+eZKyfv+DSvgMTwRLjDZBsnY2JlZd7+cqs63sPXhX+AiE+qQaX4TAzDwKzUhehywI F0imyipkIJBl/ftNfpbGqsHjX9TdcmiP0LaeuDZUUNTaP7E2cHEVyuYS+YwRZSmeCErf o9Gzc9FhSV06reVQnAHVU+JUDz86NktB9VGR3C2vs//AxOYWlG23WCpi6hk6BojPXQxd XFv1Y4hN0ldeB5699T79sVPPNvG1FPiXoeMjQVCkRoHS/2W75T0dbD1Tggl02c05EPoq jcIQ== X-Gm-Message-State: AKS2vOzXjFlnywp63W63AlRAFfIn458A3GhM5OaKxC1RNAyD4RAXccxa OSmtwLfFWaX1gA== X-Received: by 10.107.11.215 with SMTP id 84mr21401234iol.231.1497859674888; Mon, 19 Jun 2017 01:07:54 -0700 (PDT) Received: from E107787-LIN (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id y188sm6206249ity.9.2017.06.19.01.07.53 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 19 Jun 2017 01:07:54 -0700 (PDT) From: Yao Qi To: Simon Marchi Cc: Eli Zaretskii , Simon Marchi , , palves@redhat.com Subject: Re: [PATCH 0/5] Remove a few hurdles of compiling with clang References: <1497124689-11842-1-git-send-email-simon.marchi@ericsson.com> <83tw3n5jyk.fsf@gnu.org> <86tw3labb0.fsf@gmail.com> <83a85d5l4n.fsf@gnu.org> <93eb64489ac9d53665a144ddf5a966d5@polymtl.ca> <83wp8h40lo.fsf@gnu.org> <8660g0dzau.fsf@gmail.com> <86o9trdib1.fsf@gmail.com> Date: Mon, 19 Jun 2017 08:07:00 -0000 In-Reply-To: <86o9trdib1.fsf@gmail.com> (Yao Qi's message of "Tue, 13 Jun 2017 16:21:54 +0100") Message-ID: <867f08pfhq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00496.txt.bz2 Yao Qi writes: > In general, it is good to keep GDB built by different popular compilers, > so people are easy to build GDB and different warnings from different > compilers will catch more bugs in GDB. On the other hand, GCC is still > the primary compiler to build GDB, and support of other compilers in > building GDB should not undermine the case that GDB is built by GCC nor > degrade the code quality. For example, it is not acceptable to build > GDB with compiler X but break the build with GCC. We still must fix > the GDB build failure with GCC, as what we did in the past, and we > welcome the contributions to fix the GDB build with other compilers. > > Ideally, every bug that other compilers find in the GDB source code > that GCC didn't warn about should be considered as a GCC bug, and we > should make sure that it's reported on the GCC tracker. I copied it to https://sourceware.org/gdb/wiki/Internals%20Build-With-Different-Compilers --=20 Yao (=E9=BD=90=E5=B0=A7)