* Re: [PATCH] Remove fs.h from mm.h [not found] ` <alpine.LFD.0.999.0707291706490.3442@woody.linux-foundation.org> @ 2007-07-30 13:00 ` Hirokazu Takata 2007-07-30 19:07 ` Alexey Dobriyan [not found] ` <1185770527.22473.2.camel@roc-desktop> 1 sibling, 1 reply; 7+ messages in thread From: Hirokazu Takata @ 2007-07-30 13:00 UTC (permalink / raw) To: Alexey Dobriyan; +Cc: Linus Torvalds, akpm, linux-kernel, linux-arch, viro Hi, Alexery, This change breaks m32r, too. Don't forget updating the other archs, please. From: Linus Torvalds <torvalds@linux-foundation.org> Subject: Re: [PATCH] Remove fs.h from mm.h Date: Sun, 29 Jul 2007 17:08:20 -0700 (PDT) > > On Mon, 30 Jul 2007, Alexey Dobriyan wrote: > > > > Cross-compile tested without regressions on my two usual configs and (sigh): > > > > alpha arm-mx1ads mips-bigsur powerpc-ebony > .. > > Heh. > > Kudos for going above and beyond. > > "But where is blackfin and frv?" > > Thanks, > > Linus > - Here is a patch for the m32r. [PATCH] m32r: build fix for removing fs.h from mm.h This patch is required against the commit: Remove fs.h from mm.h 4e950f6f0189f65f8bf069cf2272649ef418f5e4 Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> --- arch/m32r/kernel/ptrace.c | 1 + arch/m32r/kernel/smpboot.c | 1 + arch/m32r/kernel/sys_m32r.c | 1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/m32r/kernel/ptrace.c b/arch/m32r/kernel/ptrace.c index 57a92ef..62a5142 100644 --- a/arch/m32r/kernel/ptrace.c +++ b/arch/m32r/kernel/ptrace.c @@ -17,6 +17,7 @@ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/mm.h> +#include <linux/err.h> #include <linux/smp.h> #include <linux/smp_lock.h> #include <linux/errno.h> diff --git a/arch/m32r/kernel/smpboot.c b/arch/m32r/kernel/smpboot.c index 3eb3059..9dae410 100644 --- a/arch/m32r/kernel/smpboot.c +++ b/arch/m32r/kernel/smpboot.c @@ -43,6 +43,7 @@ #include <linux/init.h> #include <linux/kernel.h> #include <linux/mm.h> +#include <linux/err.h> #include <linux/irq.h> #include <linux/bootmem.h> #include <linux/delay.h> diff --git a/arch/m32r/kernel/sys_m32r.c b/arch/m32r/kernel/sys_m32r.c index bda8554..b13dbbe 100644 --- a/arch/m32r/kernel/sys_m32r.c +++ b/arch/m32r/kernel/sys_m32r.c @@ -10,6 +10,7 @@ #include <linux/errno.h> #include <linux/sched.h> #include <linux/mm.h> +#include <linux/fs.h> #include <linux/smp.h> #include <linux/sem.h> #include <linux/msg.h> -- 1.5.2.4 -- Hirokazu Takata <takata@linux-m32r.org> Linux/M32R Project: http://www.linux-m32r.org/ ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] Remove fs.h from mm.h 2007-07-30 13:00 ` [PATCH] Remove fs.h from mm.h Hirokazu Takata @ 2007-07-30 19:07 ` Alexey Dobriyan 2007-07-31 1:29 ` Hirokazu Takata 0 siblings, 1 reply; 7+ messages in thread From: Alexey Dobriyan @ 2007-07-30 19:07 UTC (permalink / raw) To: Hirokazu Takata; +Cc: Linus Torvalds, akpm, linux-kernel, linux-arch, viro On Mon, Jul 30, 2007 at 10:00:47PM +0900, Hirokazu Takata wrote: > This change breaks m32r, too. Apologies. I just finished adding m32r to my cross-build setup, so there shouldn't be any more such breakages. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Remove fs.h from mm.h 2007-07-30 19:07 ` Alexey Dobriyan @ 2007-07-31 1:29 ` Hirokazu Takata 0 siblings, 0 replies; 7+ messages in thread From: Hirokazu Takata @ 2007-07-31 1:29 UTC (permalink / raw) To: Alexey Dobriyan; +Cc: linux-kernel, linux-arch From: Alexey Dobriyan <adobriyan@gmail.com> > Apologies. I just finished adding m32r to my cross-build setup, so there > shouldn't be any more such breakages. Many thanks for your erabolation of cross-build check. -- Takata ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <1185770527.22473.2.camel@roc-desktop>]
[parent not found: <20070730194335.GE5776@martell.zuzino.mipt.ru>]
* Re: [PATCH] Remove fs.h from mm.h [not found] ` <20070730194335.GE5776@martell.zuzino.mipt.ru> @ 2007-07-31 2:51 ` Bryan Wu 2007-08-02 19:44 ` blackfin toolchain and build issues Sam Ravnborg 0 siblings, 1 reply; 7+ messages in thread From: Bryan Wu @ 2007-07-31 2:51 UTC (permalink / raw) To: Alexey Dobriyan, linux-kernel, linux-arch; +Cc: Bryan Wu On Mon, 2007-07-30 at 23:43 +0400, Alexey Dobriyan wrote: > On Mon, Jul 30, 2007 at 12:42:07PM +0800, Bryan Wu wrote: > > Can I do something to help this regression testing? > > > > Please feel free to ask me. > > Sorry, blackfin toolchain doesn't like me, so I can't test this myself. > Check current -git if I screwed up anything. > Oh, do you need use blackfin toolchain? Actually, it is very simple to setup it on your machine. please get the latest binary toolchain here: http://blackfin.uclinux.org/gf/download/frsrelease/344/3180/blackfin-toolchain-uclinux-SVN.tar.bz2 http://blackfin.uclinux.org/gf/download/frsrelease/344/3181/blackfin-toolchain-linux-uclibc-SVN.tar.bz2 - untar these 2 tar ball - add the path to your environment variables - ready to compile the kernel by these blackfin cross toolchain > It still takes too much time from clean git pull to final patch, so > sending it to you would increase risk that someone will touch core > headers nontrivially invalidating all work. Need I to generate the patch? I will take a look at the latest git-tree. Many thanks, we hope you can add our blackfin to your cross-build check. Best Regards, - Bryan Wu ^ permalink raw reply [flat|nested] 7+ messages in thread
* blackfin toolchain and build issues 2007-07-31 2:51 ` Bryan Wu @ 2007-08-02 19:44 ` Sam Ravnborg 2007-08-03 2:18 ` Bryan Wu 0 siblings, 1 reply; 7+ messages in thread From: Sam Ravnborg @ 2007-08-02 19:44 UTC (permalink / raw) To: Bryan Wu; +Cc: Alexey Dobriyan, linux-kernel, linux-arch > > > Oh, do you need use blackfin toolchain? Actually, it is very simple to > setup it on your machine. > please get the latest binary toolchain here: > http://blackfin.uclinux.org/gf/download/frsrelease/344/3180/blackfin-toolchain-uclinux-SVN.tar.bz2 > http://blackfin.uclinux.org/gf/download/frsrelease/344/3181/blackfin-toolchain-linux-uclibc-SVN.tar.bz2 Thanks - installed. While building latest git tree I see several 'funny' errors. LD kernel/built-in.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_futex' changed from 4 in kernel/sys_ni.o to 262 in kernel/futex.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_set_robust_list' changed from 4 in kernel/sys_ni.o to 30 in kernel/futex.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_get_robust_list' changed from 4 in kernel/sys_ni.o to 170 in kernel/futex.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setfsgid16' changed from 4 in kernel/sys_ni.o to 16 in kernel/uid16.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setfsuid16' changed from 4 in kernel/sys_ni.o to 16 in kernel/uid16.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setresgid16' changed from 4 in kernel/sys_ni.o to 36 in kernel/uid16.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setresuid16' changed from 4 in kernel/sys_ni.o to 36 in kernel/uid16.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setuid16' changed from 4 in kernel/sys_ni.o to 16 in kernel/uid16.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setreuid16' changed from 4 in kernel/sys_ni.o to 26 in kernel/uid16.o ... and later: LD .tmp_vmlinux1 bfin-linux-uclibc-ld: Warning: size of symbol `_sys_mremap' changed from 4 in kernel/built-in.o to 82 in mm/built-in.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_ioprio_set' changed from 4 in kernel/built-in.o to 362 in fs/built-in.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_epoll_wait' changed from 4 in kernel/built-in.o to 1002 in fs/built-in.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_timerfd' changed from 4 in kernel/built-in.o to 346 in fs/built-in.o bfin-linux-uclibc-ld: Warning: size of symbol `_sys_ioprio_get' changed from 4 in kernel/built-in.o to 344 in fs/built-in.o I did not look into these. I assume it is a toolchain issue?? PS. I had to fix a few things to get so far but as I did not do it the right way I have no patch. Sam ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: blackfin toolchain and build issues 2007-08-02 19:44 ` blackfin toolchain and build issues Sam Ravnborg @ 2007-08-03 2:18 ` Bryan Wu 2007-08-03 4:32 ` Sam Ravnborg 0 siblings, 1 reply; 7+ messages in thread From: Bryan Wu @ 2007-08-03 2:18 UTC (permalink / raw) To: Sam Ravnborg; +Cc: Bryan Wu, Alexey Dobriyan, linux-kernel, linux-arch On Thu, 2007-08-02 at 21:44 +0200, Sam Ravnborg wrote: > > > > > Oh, do you need use blackfin toolchain? Actually, it is very simple to > > setup it on your machine. > > please get the latest binary toolchain here: > > http://blackfin.uclinux.org/gf/download/frsrelease/344/3180/blackfin-toolchain-uclinux-SVN.tar.bz2 > > http://blackfin.uclinux.org/gf/download/frsrelease/344/3181/blackfin-toolchain-linux-uclibc-SVN.tar.bz2 > > Thanks - installed. > > While building latest git tree I see several 'funny' errors. > LD kernel/built-in.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_futex' changed from 4 in kernel/sys_ni.o to 262 in kernel/futex.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_set_robust_list' changed from 4 in kernel/sys_ni.o to 30 in kernel/futex.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_get_robust_list' changed from 4 in kernel/sys_ni.o to 170 in kernel/futex.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setfsgid16' changed from 4 in kernel/sys_ni.o to 16 in kernel/uid16.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setfsuid16' changed from 4 in kernel/sys_ni.o to 16 in kernel/uid16.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setresgid16' changed from 4 in kernel/sys_ni.o to 36 in kernel/uid16.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setresuid16' changed from 4 in kernel/sys_ni.o to 36 in kernel/uid16.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setuid16' changed from 4 in kernel/sys_ni.o to 16 in kernel/uid16.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setreuid16' changed from 4 in kernel/sys_ni.o to 26 in kernel/uid16.o > ... > > and later: > > LD .tmp_vmlinux1 > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_mremap' changed from 4 in kernel/built-in.o to 82 in mm/built-in.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_ioprio_set' changed from 4 in kernel/built-in.o to 362 in fs/built-in.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_epoll_wait' changed from 4 in kernel/built-in.o to 1002 in fs/built-in.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_timerfd' changed from 4 in kernel/built-in.o to 346 in fs/built-in.o > bfin-linux-uclibc-ld: Warning: size of symbol `_sys_ioprio_get' changed from 4 in kernel/built-in.o to 344 in fs/built-in.o > > I will check this on my side ASAP. But the git-tree did not merge my "fs.h" header file patch, how could it compiled passed like this? > > I did not look into these. I assume it is a toolchain issue?? > > PS. I had to fix a few things to get so far but as I did not do > it the right way I have no patch. > > Sam Thanks ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: blackfin toolchain and build issues 2007-08-03 2:18 ` Bryan Wu @ 2007-08-03 4:32 ` Sam Ravnborg 0 siblings, 0 replies; 7+ messages in thread From: Sam Ravnborg @ 2007-08-03 4:32 UTC (permalink / raw) To: Bryan Wu; +Cc: Alexey Dobriyan, linux-kernel, linux-arch On Fri, Aug 03, 2007 at 10:18:01AM +0800, Bryan Wu wrote: > > I will check this on my side ASAP. But the git-tree did not merge my > "fs.h" header file patch, how could it compiled passed like this? > I just inserted "#include <linux/fs.h> in mm.h as a temporary workaround. I also had to deselect a few drivers to make it build this far (used defconfig). Sam ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-08-03 4:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20070729223613.GA5916@martell.zuzino.mipt.ru>
[not found] ` <alpine.LFD.0.999.0707291706490.3442@woody.linux-foundation.org>
2007-07-30 13:00 ` [PATCH] Remove fs.h from mm.h Hirokazu Takata
2007-07-30 19:07 ` Alexey Dobriyan
2007-07-31 1:29 ` Hirokazu Takata
[not found] ` <1185770527.22473.2.camel@roc-desktop>
[not found] ` <20070730194335.GE5776@martell.zuzino.mipt.ru>
2007-07-31 2:51 ` Bryan Wu
2007-08-02 19:44 ` blackfin toolchain and build issues Sam Ravnborg
2007-08-03 2:18 ` Bryan Wu
2007-08-03 4:32 ` Sam Ravnborg
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).