Dear L4 Hackers, Following the instructions on the L4Linux website, I did a cvs checkout of l4linux-2.6 and l4linux-2.6-env Then, following the "Building" instructions, I cd'd to the l4 directory and typed in "make config", I then selected "Paths and Directories" to /root/drops (I had previously created /root/drops as an empty directory, and chmod'ed it to: chmod 777 drops). I exited "make config", selecting the "save configuration file option. Back in the l4 directory, I then typed in "make". It ran for several minutes, and finally failed trying to assemble oskit10/kern/x86/pc/i16/i16_real_int.S. The error was on line 64. Shown below is command used to assemble this file, and the llines following it, from the output of "make": gcc -c -o i16_real_int.o -MD -DHAVE_CONFIG_H -DOSKIT_X86 -DOSKIT_X86_PC -I. -I../kern/x86 -I../kern/x86/pc -I../kern/x86/dos -I../kern/x86/i16 -I../kern/x86/pc/i16 -I../kern/x86/dos/i16 -I../kern -I- -I../oskit/c -I.. -I.. -nostdinc -D_GNU_SOURCE -DASSEMBLER -MD ../kern/x86/pc/i16/i16_real_int.S ../kern/x86/pc/i16/i16_real_int.S: Assembler messages: ../kern/x86/pc/i16/i16_real_int.S:64: Error: bad expression ../kern/x86/pc/i16/i16_real_int.S:64: Error: junk `1-0x00000200' after expression make[3]: *** [i16_real_int.o] Error 1 rm x86_asm.symc x86_asm.symc.o trap_asm.symc trap_asm.symc.o pc_asm.symc pc_asm.symc.o make[3]: Leaving directory `/root/oskit10/kern' make[2]: *** [kern/all.MAKE] Error 2 make[2]: Leaving directory `/root/oskit10' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/oskit10' make: *** [../oskit10] Error 2 I checked everything out of CVS on 2/27/2005, PST (i.e., Loa Angeles, California, USA time). I am using Fedora Core 2 Linux. The following is the output from "cat /etc/fedora-release": Fedora Core release 2 (Tettnang) The following is the output from "uname -a" Linux localhost.localdomain 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux The following is the output from running oskit10/config.guess: i686-pc-linux-gnu At the time I did all of these things, I was logged in as root, with root privileges. Any help / suggestions will be appreciated. Thank you. Dennis Newbold
On Mon Feb 28, 2005 at 11:18:10 -0800, Dennis Newbold wrote:
gcc -c -o i16_real_int.o -MD -DHAVE_CONFIG_H -DOSKIT_X86 -DOSKIT_X86_PC -I. -I../kern/x86 -I../kern/x86/pc -I../kern/x86/dos -I../kern/x86/i16 -I../kern/x86/pc/i16 -I../kern/x86/dos/i16 -I../kern -I- -I../oskit/c -I.. -I.. -nostdinc -D_GNU_SOURCE -DASSEMBLER -MD ../kern/x86/pc/i16/i16_real_int.S ../kern/x86/pc/i16/i16_real_int.S: Assembler messages: ../kern/x86/pc/i16/i16_real_int.S:64: Error: bad expression ../kern/x86/pc/i16/i16_real_int.S:64: Error: junk `1-0x00000200' after expression I am using Fedora Core 2 Linux. The following is the output from "cat /etc/fedora-release": Fedora Core release 2 (Tettnang)
Oh well. I just even tried binutils CVS from today and it got it right, I don't know why FC gets this wrong, this is just annoying. Anyway, I just comitted this, as I'm tired of replying to this FC stuff. I hope it works, obviously I cannot reproduce it. Index: i16_real_int.S =================================================================== RCS file: /home/cvs/oskit10/kern/x86/pc/i16/i16_real_int.S,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 i16_real_int.S --- i16_real_int.S 6 Sep 2000 13:33:23 -0000 1.1.1.3 +++ i16_real_int.S 28 Feb 2005 21:49:31 -0000 @@ -61,7 +61,9 @@ ADDR32 movl TR_EDI(%ebp),%edi ADDR32 movw TR_V86_DS(%ebp),%ds ADDR32 movw TR_V86_ES(%ebp),%es -ADDR32 andl $-1-EFL_IF,TR_EFLAGS(%ebp) /* mustn't enable interrupts */ +/* some distributions have some weird binutils version, hard code constant */ +/*ADDR32 andl $-1-EFL_IF,TR_EFLAGS(%ebp)*/ /* mustn't enable interrupts */ +ADDR32 andl $0xfffffdff,TR_EFLAGS(%ebp) /* mustn't enable interrupts */ ADDR32 pushl TR_EFLAGS(%ebp) popfl ADDR32 movl TR_EBP(%ebp),%ebp
At the time I did all of these things, I was logged in as root, with root privileges.
So, any reason why you like shooting yourself in the foot? ;) Adam -- Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
participants (2)
-
Adam Lackorzynski -
Dennis Newbold