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 334143989 for ; Wed, 5 Nov 2014 15:25:10 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 05 Nov 2014 06:31:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,320,1413270000"; d="scan'208";a="602767852" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga001.jf.intel.com with ESMTP; 05 Nov 2014 06:33:48 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.82]) by IRSMSX102.ger.corp.intel.com ([169.254.2.25]) with mapi id 14.03.0195.001; Wed, 5 Nov 2014 14:32:01 +0000 From: "De Lara Guarch, Pablo" To: "Gonzalez Monroy, Sergio" Thread-Topic: [dpdk-dev] [PATCH] mk: pass MODULE_CFLAGS to BSD module build system Thread-Index: AQHP9GLuxD5W7ew7hU+LoRjwStWsTZxSIZUw Date: Wed, 5 Nov 2014 14:32:00 +0000 Message-ID: References: <1414688334-16545-1-git-send-email-sergio.gonzalez.monroy@intel.com> In-Reply-To: <1414688334-16545-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.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] mk: pass MODULE_CFLAGS to BSD module build system 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: Wed, 05 Nov 2014 14:25:10 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Thursday, October 30, 2014 4:59 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] mk: pass MODULE_CFLAGS to BSD module > build system >=20 > When building shared libs (for both GCC and CLANG targets), -fPIC flag > has been added to CFLAGS and leaks to BSD module build system causing > the following error: >=20 > fatal error: error in backend: Cannot select: 0x802ad8010: i64 =3D > X86ISD::WrapperRIP 0x802ade110 > [ID=3D13] > 0x802ade110: i64 =3D TargetGlobalAddress 0 > [TF=3D5] [ID=3D10] >=20 > Reset CFLAGS to MODULE_CFLAGS before building BSD module. >=20 > Signed-off-by: Sergio Gonzalez Monroy > Acked-by: Pablo de Lara