From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id A83707E6A for ; Tue, 14 Oct 2014 08:27:12 +0200 (CEST) Received: by mail.mhcomputing.net (Postfix, from userid 1000) id D171580C50B; Mon, 13 Oct 2014 23:34:06 -0700 (PDT) Date: Mon, 13 Oct 2014 23:34:06 -0700 From: Matthew Hall To: dev@dpdk.org Message-ID: <20141014063406.GA17242@mhcomputing.net> References: <20141014054523.GA16919@mhcomputing.net> <20141014060353.GA17053@mhcomputing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141014060353.GA17053@mhcomputing.net> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud Images 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, 14 Oct 2014 06:27:12 -0000 On Mon, Oct 13, 2014 at 11:03:53PM -0700, Matthew Hall wrote: > Another weird issue... when I tried to compile a DPDK shared lib using clang I > got this really, really weird error: > > /usr/bin/ld: test: hidden symbol `mknod' in /usr/lib/x86_64-linux-gnu/libc_nonshared.a(mknod.oS) is referenced by DSO > /usr/bin/ld: final link failed: Bad value Note: this specific error seems to be a bug in the behavior of DPDK compilation when the following two options are enabled simultaneously: CONFIG_RTE_BUILD_SHARED_LIB=y CONFIG_RTE_BUILD_COMBINE_LIBS=y I think this is a pretty serious problem for anybody that's packaging or distributing a complete DPDK because compiling both the static and dynamic DPDK's at the same time as one another is going to fail with this weird error. Matthew.