git xfsprogs don't build

Marc Lehmann schmorp at schmorp.de
Sat Mar 5 18:00:33 CST 2011


On Fri, Mar 04, 2011 at 07:52:53PM -0500, Christoph Hellwig <hch at infradead.org> wrote:
> On Fri, Mar 04, 2011 at 05:36:08PM +0100, Marc Lehmann wrote:
> > That almost certainly means somebody tried to build a shared object or
> > library with some object file compiled without -fPIC.
> 
> That function indeed doesn't exist in non-debug builds.  But by default
> we do not build xfsprogs that way.

-fPIC isn't a function, it tells gcc to not generate text relocations -
these are not supported on linux amd64.

> For now make sure to not have
> -DNDEBUG in your CFLAGS, I'll make sure we get a proper fix commited.

Well, I didn't have -DNDEBUG in my CFLAGS, but libxfs/Makefile and
libxlog/Makefile apparently had them. After removing them, I indeed do not
get the linker issue on amd64, but similar errors as on ia32:

http://ue.tst.eu/1b84c67209430c03b238b48eae7da108.txt

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\




More information about the xfs mailing list