From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id D1C645580 for ; Fri, 15 Jul 2016 17:22:51 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id f126so30294452wma.1 for ; Fri, 15 Jul 2016 08:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding; bh=1DiLeHLxtZwF//2wwhBoer6JCv5buxLm+Tl4kTnlQ0w=; b=XVUOTWRyy70SV2od+4ySddQQI3cXsKS9aiZOlk4ztvQE4Klg7NGskG3AJDnscESZ6H kMsNJsGXdAGe1iC6DhczNaxKnpsQfNoAL2zJgMpTKozJjOios7+UN5z5S3LZPEakGyM0 Unfpy1RBfUsJmoM5W/qQAT7zUQTM00D5zzZkY+ClNp7aEponoptF4Kx5x7ymhD25sLiP olEyEbwjs5frogIfFeAmJN2DWZASVACGML8pYZFXYLce+VUfSlWCLHtupt41wYMGMGMI GFLtjaO4NzVct+RAOC3IFLiUCp4BBxY8lAg8DFP1R3KTms8/UtsnDegFMEwGDg2sS3Rj iF2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=1DiLeHLxtZwF//2wwhBoer6JCv5buxLm+Tl4kTnlQ0w=; b=QbSNPVS+Ddqlh9v2Kke+YesD9UJ6GxESJl9eRCJnhsM4s1alk43p6xACQRAcI1v9go legBIs8DsY7vZYhfZEohL23dFzBXkrhofEZHvXbEEEA8T3iiIqwPY4CMpqAs9JfaVUGK NpoWfTW2NLNhJULnYh54FZbvuL2N2i1gm9ciRPwj3y8QX33vRcMyB+cXWI+PifImN9s/ Gkl6NXq34D+38kgn27dY571HQSU9TXIW46nX6Y/6JpwiWaUcdwR7G1eWNZB4LulfbHFL 23svR/371REZuMkCw2p5/mvpJZaraF8XoqBuyylnh2zPZwj8qnT+nAHEGKMJsxHjBzNo Qs3w== X-Gm-Message-State: ALyK8tIFqfuu0cpUeT9aS5SH4CSUANhz2Yke24sCHyDHoypTKi3/U2v+uxCAOPL8gbscRbPY X-Received: by 10.28.165.207 with SMTP id o198mr24575388wme.87.1468596171470; Fri, 15 Jul 2016 08:22:51 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id u9sm1245451wjy.45.2016.07.15.08.22.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jul 2016 08:22:50 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Fri, 15 Jul 2016 17:22:50 +0200 Message-ID: <146866062.UJOTQHiUtj@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1468395728-6968-2-git-send-email-thomas.monjalon@6wind.com> References: <1468395728-6968-1-git-send-email-thomas.monjalon@6wind.com> <1468395728-6968-2-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 2/2] mk: fix dependency on toolchain libraries 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: Fri, 15 Jul 2016 15:22:51 -0000 2016-07-13 09:42, Thomas Monjalon: > The -l options specifying libraries to link with are in LDLIBS. > But it can happen to have some libraries in other variables. > In case of a low level dependency specified in some environments > via EXTRA_LDFLAGS, there can be an unresolved issue due to a > wrong linking order. Indeed the libraries must be specified from > the higher level (dependency consumers) to the lower level (dependencies). > > It is fixed by moving LDLIBS before LDFLAGS variables in the link > command line. > > Signed-off-by: Thomas Monjalon > Tested-by: Raslan Darawsheh Series applied