From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F23B6A056C; Wed, 4 Mar 2020 11:09:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 43A0A2C16; Wed, 4 Mar 2020 11:09:35 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 13A6F2BB8 for ; Wed, 4 Mar 2020 11:09:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583316572; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eor+ThbIobEdjwS8j6MXFpBwPLrXaNT5ql6JkS+8I0U=; b=Qg9XMEhFuM8aD9ana5fB5R6mRdPx3smEBGkXnI7tMIyIL1MdtpceGsE/S95adp/HZ7lAjJ 6yQ1rmPM2kmsJqXQf3o+WkyZPM8S980t4qcUDkw6J0TP8VTtZIdlGD2psWNnRJIey3FC1J 6uqu7H5vwA09CjOy6zRLg9d4c62feSk= Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-146-628udACYOCGL66KvoBErTA-1; Wed, 04 Mar 2020 05:09:28 -0500 X-MC-Unique: 628udACYOCGL66KvoBErTA-1 Received: by mail-vk1-f199.google.com with SMTP id l129so512782vke.22 for ; Wed, 04 Mar 2020 02:09:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3h+MTzR02U4pTnv20mj0DYfcQQYN8uOLdZ0oLLrZGkA=; b=TfLVsY2u84J0avZrqQWU/XgH/tE3jsjiovrKwOkOdjq98F65ZaNTnIE8grZtnwhAmk S53/od8a8A7cwkyGDnVmkkaOmhq13Bdfk8dVJN1oRrvcbCbViQcnF6OOhbP015urCk3y savuBJVrAXCaYf+GXrv4JT1rEewi6b1bqOUzXvcJSUXWhcrhE28+9TBoblla+wHY1jW+ mFgRsqVVBpEjRKAVGu2IbXXZih1MuK+DgSxCeknO7+DYQ+odg0GM5anOTFJ/2lTl+ps9 z85nQqtaSmDxWlr0b6vtREKKFfsJKQ4L6uFtzbiWsqrD+Cyhh5L2xhuT8C7SlPtXl7Sn HvgA== X-Gm-Message-State: ANhLgQ093VjiJCHMbYxBPjRkD1cxqh7fx1zp2YYag8NsFLmHM2803RkK +yo0S8UfphSMTEaxl6o18DNOKgIPRpRfJIex2os5DgOr0Rb4+bGsLvGioKcnlVgF0W0XoT3Ayv4 VPSDJO+TdHyBOELox8xk= X-Received: by 2002:ab0:2801:: with SMTP id w1mr957824uap.87.1583316568273; Wed, 04 Mar 2020 02:09:28 -0800 (PST) X-Google-Smtp-Source: ADFU+vsW1Ez6j4rBczQRcDwOwnIAFuyJay4p/WXufpmJm1/k3j0XsCvOOwOap/wN0ehh0odYDIWIqVamzTbagN4femI= X-Received: by 2002:ab0:2801:: with SMTP id w1mr957812uap.87.1583316567954; Wed, 04 Mar 2020 02:09:27 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Wed, 4 Mar 2020 11:09:16 +0100 Message-ID: To: Timothy Redaelli Cc: dev X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH 0/3] fix building with GCC 10 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Feb 5, 2020 at 1:51 PM Timothy Redaelli wrot= e: > GCC 10 defaults to -fno-common, this means a linker error will now be > reported if the same global variable is defined in more than one > compilation unit. > > See https://gcc.gnu.org/gcc-10/porting_to.html for more informations. > > I didn't put -fcommon to CFLAGS since: > Compiling with -fno-common is useful on targets for which it provides > better performance, or if you wish to verify that the program will work > on other systems that always treat uninitialized variable definitions > this way. > from gcc man page Series applied, thanks. --=20 David Marchand