On 4/20/21 11:45 PM, Randy Dunlap wrote: > On 4/20/21 11:37 PM, Christophe Leroy wrote: >> >> >> Le 21/04/2021 à 01:31, Randy Dunlap a écrit : >>> --- linux-next-20210420.orig/arch/powerpc/kernel/vdso64/Makefile >>> +++ linux-next-20210420/arch/powerpc/kernel/vdso64/Makefile >>> @@ -30,7 +30,7 @@ ccflags-y := -shared -fno-common -fno-bu >>> asflags-y := -D__VDSO64__ -s >>> targets += vdso64.lds >>> -CPPFLAGS_vdso64.lds += -P -C -U$(ARCH) >>> +CPPFLAGS_vdso64.lds += -P -C -U$(SRCARCH) >> >> Maybe it would be better to do -Upowerpc like in VDSO32 >> > > OK, thanks for getting that done. :) > >>> # link rule for the .so file, .lds has to be first >>> $(obj)/vdso64.so.dbg: $(src)/vdso64.lds $(obj-vdso64) $(obj)/vgettimeofday.o FORCE >>> --- linux-next-20210420.orig/arch/powerpc/Makefile Just to wrap this up, I got this method working also. Thanks for all of your help, Christophe. -- ~Randy