Build failure with latest 2.6.36-rc1 git (sys_execve)
Latest 2.6.36-rc1 git fails to build on a s390 with
arch/s390/kernel/process.c:272: error: conflicting types for 'sys_execve' arch/s390/kernel/entry.h:45: error: previous declaration of 'sys_execve' was here make[1]: *** [arch/s390/kernel/process.o] Error 1
This error was introduced via commit :
commit d7627467b7a8dd6944885290a03a07ceb28c10eb
Make do_execve() take a const filename pointer
I guess the corresponding definition of sys_execve() in arch/s390/kernel/entry.h also needs an update.
Thanks
-Sachin
Signature · 6 lines
--------------------------------- Sachin Sant IBM Linux Technology Center India Systems and Technology Labs Bangalore, India ---------------------------------
Quoted 6 lines · On Thu, 19 Aug 2010 10:30:06 +0530 Sachin Sant <[email protected]> wrote:
Latest 2.6.36-rc1 git fails to build on a s390 with
arch/s390/kernel/process.c:272: error: conflicting types for 'sys_execve'arch/s390/kernel/entry.h:45: error: previous declaration of 'sys_execve' was here make[1]: *** [arch/s390/kernel/process.o] Error 1
Quoted 7 lines
This error was introduced via commit :
commit
d7627467b7a8dd6944885290a03a07ceb28c10eb
Makedo_execve()take a const filename pointerI guess the corresponding definition of
sys_execve()inarch/s390/kernel/entry.halso needs an update.
Fix is uploaded to git390. Tomorrows -next tree should work again.
Signature · 4 lines
blue skies, Martin. "Reality continues to ruin my life." - Calvin.
Quoted 12 lines · Martin Schwidefsky
Quoted 8 lines · On Thu, 19 Aug 2010 10:30:06 +0530 Sachin Sant <[email protected]> wrote:
Latest 2.6.36-rc1 git fails to build on a s390 with
arch/s390/kernel/process.c:272: error: conflicting types for 'sys_execve'arch/s390/kernel/entry.h:45: error: previous declaration of 'sys_execve' was here make[1]: *** [arch/s390/kernel/process.o] Error 1This error was introduced via commit :
Quoted 9 lines
Quoted 6 lines
commit
d7627467b7a8dd6944885290a03a07ceb28c10eb
Makedo_execve()take a const filename pointerI guess the corresponding definition of
sys_execve()inarch/s390/kernel/entry.halso needs an update.Fix is uploaded to git390. Tomorrows -next tree should work again.
The patch is still missing from Linus's tree. 2.6.36-rc2-git1 (9ee4747..) fails with the same error.
Thanks
-Sachin
Signature · 6 lines
--------------------------------- Sachin Sant IBM Linux Technology Center India Systems and Technology Labs Bangalore, India ---------------------------------