From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by dpdk.org (Postfix) with ESMTP id 6360FAD8B for ; Tue, 24 Feb 2015 11:21:28 +0100 (CET) Received: by mail-oi0-f45.google.com with SMTP id i138so18475097oig.4 for ; Tue, 24 Feb 2015 02:21:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=uvalAGZe8uNAFGWiD848rxqZ787azlZjeAcXFEu9iEM=; b=amtWypWupMb9hEeIOSWErmyQGO/5Fu+xz2E9EUZHFSqesdoOsLrQPZqYAGvlDxsQ5T bga/nsyxKQl6TWuJAfHqIRe9zMzoY769E/oNjTk2rXvXs2PfrClzND7NtRJ5g3QENxM/ LJ/JLs9twiIbRxo+JJIB8xzMH8C5lwmoj3Zy29u+X91yqNekw0lgpB0SfmnDi6BXbSv+ asU40ExRuQ+UECdLm93+PttYXygOLDPI2WKU5hWyBleYGTCUxix25w3k78HeZLVvaxkn 3o2j/o4pZeTaCUQEcL+PGQCJgSQYVbc7NFgKY0wzj41DK+GFFs1Eko9DMwLpsD3Q6XfE spHQ== X-Gm-Message-State: ALoCoQkwMPVMq3nyIZdw6RHH4CKdEtHqWfgpQ1Sm198gql1s7+neG9OJ2oc/02L23dC1RHdTujOo MIME-Version: 1.0 X-Received: by 10.60.97.35 with SMTP id dx3mr10584820oeb.6.1424773287833; Tue, 24 Feb 2015 02:21:27 -0800 (PST) Received: by 10.76.133.162 with HTTP; Tue, 24 Feb 2015 02:21:27 -0800 (PST) In-Reply-To: References: <7a06a1e8019a40d4175c6bc2e1d7e62cf956b291.1424261465.git.pmatilai@redhat.com> <1597878.lL4fhc8lIW@xps13> <54EC496C.7050200@redhat.com> Date: Tue, 24 Feb 2015 11:21:27 +0100 Message-ID: From: David Marchand To: Panu Matilainen Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2] mk: Rework gcc version detection to permit versions newer than 4.x X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 10:21:28 -0000 On Tue, Feb 24, 2015 at 11:09 AM, David Marchand wrote: > On Tue, Feb 24, 2015 at 10:50 AM, Panu Matilainen > wrote: > >> $ gcc -dumpversion >>> 4.7 >>> >> >> Meh. This seems to be a Debian specific modification to gcc, discussed >> here and there including but not limited to: >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759038 >> https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1360404 >> >> Dunno about Ubuntu, but at least Ubuntu already changed it back. But I >> guess there's no choice but to work around it anyway... Easiest solution is >> probably just to drop the micro version out, back to the granularity where >> it used to be. > > > Yes, I suppose so, but then we are almost at square one :-) > > Hum, how about something like always appending .0.0 to the gcc -dumpversion then cut at 3 characters ? -- David Marchand