xfs-masters
[Top] [All Lists]

Re: linux-next: build failure after merge of the final tree (xfs tree re

To: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Subject: Re: linux-next: build failure after merge of the final tree (xfs tree related)
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 15 Aug 2011 10:49:46 -0400
Cc: David Chinner <david@xxxxxxxxxxxxx>, xfs-masters@xxxxxxxxxxx, linux-next@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Alex Elder <aelder@xxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>
In-reply-to: <20110815161023.6227665ab11f8a35fd649e3a@xxxxxxxxxxxxxxxx>
References: <20110815161023.6227665ab11f8a35fd649e3a@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Aug 15, 2011 at 04:10:23PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the final tree, today's linux-next build (a powerpc server
> config) failed like this:

You'll need the patch below.  Can you keep is as a fix-up for now until
Alex returns from his vacation?

---
From: Christoph Hellwig <hch@xxxxxx>
Subject: [PATCH] xfs: fix tracing builds inside the source tree

The code really requires the current source directory to be in the
header search path.  We already do this if building with an object
tree separate from the source, but it needs to be added manually
if building inside the source.  The cflags addition for it accidentally
got removed when collapsing the xfs directory structure.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: xfs/fs/xfs/Makefile
===================================================================
--- xfs.orig/fs/xfs/Makefile    2011-08-13 06:41:29.586063467 -0700
+++ xfs/fs/xfs/Makefile 2011-08-13 06:41:58.245908204 -0700
@@ -16,6 +16,8 @@
 # Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #
 
+ccflags-y += -I$(src)                  # needed for trace events
+
 ccflags-$(CONFIG_XFS_DEBUG) += -g
 
 obj-$(CONFIG_XFS_FS)           += xfs.o

<Prev in Thread] Current Thread [Next in Thread>