From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergio Gonzalez Monroy Subject: Re: [PATCH] mk: link combined lib using CC Date: Tue, 28 Oct 2014 14:51:23 +0000 Message-ID: <20141028145123.GA24266@sivswdev02.ir.intel.com> References: <1414078550-692-1-git-send-email-sergio.gonzalez.monroy@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev-VfR2kkLFssw@public.gmane.org" To: "De Lara Guarch, Pablo" Return-path: Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Tue, Oct 28, 2014 at 11:45:28AM +0000, De Lara Guarch, Pablo wrote: > > > > -----Original Message----- > > From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Sergio Gonzalez > > Monroy > > Sent: Thursday, October 23, 2014 4:36 PM > > To: dev-VfR2kkLFssw@public.gmane.org > > Subject: [dpdk-dev] [PATCH] mk: link combined lib using CC > > > > Building combined shared libs fails if we set EXTRA_CFLAGS=-O0. > > > > /usr/bin/ld: test: hidden symbol `mknod' in > > /usr/lib64/libc_nonshared.a(mknod.oS) is referenced by DSO > > /usr/bin/ld: final link failed: Bad value > > collect2: error: ld returned 1 exit status > > > > Fix: link combined shared lib using CC if LINK_USING_CC is enabled. > > > > Signed-off-by: Sergio Gonzalez Monroy > > > > Plus, should we include compilation errors in commits? > They are quite useful to identify the problem that > the patch is solving, but not sure if this should be shown in the git log. > I was wondering about it myself. I think it is useful info but maybe t is more appropiate to have it as a comment or cover letter just on the mailing list. I don't have a strong preference for including it, maybe someone else has an opinion about this? Thanks, Sergio > Thanks, > Pablo >