From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 209877F48 for ; Wed, 5 Nov 2014 22:40:33 +0100 (CET) Received: by mail-wi0-f173.google.com with SMTP id n3so13725931wiv.0 for ; Wed, 05 Nov 2014 13:49:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=0istZyZhGShu/ZtQt2za8ePoN3iIEh+lNWRjZ8ltChg=; b=PYuiofLK4v9oJZRfKyDNn0Euid//iS3svF373QwMCOdbSSRWRplSGvtINVTlzGz/RZ f3C5rac/8oWLx2QBLQ7ppsDoW0+Qs7emxGiPp0Lc32tzdouHEn2jQLKyJoNf22X4CbtU 5hCuQiwKAQhKWWEAWXxf9WJiufABKwEVG7cTw8l7+ILqs2oWq/yZLfqsW5w7n6iGsl/V pXQX5Z8gWUoI4lQFgvc2hGZp3lg/MmWDLrRDo73AZgLzm0qcQXHfK8JLnaAtsy6lTH17 LV6DxmzYCROmXRJDfqDzK1TkwR65vdbFKOQMIQGlYNES0Fzu+4cWHpbbNDMlZqYzmKAm h3bg== X-Gm-Message-State: ALoCoQnWcMvKzRE4Hc+gKimU/Ld/ieC/DHcFS2Did4RfwrRImp2LSbDuNGFpNXPZOCTtUNmWBtQw X-Received: by 10.194.190.19 with SMTP id gm19mr27302757wjc.51.1415224197707; Wed, 05 Nov 2014 13:49:57 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id p8sm8307517wia.1.2014.11.05.13.49.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Nov 2014 13:49:56 -0800 (PST) From: Thomas Monjalon To: "Gonzalez Monroy, Sergio" Date: Wed, 05 Nov 2014 22:49:37 +0100 Message-ID: <5616674.7Bk1rPuL4G@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.17.2-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: References: <1414688334-16545-1-git-send-email-sergio.gonzalez.monroy@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 21:40:33 -0000 > > 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: > > > > fatal error: error in backend: Cannot select: 0x802ad8010: i64 = > > X86ISD::WrapperRIP 0x802ade110 > > [ID=13] > > 0x802ade110: i64 = TargetGlobalAddress 0 > > [TF=5] [ID=10] > > > > Reset CFLAGS to MODULE_CFLAGS before building BSD module. > > > > Signed-off-by: Sergio Gonzalez Monroy > > > > Acked-by: Pablo de Lara Applied Thanks -- Thomas