Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Eric Youngdale <eric@aib.com>
Subject: Re: errors
Date: Thu, 6 Jun 1996 15:58:14 -0400	[thread overview]
Message-ID: <b7119680a30c2dc59c32c49b6ec0cdec.axp-list@archive.invalid> (raw)
In-Reply-To: <bjames@galileo.mis.net>

>I've been down that road.  I continue to get errors in binfmt_elf.c
>saying that there is no such member 'edx' in structure
>regs.  It's found in the function load_elf_binary and accepts a parameter
>of pointer to structure type pt_regs and, in fact, after looking through
>the relevant headers and finding the declaration of pt_regs there is no
>member variable named 'edx.'
>This kernel version is 1.3.97 (also, when I change the arch to alpha, I
>can only make vmlinux, but not vmlinux.gz or zImage).
>Any thoughts?

	You need some kernel patches in order to be able to run ELF
binaries.
I can send out the patches to anyone who wants to try, but you need the ELF
compiler, ELF binutils, ELF libc and ELF gdb before it would really be of
much use.

	If it weren't for the fact that we were close to 2.0, I would have
sent the kernel patches to Linus.  They affect a bit more than just the
Alpha, since I had to generalize and abstract a few things so that
binfmt_elf
could work for any architecture.

	FWIW, I think the kernel end of things is fairly stable right now.
 There are still some userland issues to be solved before it is really
ready for prime time.  We haven't really tried ELF kernels yet - it is a
lot easier to shake things down in userland than it would be to try and
debug a linker by testing kernels.

-Eric

-- 
"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

       reply	other threads:[~1996-06-06 19:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bjames@galileo.mis.net>
1996-06-06 19:58 ` Eric Youngdale [this message]
     [not found] <Pine.LNX.3.91.960606133656.23662B-100000@elroy.redhat.com>
1996-06-06 18:37 ` errors Barry James
1996-06-06 18:50   ` errors Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-06-06 20:43   ` errors Erik Troan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox