|
From: Toralf F. <tor...@gm...> - 2013-04-12 14:52:42
Attachments:
.config
|
I get :
..
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/um/kernel/asm-offsets.s
In file included from /home/tfoerste/devel/linux/arch/um/include/asm/mman.h:5:0,
from /home/tfoerste/devel/linux/arch/x86/um/shared/sysdep/kernel-offsets.h:5,
from arch/um/kernel/asm-offsets.c:1:
/home/tfoerste/devel/linux/arch/um/include/shared/as-layout.h:9:35: fatal error: generated/asm-offsets.h: No such file or directory
compilation terminated.
make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
|
|
From: richard -r. w. <ric...@gm...> - 2013-04-12 15:00:10
|
On Fri, Apr 12, 2013 at 4:52 PM, Toralf Förster <tor...@gm...> wrote: > I get : > .. > CC kernel/bounds.s > GEN include/generated/bounds.h > CC arch/um/kernel/asm-offsets.s > In file included from /home/tfoerste/devel/linux/arch/um/include/asm/mman.h:5:0, > from /home/tfoerste/devel/linux/arch/x86/um/shared/sysdep/kernel-offsets.h:5, > from arch/um/kernel/asm-offsets.c:1: > /home/tfoerste/devel/linux/arch/um/include/shared/as-layout.h:9:35: fatal error: generated/asm-offsets.h: No such file or directory > compilation terminated. > make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2 Did you specify ARCH=um and SUBARCH=? -- Thanks, //richard |
|
From: Toralf F. <tor...@gm...> - 2013-04-12 17:26:39
|
On 04/12/2013 05:00 PM, richard -rw- weinberger wrote:
> Did you specify ARCH=um and SUBARCH=?
Only ARCH=um, but the full line give the same :
$ make ARCH=um SUBARCH=x86
scripts/kconfig/conf --silentoldconfig arch/x86/um/Kconfig
CHK include/generated/uapi/linux/version.h
make[3]: Nothing to be done for `all'.
make[1]: `arch/x86/um/user-offsets.s' is up to date.
CHK include/generated/utsrelease.h
CC arch/um/kernel/asm-offsets.s
In file included from /home/tfoerste/devel/linux/arch/um/include/asm/mman.h:5:0,
from /home/tfoerste/devel/linux/arch/x86/um/shared/sysdep/kernel-offsets.h:5,
from arch/um/kernel/asm-offsets.c:1:
/home/tfoerste/devel/linux/arch/um/include/shared/as-layout.h:9:35: fatal error: generated/asm-offsets.h: No such file or directory
compilation terminated.
make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
|
|
From: richard -r. w. <ric...@gm...> - 2013-04-12 17:41:23
|
On Fri, Apr 12, 2013 at 7:26 PM, Toralf Förster <tor...@gm...> wrote: > On 04/12/2013 05:00 PM, richard -rw- weinberger wrote: >> Did you specify ARCH=um and SUBARCH=? > Only ARCH=um, but the full line give the same : > > $ make ARCH=um SUBARCH=x86 > scripts/kconfig/conf --silentoldconfig arch/x86/um/Kconfig > CHK include/generated/uapi/linux/version.h > make[3]: Nothing to be done for `all'. > make[1]: `arch/x86/um/user-offsets.s' is up to date. > CHK include/generated/utsrelease.h > CC arch/um/kernel/asm-offsets.s > In file included from /home/tfoerste/devel/linux/arch/um/include/asm/mman.h:5:0, > from /home/tfoerste/devel/linux/arch/x86/um/shared/sysdep/kernel-offsets.h:5, > from arch/um/kernel/asm-offsets.c:1: > /home/tfoerste/devel/linux/arch/um/include/shared/as-layout.h:9:35: fatal error: generated/asm-offsets.h: No such file or directory > compilation terminated. > make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2 You .config build perfectly fine here. Have you tried a "make mrproper"? Thanks, //richard |
|
From: Toralf F. <tor...@gm...> - 2013-04-12 17:47:22
|
On 04/12/2013 07:41 PM, richard -rw- weinberger wrote:
> You .config build perfectly fine here.
> Have you tried a "make mrproper"?
$ cp .config ../; make mrproper; make mrproper ARCH=um; make mrproper ARCH=um SUBARCH=x86; cp ../.config .; make ARCH=um SUBARCH=x86 oldconfig; make ARCH=um SUBARCH=x86 linux
CLEAN .
CLEAN .tmp_versions
...
GEN include/generated/bounds.h
CC arch/um/kernel/asm-offsets.s
In file included from /home/tfoerste/devel/linux/arch/um/include/asm/mman.h:5:0,
from /home/tfoerste/devel/linux/arch/x86/um/shared/sysdep/kernel-offsets.h:5,
from arch/um/kernel/asm-offsets.c:1:
/home/tfoerste/devel/linux/arch/um/include/shared/as-layout.h:9:35: fatal error: generated/asm-offsets.h: No such file or directory
compilation terminated.
make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
:-(
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
|
|
From: Toralf F. <tor...@gm...> - 2013-04-12 17:51:46
|
On 04/12/2013 07:41 PM, richard -rw- weinberger wrote: > You .config build perfectly fine here. > Have you tried a "make mrproper"? ick - I forgot to un-apply your patch you sent to me related to the trinity-madvise UML problem - compiles fine now again but this now seems not to work any longer : $ cat devel/stub_pte_fix.diff diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild index b30f34a..db2d885 100644 --- a/arch/um/include/asm/Kbuild +++ b/arch/um/include/asm/Kbuild @@ -3,3 +3,4 @@ generic-y += hw_irq.h irq_regs.h kdebug.h percpu.h sections.h topology.h xor.h generic-y += ftrace.h pci.h io.h param.h delay.h mutex.h current.h exec.h generic-y += switch_to.h clkdev.h generic-y += trace_clock.h +header-y += mman.h diff --git a/arch/um/include/asm/mman.h b/arch/um/include/asm/mman.h new file mode 100644 index 0000000..d8fb362 --- /dev/null +++ b/arch/um/include/asm/mman.h @@ -0,0 +1,10 @@ +#ifndef __UM_MMAN_H__ ... -- MfG/Sincerely Toralf Förster pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3 |
|
From: richard -r. w. <ric...@gm...> - 2013-04-12 18:39:56
Attachments:
stub_pte_fix.diff
|
On Fri, Apr 12, 2013 at 7:51 PM, Toralf Förster <tor...@gm...> wrote: > On 04/12/2013 07:41 PM, richard -rw- weinberger wrote: >> You .config build perfectly fine here. >> Have you tried a "make mrproper"? > ick - I forgot to un-apply your patch you sent to me related to the trinity-madvise UML problem - compiles fine now again > > but this now seems not to work any longer : > > $ cat devel/stub_pte_fix.diff > diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild > index b30f34a..db2d885 100644 > --- a/arch/um/include/asm/Kbuild > +++ b/arch/um/include/asm/Kbuild > @@ -3,3 +3,4 @@ generic-y += hw_irq.h irq_regs.h kdebug.h percpu.h sections.h topology.h xor.h > generic-y += ftrace.h pci.h io.h param.h delay.h mutex.h current.h exec.h > generic-y += switch_to.h clkdev.h > generic-y += trace_clock.h > +header-y += mman.h > diff --git a/arch/um/include/asm/mman.h b/arch/um/include/asm/mman.h > new file mode 100644 > index 0000000..d8fb362 > --- /dev/null > +++ b/arch/um/include/asm/mman.h > @@ -0,0 +1,10 @@ > +#ifndef __UM_MMAN_H__ > ... The attached patch is an updated version of stub_pte_fix.diff. It should fix your issues. :-) -- Thanks, //richard |
|
From: Toralf F. <tor...@gm...> - 2013-04-12 18:47:56
|
On 04/12/2013 08:39 PM, richard -rw- weinberger wrote: > The attached patch is an updated version of stub_pte_fix.diff. It > should fix your issues. :-) yup - thx :-) -- MfG/Sincerely Toralf Förster pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3 |