Failure on latest GIT - implicit declaration of function ‘pte_swp_clear_soft_dirty’

6 messages, 3 authors, 2016-02-02 · open the first message on its own page

Failure on latest GIT - implicit declaration of function ‘pte_swp_clear_soft_dirty’

From: Mike <hidden>
Date: 2016-02-01 01:01:41

Building on ppc32

In file included from fs/proc/task_mmu.c:14:0:
include/linux/swapops.h: In function ‘pte_to_swp_entry’:
include/linux/swapops.h:69:6: error: implicit declaration of function
‘pte_swp_soft_dirty’ [-Werror=implicit-function-declaration]
  if (pte_swp_soft_dirty(pte))
      ^
include/linux/swapops.h:70:9: error: implicit declaration of function
‘pte_swp_clear_soft_dirty’ [-Werror=implicit-function-declaration]
   pte = pte_swp_clear_soft_dirty(pte);
         ^
  if [ "-pg" = "-pg" ]; then set -e ; perl ./scripts/recordmcount.pl
"powerpc" "big" "32" "objdump" "objcopy" "gcc -mbig-endian -m32 -Wall
-Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89
-msoft-float -pipe -Iarch/powerpc -ffixed-r2 -mmultiple -mno-altivec
-mno-vsx -mno-spe -mspe=no -funit-at-a-time -fno-dwarf2-cfi-asm -mno-string
-mcpu=powerpc -mno-sched-epilog -Wa,-maltivec
-fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0
-Wframe-larger-than=1024  -fno-stack-protector -Wno-unused-but-set-variable
 -fno-var-tracking-assignments -pg  -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fconserve-stack
-Werror=implicit-int -Werror=strict-prototypes -Werror=date-time
-DCC_HAVE_ASM_GOTO    " "ld -EB -m elf32ppc" "nm" "" "" "0"
"fs/notify/inotify/inotify_user.o"; fi;
fs/proc/task_mmu.c: In function ‘pte_to_pagemap_entry’:
fs/proc/task_mmu.c:1158:7: error: implicit declaration of function
‘pte_soft_dirty’ [-Werror=implicit-function-declaration]

Re: Failure on latest GIT - implicit declaration of function ‘pte_swp_clear_soft_dirty’

From: Pranith Kumar <hidden>
Date: 2016-02-01 01:06:29

On Sun, Jan 31, 2016 at 8:01 PM, Mike [off-list ref] wrote:
Building on ppc32

In file included from fs/proc/task_mmu.c:14:0:
include/linux/swapops.h: In function =E2=80=98pte_to_swp_entry=E2=80=99:
include/linux/swapops.h:69:6: error: implicit declaration of function
=E2=80=98pte_swp_soft_dirty=E2=80=99 [-Werror=3Dimplicit-function-declara=
tion]
  if (pte_swp_soft_dirty(pte))
      ^
include/linux/swapops.h:70:9: error: implicit declaration of function
=E2=80=98pte_swp_clear_soft_dirty=E2=80=99 [-Werror=3Dimplicit-function-d=
eclaration]
   pte =3D pte_swp_clear_soft_dirty(pte);
         ^
Can you try the patch posted here: https://lkml.org/lkml/2016/1/25/554

Thanks!
--=20
Pranith

Re: Failure on latest GIT - implicit declaration of function ‘pte_swp_clear_soft_dirty’

From: Mike <hidden>
Date: 2016-02-01 20:31:49

Thanks!

Applied and it built this time, sadly i missed RC-2 and will just have to
test and see if the radeon r300 is un-broken and rebuild, doing dpkg kernel
build and was lazy with the .config so it takes a day building on this
single core g4!

Cheers
Mike

On 1 February 2016 at 01:05, Pranith Kumar [off-list ref] wrote:
On Sun, Jan 31, 2016 at 8:01 PM, Mike [off-list ref] wrote:
quoted
Building on ppc32

In file included from fs/proc/task_mmu.c:14:0:
include/linux/swapops.h: In function ‘pte_to_swp_entry’:
include/linux/swapops.h:69:6: error: implicit declaration of function
‘pte_swp_soft_dirty’ [-Werror=implicit-function-declaration]
  if (pte_swp_soft_dirty(pte))
      ^
include/linux/swapops.h:70:9: error: implicit declaration of function
‘pte_swp_clear_soft_dirty’ [-Werror=implicit-function-declaration]
   pte = pte_swp_clear_soft_dirty(pte);
         ^
Can you try the patch posted here: https://lkml.org/lkml/2016/1/25/554

Thanks!
--
Pranith

Re: Failure on latest GIT - implicit declaration of function‘pte_swp_clear_soft_dirty’

From: Aneesh Kumar K.V <hidden>
Date: 2016-02-02 06:48:37

Pranith Kumar [off-list ref] writes:
On Sun, Jan 31, 2016 at 8:01 PM, Mike [off-list ref] wrote:
quoted
Building on ppc32

In file included from fs/proc/task_mmu.c:14:0:
include/linux/swapops.h: In function =E2=80=98pte_to_swp_entry=E2=80=99:
include/linux/swapops.h:69:6: error: implicit declaration of function
=E2=80=98pte_swp_soft_dirty=E2=80=99 [-Werror=3Dimplicit-function-declar=
ation]
quoted
  if (pte_swp_soft_dirty(pte))
      ^
include/linux/swapops.h:70:9: error: implicit declaration of function
=E2=80=98pte_swp_clear_soft_dirty=E2=80=99 [-Werror=3Dimplicit-function-=
declaration]
quoted
   pte =3D pte_swp_clear_soft_dirty(pte);
         ^
Can you try the patch posted here: https://lkml.org/lkml/2016/1/25/554
This patch didn't work for you ?

http://mid.gmane.org/1454086969-21074-1-git-send-email-aneesh.kumar@linux.v=
net.ibm.com

-aneesh

Re: Failure on latest GIT - implicit declaration of function ‘pte_swp_clear_soft_dirty’

From: Pranith Kumar <hidden>
Date: 2016-02-02 17:15:00

On Tue, Feb 2, 2016 at 1:48 AM, Aneesh Kumar K.V
[off-list ref] wrote:
This patch didn't work for you ?

http://mid.gmane.org/1454086969-21074-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com
This actually is a better patch. I didn't realize that we have the _64 version.

Thanks!
-- 
Pranith

Re: Failure on latest GIT - implicit declaration of function ‘pte_swp_clear_soft_dirty’

From: Mike <hidden>
Date: 2016-02-02 17:55:02

Agreed, raised an eyebrow initially when select ppc64 and 32 :D

I'll give a word on the trackpad issue later, cant remember seeing any
changes that ought effect it really. guess the compile is done in a good
hour or so, took the tiime to slim it down to someting reasonable

Thanks man
On 2 Feb 2016 18:14, "Pranith Kumar" [off-list ref] wrote:
On Tue, Feb 2, 2016 at 1:48 AM, Aneesh Kumar K.V
[off-list ref] wrote:
quoted
This patch didn't work for you ?
http://mid.gmane.org/1454086969-21074-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com
quoted
This actually is a better patch. I didn't realize that we have the _64
version.

Thanks!
--
Pranith
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help