From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D7DCD37AC for ; Mon, 25 Jul 2016 13:14:00 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 25 Jul 2016 04:14:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,419,1464678000"; d="scan'208";a="852891392" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga003.jf.intel.com with ESMTP; 25 Jul 2016 04:13:59 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX151.ger.corp.intel.com (163.33.192.59) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 25 Jul 2016 12:13:58 +0100 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.123]) by irsmsx155.ger.corp.intel.com ([169.254.14.102]) with mapi id 14.03.0248.002; Mon, 25 Jul 2016 12:13:57 +0100 From: "Azarewicz, PiotrX T" To: Thomas Monjalon CC: "Gu, YongjieX" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17 Thread-Index: AQHR4NkDQLlRXzmyakSHHuBqgpmUDKAgdxCAgAIIpoCAAfiN4P//8z8AgAAXgfD///EqgIAAGMBw///1lAAAkKmeoA== Date: Mon, 25 Jul 2016 11:13:57 +0000 Message-ID: <4837007523CC9A4B9414D20C13DE6E64136EC83D@IRSMSX102.ger.corp.intel.com> References: <1468835025-3333-1-git-send-email-thomas.monjalon@6wind.com> <3192148.AlCuAgdt9y@xps13> <4837007523CC9A4B9414D20C13DE6E64136EC53F@IRSMSX102.ger.corp.intel.com> <6703957.6mWDc13pAY@xps13> In-Reply-To: <6703957.6mWDc13pAY@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17 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: Mon, 25 Jul 2016 11:14:01 -0000 > The problem is that -lrt appears before -lrte_eal. > The question is: where does it come from? > It is even before _LDLIBS-y +=3D -L$(RTE_SDK_BIN)/lib... mystery root cause: commit c7cda4d8b4ea9cb0f209dda36882d225354b1db9 and my workaround is: /app/test/Makefile ifeq ($(CONFIG_RTE_LIBRTE_SCHED),y) -LDLIBS +=3D -lrt SRCS-y +=3D test_red.c SRCS-y +=3D test_sched.c endif