Re: [RFC] ELF Relocatable x86 and x86_64 bzImages



On Tue, Aug 01, 2006 at 04:58:49AM -0600, Eric W. Biederman wrote:

Currently there are 33 patches in my tree to do this.

The weirdest symptom I have had so far is that page faults did not
trigger the early exception handler on x86_64 (instead I got a reboot).

There is one outstanding issue where I am probably requiring too much alignment
on the arch/i386 kernel.

Can anyone find anything else?


I am running into compilation failure on x86_64.


SYSMAP System.map
SYSMAP .tmp_System.map
AS arch/x86_64/boot/bootsect.o
In file included from include/asm/bitops.h:9,
from include/linux/bitops.h:10,
from include/linux/kernel.h:16,
from include/asm/system.h:5,
from include/asm/processor.h:19,
from include/asm/elf.h:11,
from include/linux/elf.h:8,
from arch/x86_64/boot/bootsect.S:20:
include/asm/alternative.h:73: error: syntax error in macro parameter list
include/asm/alternative.h:88: error: syntax error in macro parameter list
include/asm/alternative.h:127: error: syntax error in macro parameter list
In file included from include/asm/system.h:5,
from include/asm/processor.h:19,
from include/asm/elf.h:11,
from include/linux/elf.h:8,
from arch/x86_64/boot/bootsect.S:20:
include/linux/kernel.h:34: warning: "ALIGN" redefined
In file included from include/linux/kernel.h:12,
from include/asm/system.h:5,
from include/asm/processor.h:19,
from include/asm/elf.h:11,
from include/linux/elf.h:8,
from arch/x86_64/boot/bootsect.S:20:
include/linux/linkage.h:27: warning: this is the location of the previous definition
In file included from include/asm/system.h:5,
from include/asm/processor.h:19,
from include/asm/elf.h:11,
from include/linux/elf.h:8,
from arch/x86_64/boot/bootsect.S:20:
include/linux/kernel.h:216: error: syntax error in macro parameter list
include/linux/kernel.h:220: error: syntax error in macro parameter list
In file included from include/linux/sched.h:55,
from include/asm/compat.h:9,
from include/asm/elf.h:12,
from include/linux/elf.h:8,
from arch/x86_64/boot/bootsect.S:20:
include/linux/nodemask.h:229: error: detected recursion whilst expanding macro "find_first_bit"
include/linux/nodemask.h:235: error: detected recursion whilst expanding macro "find_next_bit"
include/linux/nodemask.h:254: error: detected recursion whilst expanding macro "find_first_zero_bit"
arch/x86_64/boot/bootsect.S:21: error: linux/elf_boot.h: No such file or directory
make[1]: *** [arch/x86_64/boot/bootsect.o] Error 1
make: *** [bzImage] Error 2

Thanks
Vivek

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [RFC] ELF Relocatable x86 and x86_64 bzImages
    ... Currently there are 33 patches in my tree to do this. ... The weirdest symptom I have had so far is that page faults did not ...
    (Linux-Kernel)
  • Re: C++ hash map container
    ... > logarithmic and constant time is small enough that in real life the ... What about page faults? ... once you get down several levels in the tree, ... of code will have to be changed to try out another container type. ...
    (comp.lang.cpp)
  • Re: 1352 NUL bytes at the end of a page? (was Re: Assertion `s && s->tree failed: The sag
    ... Th ecurrent BK tree contains much of the anonvma stuff, ... need threads to trigger it and I've never seen threaded version control ... minor merging error), that's a black and white thing, it doesn't touch ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: So, how about that old "Eagle Eyes" Cheney?
    ... pulling the trigger, then dragging the body halfway up a tree to feed ...
    (rec.motorcycles)
  • RE: Cascade Delete within Self Referencing Table
    ... implement (category tree), there are beter ways of doing it than the dreaded ... > referential integrity. ... > DELETE statement conflicted with COLUMN SAME TABLE REFERENCE contraint ... > 2) Create a trigger that will delete child records from the parent table. ...
    (microsoft.public.sqlserver.programming)