From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Weinberger Subject: Re: [RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS) Date: Fri, 24 Apr 2015 09:40:32 +0200 Message-ID: <5539F370.9070704@nod.at> References: <1429263374-57517-1-git-send-email-tazaki@sfc.wide.ad.jp> <1429450104-47619-1-git-send-email-tazaki@sfc.wide.ad.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1429450104-47619-1-git-send-email-tazaki@sfc.wide.ad.jp> Sender: linux-doc-owner@vger.kernel.org To: Hajime Tazaki , linux-arch@vger.kernel.org Cc: Arnd Bergmann , Jonathan Corbet , Christoph Lameter , Jekka Enberg , Javid Rientjes , Joonsoo Kim , Jndrew Morton , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, netdev@vger.kernel.org, linux-mm@kvack.org, Jeff Dike , Rusty Russell , Ryo Nakamura , Christoph Paasch , Mathieu Lacage , libos-nuse@googlegroups.com List-Id: linux-arch.vger.kernel.org Hi! Am 19.04.2015 um 15:28 schrieb Hajime Tazaki: > changes from v2: > - Patch 02/11 ("slab: add private memory allocator header for arch/li= b") > * add new allocator named SLIB (Library Allocator): Patch 04/11 is in= tegrated > to 02 (commented by Christoph Lameter) > - Overall > * rewrite commit log messages >=20 > changes from v1: > - Patch 01/11 ("sysctl: make some functions unstatic to access by arc= h/lib"): > * add prefix ctl_table_ to newly publiced functions (commented by Joe= Perches) > - Patch 08/11 ("lib: other kernel glue layer code"): > * significantly reduce glue codes (stubs) (commented by Richard Weinb= erger) > - Others > * adapt to linux-4.0.0 > * detect make dependency by Kbuild .cmd files I still fail to build it. :-( for-asm-upstream-v3 on top of Linus' tree gives: rw@sandpuppy:~/linux (libos $)> make library ARCH=3Dlib OBJS-MK arch/lib/objs.mk arch/lib/Makefile.print:41: target 'lzo/' given more than once in the s= ame rule. make[2]: Nothing to be done for '.config'. scripts/kconfig/conf --silentoldconfig arch/lib/Kconfig CHK include/config/kernel.release CHK include/generated/utsrelease.h CHK include/generated/uapi/linux/version.h CHK include/generated/compile.h GEN arch/lib/timeconst.h GEN arch/lib/linker.lds CC arch/lib/lib.o CC arch/lib/lib-device.o CC arch/lib/lib-socket.o CC arch/lib/random.o CC arch/lib/softirq.o CC arch/lib/time.o CC arch/lib/timer.o CC arch/lib/hrtimer.o CC arch/lib/sched.o CC arch/lib/workqueue.o CC arch/lib/print.o CC arch/lib/tasklet.o CC arch/lib/tasklet-hrtimer.o CC arch/lib/glue.o CC arch/lib/fs.o CC arch/lib/sysctl.o CC arch/lib/proc.o CC arch/lib/sysfs.o CC arch/lib/capability.o arch/lib/capability.c:16:6: error: redefinition of =E2=80=98capable=E2=80= =99 bool capable(int cap) ^ In file included from arch/lib/capability.c:9:0: =2E/include/linux/capability.h:236:20: note: previous definition of =E2= =80=98capable=E2=80=99 was here static inline bool capable(int cap) ^ arch/lib/capability.c:39:6: error: redefinition of =E2=80=98ns_capable=E2= =80=99 bool ns_capable(struct user_namespace *ns, int cap) ^ In file included from arch/lib/capability.c:9:0: =2E/include/linux/capability.h:240:20: note: previous definition of =E2= =80=98ns_capable=E2=80=99 was here static inline bool ns_capable(struct user_namespace *ns, int cap) ^ arch/lib/Makefile:210: recipe for target 'arch/lib/capability.o' failed make: *** [arch/lib/capability.o] Error 1 And on top of v4.0 it fails too: rw@sandpuppy:~/linux (libos-v4.0 $)> make library ARCH=3Dlib OBJS-MK arch/lib/objs.mk arch/lib/Makefile.print:41: target 'lzo/' given more than once in the s= ame rule. make[2]: Nothing to be done for '.config'. scripts/kconfig/conf --silentoldconfig arch/lib/Kconfig CHK include/config/kernel.release CHK include/generated/utsrelease.h CHK include/generated/uapi/linux/version.h CHK include/generated/compile.h GEN arch/lib/timeconst.h GEN arch/lib/linker.lds CC arch/lib/lib.o CC arch/lib/lib-device.o CC arch/lib/lib-socket.o arch/lib/lib-socket.c: In function =E2=80=98lib_sock_sendmsg=E2=80=99: arch/lib/lib-socket.c:114:2: error: too few arguments to function =E2=80= =98sock_sendmsg=E2=80=99 retval =3D sock_sendmsg(kernel_socket, &msg_sys); ^ In file included from arch/lib/lib-socket.c:12:0: =2E/include/linux/net.h:216:5: note: declared here int sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len); ^ arch/lib/Makefile:210: recipe for target 'arch/lib/lib-socket.o' failed make: *** [arch/lib/lib-socket.o] Error 1 You *really* need to shape up wrt the build process. Thanks, //richard From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from a.ns.miles-group.at ([95.130.255.143]:65276 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755111AbbDXHks (ORCPT ); Fri, 24 Apr 2015 03:40:48 -0400 Message-ID: <5539F370.9070704@nod.at> Date: Fri, 24 Apr 2015 09:40:32 +0200 From: Richard Weinberger MIME-Version: 1.0 Subject: Re: [RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS) References: <1429263374-57517-1-git-send-email-tazaki@sfc.wide.ad.jp> <1429450104-47619-1-git-send-email-tazaki@sfc.wide.ad.jp> In-Reply-To: <1429450104-47619-1-git-send-email-tazaki@sfc.wide.ad.jp> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Hajime Tazaki , linux-arch@vger.kernel.org Cc: Arnd Bergmann , Jonathan Corbet , Christoph Lameter , Jekka Enberg , Javid Rientjes , Joonsoo Kim , Jndrew Morton , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, netdev@vger.kernel.org, linux-mm@kvack.org, Jeff Dike , Rusty Russell , Ryo Nakamura , Christoph Paasch , Mathieu Lacage , libos-nuse@googlegroups.com Message-ID: <20150424074032.6_4mqrR3334nU3ea8s5LBih5xD1V15APNA0JYS2e9EI@z> Hi! Am 19.04.2015 um 15:28 schrieb Hajime Tazaki: > changes from v2: > - Patch 02/11 ("slab: add private memory allocator header for arch/lib") > * add new allocator named SLIB (Library Allocator): Patch 04/11 is integrated > to 02 (commented by Christoph Lameter) > - Overall > * rewrite commit log messages > > changes from v1: > - Patch 01/11 ("sysctl: make some functions unstatic to access by arch/lib"): > * add prefix ctl_table_ to newly publiced functions (commented by Joe Perches) > - Patch 08/11 ("lib: other kernel glue layer code"): > * significantly reduce glue codes (stubs) (commented by Richard Weinberger) > - Others > * adapt to linux-4.0.0 > * detect make dependency by Kbuild .cmd files I still fail to build it. :-( for-asm-upstream-v3 on top of Linus' tree gives: rw@sandpuppy:~/linux (libos $)> make library ARCH=lib OBJS-MK arch/lib/objs.mk arch/lib/Makefile.print:41: target 'lzo/' given more than once in the same rule. make[2]: Nothing to be done for '.config'. scripts/kconfig/conf --silentoldconfig arch/lib/Kconfig CHK include/config/kernel.release CHK include/generated/utsrelease.h CHK include/generated/uapi/linux/version.h CHK include/generated/compile.h GEN arch/lib/timeconst.h GEN arch/lib/linker.lds CC arch/lib/lib.o CC arch/lib/lib-device.o CC arch/lib/lib-socket.o CC arch/lib/random.o CC arch/lib/softirq.o CC arch/lib/time.o CC arch/lib/timer.o CC arch/lib/hrtimer.o CC arch/lib/sched.o CC arch/lib/workqueue.o CC arch/lib/print.o CC arch/lib/tasklet.o CC arch/lib/tasklet-hrtimer.o CC arch/lib/glue.o CC arch/lib/fs.o CC arch/lib/sysctl.o CC arch/lib/proc.o CC arch/lib/sysfs.o CC arch/lib/capability.o arch/lib/capability.c:16:6: error: redefinition of ‘capable’ bool capable(int cap) ^ In file included from arch/lib/capability.c:9:0: ./include/linux/capability.h:236:20: note: previous definition of ‘capable’ was here static inline bool capable(int cap) ^ arch/lib/capability.c:39:6: error: redefinition of ‘ns_capable’ bool ns_capable(struct user_namespace *ns, int cap) ^ In file included from arch/lib/capability.c:9:0: ./include/linux/capability.h:240:20: note: previous definition of ‘ns_capable’ was here static inline bool ns_capable(struct user_namespace *ns, int cap) ^ arch/lib/Makefile:210: recipe for target 'arch/lib/capability.o' failed make: *** [arch/lib/capability.o] Error 1 And on top of v4.0 it fails too: rw@sandpuppy:~/linux (libos-v4.0 $)> make library ARCH=lib OBJS-MK arch/lib/objs.mk arch/lib/Makefile.print:41: target 'lzo/' given more than once in the same rule. make[2]: Nothing to be done for '.config'. scripts/kconfig/conf --silentoldconfig arch/lib/Kconfig CHK include/config/kernel.release CHK include/generated/utsrelease.h CHK include/generated/uapi/linux/version.h CHK include/generated/compile.h GEN arch/lib/timeconst.h GEN arch/lib/linker.lds CC arch/lib/lib.o CC arch/lib/lib-device.o CC arch/lib/lib-socket.o arch/lib/lib-socket.c: In function ‘lib_sock_sendmsg’: arch/lib/lib-socket.c:114:2: error: too few arguments to function ‘sock_sendmsg’ retval = sock_sendmsg(kernel_socket, &msg_sys); ^ In file included from arch/lib/lib-socket.c:12:0: ./include/linux/net.h:216:5: note: declared here int sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len); ^ arch/lib/Makefile:210: recipe for target 'arch/lib/lib-socket.o' failed make: *** [arch/lib/lib-socket.o] Error 1 You *really* need to shape up wrt the build process. Thanks, //richard