* linux-2.5.66
@ 2003-03-26 10:05 Niki Waibel
2003-03-26 10:11 ` linux-2.5.66 Falk Hueffner
2003-03-26 10:29 ` linux-2.5.66 Marc Zyngier
0 siblings, 2 replies; 4+ messages in thread
From: Niki Waibel @ 2003-03-26 10:05 UTC (permalink / raw)
To: axp-list
the kernel does not compile:
mm/fremap.c:139:
PTE_FILE_MAX_BITS is missing.
for ppc64, x86_64, i386 and sparc64 this is defined in
include/asm_ppc64/pgtable.h
include/asm_x86_64/pgtable.h
include/asm_i386/pgtable_2level.h
include/asm_i386/pgtable_3level.h
include/asm_sparc64/pgtable.h
for alpha a definition is missing.
include/linux/socket.h:
prototypes sys_sendmsg() and sys_recvmsg()
this is now defined somewhere else -- so i commented
that 2 prototypes to continue compiling.
mm/rmap.c:388:
include/linux/swapops.h:54:
troubles with definition of pgoff_to_pte and/or pte_file
after i've seen the 3rd problem i stopped trying to workaround
them. waiting for 2.5.67!
niki
--
niki w. waibel - system administrator @ newlogic technologies ag
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-2.5.66
2003-03-26 10:05 linux-2.5.66 Niki Waibel
@ 2003-03-26 10:11 ` Falk Hueffner
2003-03-26 10:29 ` linux-2.5.66 Marc Zyngier
1 sibling, 0 replies; 4+ messages in thread
From: Falk Hueffner @ 2003-03-26 10:11 UTC (permalink / raw)
To: axp-list
Niki Waibel <niki.waibel@newlogic.com> writes:
> the kernel does not compile:
>
> mm/fremap.c:139:
> PTE_FILE_MAX_BITS is missing.
> for ppc64, x86_64, i386 and sparc64 this is defined in
> include/asm_ppc64/pgtable.h
> include/asm_x86_64/pgtable.h
> include/asm_i386/pgtable_2level.h
> include/asm_i386/pgtable_3level.h
> include/asm_sparc64/pgtable.h
> for alpha a definition is missing.
> include/linux/socket.h:
> prototypes sys_sendmsg() and sys_recvmsg()
> this is now defined somewhere else -- so i commented
> that 2 prototypes to continue compiling.
> mm/rmap.c:388:
> include/linux/swapops.h:54:
> troubles with definition of pgoff_to_pte and/or pte_file
>
> after i've seen the 3rd problem i stopped trying to workaround
> them. waiting for 2.5.67!
Seems to be fixed in bitkeeper
http://linux.bkbits.net:8080/linux-2.5/patch@1.985.11.2?nav=index.html|ChangeSet@-3d|cset@1.985.11.2
--
Falk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-2.5.66
2003-03-26 10:05 linux-2.5.66 Niki Waibel
2003-03-26 10:11 ` linux-2.5.66 Falk Hueffner
@ 2003-03-26 10:29 ` Marc Zyngier
2003-03-27 9:24 ` linux-2.5.66 Niki Waibel
1 sibling, 1 reply; 4+ messages in thread
From: Marc Zyngier @ 2003-03-26 10:29 UTC (permalink / raw)
To: axp-list
>>>>> "Niki" == Niki Waibel <niki.waibel@newlogic.com> writes:
Niki> include/linux/socket.h:
Niki> prototypes sys_sendmsg() and sys_recvmsg()
Niki> this is now defined somewhere else -- so i commented
Niki> that 2 prototypes to continue compiling.
Could you instead try the following patch ?
Thanks,
M.
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1017 -> 1.1018
# include/asm-alpha/unistd.h 1.17 -> 1.18
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/03/25 maz@hina.wild-wind.fr.eu.org 1.1018
# Fix alpha cond_syscall to be immune to type-checking.
# --------------------------------------------
#
diff -Nru a/include/asm-alpha/unistd.h b/include/asm-alpha/unistd.h
--- a/include/asm-alpha/unistd.h Tue Mar 25 14:56:07 2003
+++ b/include/asm-alpha/unistd.h Tue Mar 25 14:56:07 2003
@@ -612,6 +612,12 @@
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
+#if 0
+/* This doesn't work if there's a function prototype for NAME visible,
+ because the argument types probably won't match. */
#define cond_syscall(x) asmlinkage long x(void) __attribute__((weak,alias("sys_ni_syscall")));
+#else
+#define cond_syscall(x) asm (".weak\t" #x ";\n\t" #x "=sys_ni_syscall");
+#endif
#endif /* _ALPHA_UNISTD_H */
--
Places change, faces change. Life is so very strange.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-2.5.66
2003-03-26 10:29 ` linux-2.5.66 Marc Zyngier
@ 2003-03-27 9:24 ` Niki Waibel
0 siblings, 0 replies; 4+ messages in thread
From: Niki Waibel @ 2003-03-27 9:24 UTC (permalink / raw)
To: Marc Zyngier; +Cc: axp-list
did a test with 2.5.66-bk2 AND your patch this night.
everyting compiles fine!
bk2 fixes the mm/fremap.c:139 and mm/rmap.c:388: issue,
your patch fixes the include/linux/socket.h (prototypes
of sys_sendmsg() and sys_recvmsg()) problem.
there are still some other issues, but i'll start another
thread about that.
niki
On 26-Mar-2003 Marc Zyngier wrote:
>>>>>> "Niki" == Niki Waibel <niki.waibel@newlogic.com> writes:
>
> Niki> include/linux/socket.h:
> Niki> prototypes sys_sendmsg() and sys_recvmsg()
> Niki> this is now defined somewhere else -- so i commented
> Niki> that 2 prototypes to continue compiling.
>
> Could you instead try the following patch ?
>
> Thanks,
>
> M.
>
># This is a BitKeeper generated patch for the following project:
># Project Name: Linux kernel tree
># This patch format is intended for GNU patch command version 2.5 or higher.
># This patch includes the following deltas:
># ChangeSet 1.1017 -> 1.1018
># include/asm-alpha/unistd.h 1.17 -> 1.18
>#
># The following is the BitKeeper ChangeSet Log
># --------------------------------------------
># 03/03/25 maz@hina.wild-wind.fr.eu.org 1.1018
># Fix alpha cond_syscall to be immune to type-checking.
># --------------------------------------------
>#
> diff -Nru a/include/asm-alpha/unistd.h b/include/asm-alpha/unistd.h
> --- a/include/asm-alpha/unistd.h Tue Mar 25 14:56:07 2003
> +++ b/include/asm-alpha/unistd.h Tue Mar 25 14:56:07 2003
> @@ -612,6 +612,12 @@
> * What we want is __attribute__((weak,alias("sys_ni_syscall"))),
> * but it doesn't work on all toolchains, so we just do it by hand
> */
> +#if 0
> +/* This doesn't work if there's a function prototype for NAME visible,
> + because the argument types probably won't match. */
> #define cond_syscall(x) asmlinkage long x(void) __attribute__((weak,alias("sys_ni_syscall")));
> +#else
> +#define cond_syscall(x) asm (".weak\t" #x ";\n\t" #x "=sys_ni_syscall");
> +#endif
>
> #endif /* _ALPHA_UNISTD_H */
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-03-27 9:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-26 10:05 linux-2.5.66 Niki Waibel
2003-03-26 10:11 ` linux-2.5.66 Falk Hueffner
2003-03-26 10:29 ` linux-2.5.66 Marc Zyngier
2003-03-27 9:24 ` linux-2.5.66 Niki Waibel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox