Skip to contentSkip to conversation

Build failure with latest 2.6.36-rc1 git (sys_execve)

s390 Sachin Sant 2 participants 3 messages Aug 19, 2010 – Aug 23, 2010 s390

lore
Share & tools
lore
#0 lore raw

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
---------------------------------
#1 lore raw
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
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.

Fix is uploaded to git390. Tomorrows -next tree should work again.

Signature · 4 lines
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.
#2 lore raw
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 1

This error was introduced via commit :

Quoted 9 lines
Quoted 6 lines

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.

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
---------------------------------