[Skiboot] [PATCH] build with -mcpu=power8

Nicholas Piggin npiggin at gmail.com
Wed Sep 18 13:45:20 AEST 2019


POWER7 is no longer supported.

Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
 Makefile.main | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.main b/Makefile.main
index cb65cbc7c..2d60bbbf5 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -76,7 +76,7 @@ CPPFLAGS += -DDEBUG -DCCAN_LIST_DEBUG
 endif
 
 CFLAGS := -fno-strict-aliasing -pie -fpie -fno-pic -mbig-endian -m64 -fno-asynchronous-unwind-tables
-CFLAGS += -mcpu=power7
+CFLAGS += -mcpu=power8
 CFLAGS += -Wl,--oformat,elf64-powerpc -ggdb
 CFLAGS += $(call try-cflag,$(CC),-ffixed-r13)
 CFLAGS += $(call try-cflag,$(CC),-std=gnu11)
@@ -135,7 +135,7 @@ LDFLAGS := -m64 -static -nostdlib -pie
 LDFLAGS += -Wl,-pie
 LDFLAGS += -Wl,-Ttext-segment,$(LD_TEXT) -Wl,-N -Wl,--build-id=none
 LDFLAGS += -Wl,--no-multi-toc
-LDFLAGS += -mcpu=power7 -mbig-endian -Wl,--oformat,elf64-powerpc
+LDFLAGS += -mcpu=power8 -mbig-endian -Wl,--oformat,elf64-powerpc
 LDFLAGS_FINAL = -EB -m elf64ppc --no-multi-toc -N --build-id=none --whole-archive
 LDFLAGS_FINAL += -static -nostdlib -pie -Ttext-segment=$(LD_TEXT) --oformat=elf64-powerpc
 LDFLAGS_FINAL += --orphan-handling=warn
-- 
2.23.0



More information about the Skiboot mailing list