Before I am jumped on, I HAVE read the documentation for gcc2.2.2. I
recently compiled the kernel for 0.96bpl2 and am able to boot off the
image. However, nothing else that I compile using gcc2.2.2 will work.
I tried a five line program which simply outputs a line of text and
recieved the following error:
general protection: 0000
EIP: 000f:04000000
EFLAGS: 00010286
ESP: 0017:03BFFCBC
fs: 0017
base: 24000000, limit: 04000000
Stack: 00003501 00000400 000071F8 FFFFFFFF
Pid: 389, process nr: 9
general protection: 0000
EIP: 0008:0000C809
EFLAGS: 00010246
ESP: 0017:03BFFCBC
fs: 0017
base: 24000000, limit: 04000000
Pid: 389, process nr: 9
64 8a 04 0b 0f a1 88 44 24 08
Segmentation fault
I am clueless as to what all of this means. However, I am getting essentialy the same error for every program that I compile under gcc2.2.2. I am totally confused due to the fact that the kernel seemed to compile fine.
I am not totally sure that I have built the kernel correctly. I copied the image to a floppy disk. And from there changed the bytes at offset 508 and 509 in the bootimage to use /dev/hda2.
What am I doing wrong???
--
Mark Alston
c-amb@math.utah.edu
"Don't try this at home, kids. This should be done only by
trained, professional idiots." --Plucky
| Yu Zhao | [PATCH 2/16 v6] PCI: define PCI resource names in an 'enum' |
| Greg Kroah-Hartman | [PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment |
| Laurent Riffard | Re: 2.6.23-mm1: BUG in reiserfs_delete_xattrs |
| Ben Crowhurst | Kernel Development & Objective-C |
git: | |
| Kyle Rose | [OT] Re: C++ *for Git* |
| cte | linking libgit.a in C++ projects |
| Linus Torvalds | Re: CRLF problems with Git on Win32 |
| Pierre Habouzit | Re: [PATCH] bundle, fast-import: detect write failure |
| Thor Lancelot Simon | Re: sysctl knob to let sugid processes dump core (pr 15994) |
| YAMAMOTO Takashi | Re: Patches for EST and SMP |
| Bill Studenmund | Re: @booted_kernel magic symlink? |
| Adam Hamsik | Re: Thread benchmarks, round 2 |
| Chris | OpenBSD 4.4 installation error: write failed; file system full |
| Samuel Moñux | Cyrus IMAP performance problems [Long] |
| Steve B | Intel Atom and D945GCLF2 |
| James Hartley | scp batch mode? |
