on 09/03/2012 19:47 FreeBSD Tinderbox said the following: > ld: kernel.debug: Not enough room for program headers (allocated 5, need 6)
Just in case someone more knowledgeable can pick up from here: http://gcc.gnu.org/ml/gcc-bugs/2000-05/msg00797.html http://www.delorie.com/gnu/docs/binutils/ld_48.html (bottom of the page) BTW, something from i386 kernel that I have here: Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0xc0400034 0xc0400034 0x000c0 0x000c0 R E 0x4 INTERP 0x0000f4 0xc04000f4 0xc04000f4 0x0000d 0x0000d R 0x1 [Requesting program interpreter: /red/herring] LOAD 0x000000 0xc0400000 0xc0400000 0x9d700e 0x9d700e R E 0x1000 LOAD 0x9d7010 0xc0dd8010 0xc0dd8010 0xf1edc 0x29878c RW 0x1000 DYNAMIC 0x9d7010 0xc0dd8010 0xc0dd8010 0x00068 0x00068 RW 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4 Seems to have 6 items. So maybe we could either use some fixed size instead of SIZEOF_HEADERS or explicitly use PHDRS. -- Andriy Gapon _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"