From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 870D37E80 for ; Tue, 28 Oct 2014 17:04:23 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 28 Oct 2014 09:13:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,803,1406617200"; d="scan'208";a="622168965" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga002.fm.intel.com with ESMTP; 28 Oct 2014 09:11:37 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.89]) by IRSMSX103.ger.corp.intel.com ([169.254.3.56]) with mapi id 14.03.0195.001; Tue, 28 Oct 2014 16:09:39 +0000 From: "De Lara Guarch, Pablo" To: "Gonzalez Monroy, Sergio" , "dev@dpdk.org" Thread-Topic: [PATCH v2] mk: link combined shared lib using CC Thread-Index: AQHP8sat6m6xF1LDz0y05Anlp69315xFrK5Q Date: Tue, 28 Oct 2014 16:09:38 +0000 Message-ID: References: <1414078550-692-1-git-send-email-sergio.gonzalez.monroy@intel.com> <1414511329-3948-1-git-send-email-sergio.gonzalez.monroy@intel.com> In-Reply-To: <1414511329-3948-1-git-send-email-sergio.gonzalez.monroy@intel.com> 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 v2] mk: link combined shared lib using CC 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, 28 Oct 2014 16:04:24 -0000 > -----Original Message----- > From: Gonzalez Monroy, Sergio > Sent: Tuesday, October 28, 2014 3:49 PM > To: dev@dpdk.org > Cc: thomas.monjalon@6wind.com; De Lara Guarch, Pablo > Subject: [PATCH v2] mk: link combined shared lib using CC >=20 > If we set EXTRA_CFLAGS=3D-O0, build fails with following error: >=20 > /usr/bin/ld: test: hidden symbol `mknod' in > /usr/lib64/libc_nonshared.a(mknod.oS) is referenced by DSO >=20 > Fix: link combined shared lib using CC if LINK_USING_CC is enabled. >=20 > Signed-off-by: Sergio Gonzalez Monroy > Acked-by: Pablo de Lara