Skip to contentSkip to conversation

Fix page-flags build

PATCH In review Andi Kleen 5 participants 5 messages Mar 12, 2015 – May 13, 2015

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 Fix page-flags build

From: Andi Kleen <[email protected]>

libabikfs.a doesn't exist anymore, so we now need to link with libapi.a

---
 tools/vm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/vm/Makefile +1 -1
index ac884b6..93aadaf 100644
@@ -3,7 +3,7 @@
 TARGETS=page-types slabinfo page_owner_sort
 
 LIB_DIR = ../lib/api
-LIBS = $(LIB_DIR)/libapikfs.a
+LIBS = $(LIB_DIR)/libapi.a
 
 CC = $(CROSS_COMPILE)gcc
 CFLAGS = -Wall -Wextra -I../lib/
Signature · 1 line
1.9.3
#1 lore raw
Quoted 15 lines · On Thu, 12 Mar 2015 15:39:13 -0700 Andi Kleen <[email protected]> wrote:

From: Andi Kleen <[email protected]>

libabikfs.a doesn't exist anymore, so we now need to link with libapi.a

---
 tools/vm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/vm/Makefile +0 -0
index ac884b6..93aadaf 100644

tools/vm/Makefile line 9

Quoted 8 lines
tools/vm/Makefile +1 -1
@@ -3,7 +3,7 @@
 TARGETS=page-types slabinfo page_owner_sort
 
 LIB_DIR = ../lib/api
-LIBS = $(LIB_DIR)/libapikfs.a
+LIBS = $(LIB_DIR)/libapi.a
 
 CC = $(CROSS_COMPILE)gcc
 CFLAGS = -Wall -Wextra -I../lib/

A bit more info would have helped!

This appears to be a fix for 285a8f247b08c2 ("tools lib api: Rename libapikfs.a to libapi.a"), authored by Jiri, committed by Arnaldo and presently in linux-next.

#2 lore raw
Quoted 1 line

A bit more info would have helped!

It didn't build because libabikfs doesn't exist anymore. Nothing more to say.

Quoted 3 lines

This appears to be a fix for 285a8f247b08c2 ("tools lib api: Rename libapikfs.a to libapi.a"), authored by Jiri, committed by Arnaldo and presently in linux-next.

Ok. Should get into master then.

-Andi

#3 lore raw
In reply to Andrew Morton
Quoted 23 lines · Andrew Morton
Quoted 21 lines · On Thu, 12 Mar 2015 15:39:13 -0700 Andi Kleen <[email protected]> wrote:

From: Andi Kleen <[email protected]>

libabikfs.a doesn't exist anymore, so we now need to link with libapi.a

---
 tools/vm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/vm/Makefile +1 -1
index ac884b6..93aadaf 100644
@@ -3,7 +3,7 @@
 TARGETS=page-types slabinfo page_owner_sort
 
 LIB_DIR = ../lib/api
-LIBS = $(LIB_DIR)/libapikfs.a
+LIBS = $(LIB_DIR)/libapi.a
 
Quoted 8 lines

tools/vm/Makefile line 9

Quoted 2 lines
tools/vm/Makefile +0 -0
 CC = $(CROSS_COMPILE)gcc
 CFLAGS = -Wall -Wextra -I../lib/

A bit more info would have helped!

This appears to be a fix for 285a8f247b08c2 ("tools lib api: Rename libapikfs.a to libapi.a"), authored by Jiri, committed by Arnaldo and presently in linux-next.

oops, sry I missed this bit..

jirka

#4 lore raw

[tip:perf/urgent] tools: Fix tools/vm build

In reply to Andi Kleen
tools: Fix tools/vm build
Commit-ID:  85a9fb47c56aa5e43c54034002232c0585a4b781
Gitweb:     http://git.kernel.org/tip/85a9fb47c56aa5e43c54034002232c0585a4b781
Author:     Andi Kleen <[email protected]>
AuthorDate: Thu, 12 Mar 2015 15:39:13 -0700
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 12 May 2015 18:11:06 -0300

tools: Fix tools/vm build

libabikfs.a doesn't exist anymore, so we now need to link with libapi.a.

---
 tools/vm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/vm/Makefile +1 -1
index ac884b6..93aadaf 100644
@@ -3,7 +3,7 @@
 TARGETS=page-types slabinfo page_owner_sort
 
 LIB_DIR = ../lib/api
-LIBS = $(LIB_DIR)/libapikfs.a
+LIBS = $(LIB_DIR)/libapi.a
 
 CC = $(CROSS_COMPILE)gcc
 CFLAGS = -Wall -Wextra -I../lib/