I built 2.6.5-rc2 and it's running fine on a amd64 installed with
Fedora Core 1. Unfortunately the mm1 patch is giving me an assembler
error when macros with args are invoked in:
---------------------------------------------------------
linux-2.6.5-rc2-mm1/arch/x86_64/kernel/entry.S:
---------------------------------------------------------
279 hammer 20:37 /usr/src/linux-2.6.5-rc2-mm1> gmake
gmake[1]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
AS arch/x86_64/kernel/entry.o
arch/x86_64/kernel/entry.S: Assembler messages:
arch/x86_64/kernel/entry.S:184: Error: missing separator
arch/x86_64/kernel/entry.S:434: Error: missing separator
arch/x86_64/kernel/entry.S:540: Error: missing separator
arch/x86_64/kernel/entry.S:543: Error: missing separator
arch/x86_64/kernel/entry.S:546: Error: missing separator
arch/x86_64/kernel/entry.S:551: Error: missing separator
arch/x86_64/kernel/entry.S:554: Error: missing separator
arch/x86_64/kernel/entry.S:557: Error: missing separator
arch/x86_64/kernel/entry.S:719: Error: missing separator
arch/x86_64/kernel/entry.S:778: Error: missing separator
arch/x86_64/kernel/entry.S:806: Error: missing separator
arch/x86_64/kernel/entry.S:819: Error: missing separator
arch/x86_64/kernel/entry.S:872: Error: missing separator
arch/x86_64/kernel/entry.S:888: Error: missing separator
arch/x86_64/kernel/entry.S:912: Error: missing separator
gmake[1]: *** [arch/x86_64/kernel/entry.o] Error 1
gmake: *** [arch/x86_64/kernel] Error 2
------------------------------------------------------------
For example, the first error at line 184 is the invocation
of the SAVE_ARGS macro:
178 ENTRY(system_call)
179 CFI_STARTPROC
180 swapgs
181 movq %rsp,%gs:pda_oldrsp
182 movq %gs:pda_kernelstack,%rsp
183 sti
184 SAVE_ARGS 8,1 <------- HERE
185 movq %rax,ORIG_RAX-ARGOFFSET(%rsp)
186 movq %rcx,RIP-ARGOFFSET(%rsp)
187 GET_THREAD_INFO(%rcx)
The same code without the mm1 patch is identical.
-piet
--
piet(a)www.piet.net
Show replies by date