Skip to contentSkip to conversation

linux-next: build failure after merge of the vfs tree

PATCH Stephen Rothwell 1 participant 1 message Aug 7, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Al,

After merging the vfs tree, today's linux-next build (x86_64 allmodconfig) failed like this:

/usr/bin/ld: /home/sfr/next/tmp/ccWnssuq.o: in function `dump_attr_TIMESTAMP_INFO':
test-fsinfo.c:(.text+0x5d4): undefined reference to `pow'
/usr/bin/ld: test-fsinfo.c:(.text+0x618): undefined reference to pow' /usr/bin/ld: test-fsinfo.c:(.text+0x65c): undefined reference to pow' /usr/bin/ld: test-fsinfo.c:(.text+0x6a0): undefined reference to `pow'

Caused by commit

90b413cb970a ("vfs: syscall: Add fsinfo() to query filesystem information")

interacting with commit

8377bd2b9ee1 ("kbuild: Rename HOST_LOADLIBES to KBUILD_HOSTLDLIBS")

from the kbuild tree.

I have added the following merge fix patch for today:

From: Stephen Rothwell <[email protected]>
Date: Tue, 7 Aug 2018 11:01:32 +1000
Subject: [PATCH] vfs: samples: fix up for HOSTLOADLIBES rename

---
 samples/statx/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
samples/statx/Makefile +1 -1
index 05b4d30cdd3c..6a862bbc0627 100644
@@ -7,6 +7,6 @@ always := $(hostprogs-y)
 HOSTCFLAGS_test-statx.o += -I$(objtree)/usr/include
 
 HOSTCFLAGS_test-fsinfo.o += -I$(objtree)/usr/include
-HOSTLOADLIBES_test-fsinfo += -lm
+HOSTLDLIBS_test-fsinfo += -lm
 
 HOSTCFLAGS_test-fs-query.o += -I$(objtree)/usr/include
Signature · 5 lines
2.18.0

-- 
Cheers,
Stephen Rothwell