From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31776 invoked from network); 30 Apr 2000 16:26:50 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Apr 2000 16:26:50 -0000 Received: from tarwebok (port-3.ottawa4.achilles.net [209.151.2.102]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA27778 for ; Sun, 30 Apr 2000 12:26:48 -0400 Received: from dhd by tarwebok with local (Exim 3.12 #1 (Debian)) id 12lwYP-00053v-00 for ; Sun, 30 Apr 2000 12:26:45 -0400 To: axp-list@redhat.com Subject: Re: 2.3.99-pre6/milo: expected 1, not 2 program headers References: From: David Huggins-Daines Date: 30 Apr 2000 12:26:45 -0400 In-Reply-To: Dave Gilbert's message of "Sun, 30 Apr 2000 17:09:31 +0100 (BST)" Message-ID: <87pur7mu62.fsf@linuxcare.com> User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Dave Gilbert writes: > I've just built 2.3.99-pre6 (currently running -pre1 fine) > but on trying to boot it I get: > > expected 1, not 2 program headers' > > from MILO. Yeah, Jay has been having the same problem with aboot and 2.3.99-pre, but I've been categorically unable to reproduce it (even if I put a *lot* of stuff in the kernel - I got the uncompressed size up to over 6M) I think we've narrowed the problem down to the GCC version - I'm using 2.95.2 (Debian), you guys are presumably using egcs 1.1.2 (Red Hat). Can you send me (a) the size of vmlinux (not vmlinux.gz/vmlinuz), (b) the output of `objdump -x vmlinux', and (c) which versions of gcc and binutils (use `ld -V' to show this) you are using? > I've noticed the kernel is getting near to, but not over 1MB - could that > be it? Er, that's the compressed size. I suspect the uncompressed size will be closer to 4 or 5 MB. > P.S. Trying to build in x86 emulation gave two link errors of not being > able to find teh symbol 'fputs' On a related subject, does anyone know if there is a version of em86 out there that will actually compile and work with recent kernel versions? -- David Huggins-Daines, GNU/Linux Consultant, Linuxcare, Inc. 613.223.0225 mobile dhd@linuxcare.com, http://www.linuxcare.com/ Linuxcare. Support for the revolution.