compiling L4Env with oskit for Fiasco and L4Linux
Etienne Robillard
granted14 at yahoo.com
Tue May 6 01:36:41 CEST 2003
Hello everyone,
My name is Etienne Robillard and I am studying Art in
college. I don't have yet any degree in computers
science, whatsoever.
What I am attempting to do is to build/boot L4Linux
(and on another time The Hurd, while I'm at it...) on
a typical x86 machine, Pentium III with 384mb of
sdram.
oskit = oskit60 (the old version modified for l4 with
patches)
gcc = crossgcc 2.95.2 (no libgcc2.a) with pthread-elf
support, i386/linux emulation
os = freebsd4.7-p8 (with libc_r/)
make = gmake
target = i586-l4-linux (just for fun...)
build= i386-unknown-freebsd4.7
binutils = version 2.13.2.1
as root in $(L4DIR); gmake hello :
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/flux'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/flux'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/libc'
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libc/x86 -I../libc/stdio -I../libc/stdlib
-I../libc/string -I../libc/gen -I../libc/malloc -I-
-I.. -I.. -I../flux/c -nostdinc -DASSEMBLER -MD
../libc/x86/bcopy.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libc/x86 -I../libc/stdio -I../libc/stdlib
-I../libc/string -I../libc/gen -I../libc/malloc -I-
-I.. -I.. -I../flux/c -nostdinc -DASSEMBLER -MD
../libc/x86/bcopy16.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libc/x86 -I../libc/stdio -I../libc/stdlib
-I../libc/string -I../libc/gen -I../libc/malloc -I-
-I.. -I.. -I../flux/c -nostdinc -DASSEMBLER -MD
../libc/x86/bzero.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libc/x86 -I../libc/stdio -I../libc/stdlib
-I../libc/string -I../libc/gen -I../libc/malloc -I-
-I.. -I.. -I../flux/c -nostdinc -DASSEMBLER -MD
../libc/x86/gcc.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libc/x86 -I../libc/stdio -I../libc/stdlib
-I../libc/string -I../libc/gen -I../libc/malloc -I-
-I.. -I.. -I../flux/c -nostdinc -DASSEMBLER -MD
../libc/x86/i16_bcopy.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libc/x86 -I../libc/stdio -I../libc/stdlib
-I../libc/string -I../libc/gen -I../libc/malloc -I-
-I.. -I.. -I../flux/c -nostdinc -DASSEMBLER -MD
../libc/x86/i16_bzero.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libc/x86 -I../libc/stdio -I../libc/stdlib
-I../libc/string -I../libc/gen -I../libc/malloc -I-
-I.. -I.. -I../flux/c -nostdinc -DASSEMBLER -MD
../libc/x86/memset.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libc/x86 -I../libc/stdio -I../libc/stdlib
-I../libc/string -I../libc/gen -I../libc/malloc -I-
-I.. -I.. -I../flux/c -nostdinc -DASSEMBLER -MD
../libc/x86/ntoh.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libc/x86 -I../libc/stdio -I../libc/stdlib
-I../libc/string -I../libc/gen -I../libc/malloc -I-
-I.. -I.. -I../flux/c -nostdinc -g -O2 -Wall
../libc/x86/proc_reg.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libc/x86 -I../libc/stdio -I../libc/stdlib
-I../libc/string -I../libc/gen -I../libc/malloc -I-
-I.. -I.. -I../flux/c -nostdinc -DASSEMBLER -MD
../libc/x86/setjmp.S
ar rv libmc.a bcopy.o bcopy16.o bzero.o gcc.o
i16_bcopy.o i16_bzero.o memset.o ntoh.o proc_reg.o
setjmp.o
r - bcopy.o
r - bcopy16.o
r - bzero.o
r - gcc.o
r - i16_bcopy.o
r - i16_bzero.o
r - memset.o
r - ntoh.o
r - proc_reg.o
r - setjmp.o
ranlib libmc.a
cp libmc.a ../lib/libmc.a
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/libc'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/liblmm'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/liblmm'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/libexec'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/libexec'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/libdiskpart'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/libdiskpart'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/libkern'
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/base_critical.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/base_gdt_load.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/base_idt_load.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/base_paging_init.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -DASSEMBLER -MD
../libkern/x86/base_stack.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -DASSEMBLER -MD
../libkern/x86/base_trap_inittab.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/base_tss_init.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/base_tss_load.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/cpuid.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -DASSEMBLER -MD
../libkern/x86/gdb_copy.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -DASSEMBLER -MD
../libkern/x86/pc/gdb_pc_com_intr.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/gdb_trap.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/pdir_dump.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/pdir_map_page.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/pdir_map_range.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/pdir_prot_range.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/pdir_unmap_range.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/pc/pic.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/ptab_alloc.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/ptab_dump.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/ptab_free.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/pc/reset.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libkern/x86 -I../libkern/x86/trap
-I../libkern/x86/pc -I../libkern -I- -I.. -I..
-I../flux/c -nostdinc -g -O2 -Wall
../libkern/x86/trap_dump.c
ar rv libkern.a base_critical.o base_gdt_load.o
base_idt_load.o base_paging_init.o base_stack.o
base_trap_inittab.o base_tss_init.o base_tss_load.o
cpuid.o gdb_copy.o gdb_pc_com_intr.o gdb_trap.o
pdir_dump.o pdir_map_page.o pdir_map_range.o
pdir_prot_range.o pdir_unmap_range.o pic.o
ptab_alloc.o ptab_dump.o ptab_free.o reset.o
trap_dump.o
r - base_critical.o
r - base_gdt_load.o
r - base_idt_load.o
r - base_paging_init.o
r - base_stack.o
r - base_trap_inittab.o
r - base_tss_init.o
r - base_tss_load.o
r - cpuid.o
r - gdb_copy.o
r - gdb_pc_com_intr.o
r - gdb_trap.o
r - pdir_dump.o
r - pdir_map_page.o
r - pdir_map_range.o
r - pdir_prot_range.o
r - pdir_unmap_range.o
r - pic.o
r - ptab_alloc.o
r - ptab_dump.o
r - ptab_free.o
r - reset.o
r - trap_dump.o
ranlib libkern.a
cp libkern.a ../lib/libkern.a
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/libkern'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/libsmp'
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libsmp/x86 -I- -I.. -I.. -I../flux/c -nostdinc
-DASSEMBLER -MD ../libsmp/x86/boot.S
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libsmp/x86 -I- -I.. -I.. -I../flux/c -nostdinc -g
-O2 -Wall ../libsmp/x86/critical.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libsmp/x86 -I- -I.. -I.. -I../flux/c -nostdinc -g
-O2 -Wall ../libsmp/x86/linux-smp.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I.
-I../libsmp/x86 -I- -I.. -I.. -I../flux/c -nostdinc -g
-O2 -Wall ../libsmp/x86/smp.c
ar rv libsmp.a boot.o critical.o linux-smp.o smp.o
r - boot.o
r - critical.o
r - linux-smp.o
r - smp.o
ranlib libsmp.a
cp libsmp.a ../lib/libsmp.a
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/libsmp'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/libmemdebug'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/libmemdebug'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/libfdev'
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG
-DDEBUG -I. -I../libfdev -I- -I.. -I.. -I../flux/c
-nostdinc -g -O2 -Wall irq.c
irq.c:97: warning: `fdev_intr_enable' declared inline
after being called
irq.c:103: warning: `fdev_intr_disable' declared
inline after being called
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG
-DDEBUG -I. -I../libfdev -I- -I.. -I.. -I../flux/c
-nostdinc -DASSEMBLER -MD irqstubs.S
/var/tmp/ccMEqA1O.s: Assembler messages:
/var/tmp/ccMEqA1O.s:421: Warning: using `%ecx' instead
of `%cx' due to `l' suffix
/var/tmp/ccMEqA1O.s:422: Warning: using `%ecx' instead
of `%cx' due to `l' suffix
/var/tmp/ccMEqA1O.s:423: Warning: using `%ecx' instead
of `%cx' due to `l' suffix
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG
-DDEBUG -I. -I../libfdev -I- -I.. -I.. -I../flux/c
-nostdinc -g -O2 -Wall sched.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG
-DDEBUG -I. -I../libfdev -I- -I.. -I.. -I../flux/c
-nostdinc -g -O2 -Wall softintr.c
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG
-DDEBUG -I. -I../libfdev -I- -I.. -I.. -I../flux/c
-nostdinc -g -O2 -Wall timer.c
ar rv libfdev.a irq.o irqstubs.o sched.o softintr.o
timer.o
r - irq.o
r - irqstubs.o
r - sched.o
r - softintr.o
r - timer.o
ranlib libfdev.a
cp libfdev.a ../lib/libfdev.a
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/libfdev'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/libfdev_linux'
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/libfdev_linux'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/libfdev_linux'
i586-l4-linux-gcc -c -MD -DHAVE_CONFIG_H -DDEBUG
-DOSKIT -D__KERNEL__ -DDEBUG -I. -I../libfdev_linux
-I../libfdev_linux/net -I../libfdev_linux/block
-I../libfdev_linux/pci -I../libfdev_linux/scsi -I-
-I../libfdev_linux/include -I.. -I.. -I../flux/c
-nostdinc -g -O2 -Wall
../libfdev_linux/scsi/53c7,8xx.c
In file included from
../libfdev_linux/include/linux/string.h:40,
from
../libfdev_linux/include/asm/termios.h:271,
from
../libfdev_linux/include/linux/termios.h:5,
from
../libfdev_linux/include/linux/tty.h:10,
from
../libfdev_linux/include/linux/sched.h:25,
from
../libfdev_linux/scsi/53c7,8xx.c:228:
../libfdev_linux/include/asm/string.h: In function
`__constant_memcpy':
../libfdev_linux/include/asm/string.h:408: warning:
control reaches end of non-void function
../libfdev_linux/include/asm/string.h: In function
`__constant_c_and_count_memset':
../libfdev_linux/include/asm/string.h:557: warning:
control reaches end of non-void function
In file included from
../libfdev_linux/scsi/53c7,8xx.c:230:
../libfdev_linux/include/linux/bios32.h: At top level:
../libfdev_linux/include/linux/bios32.h:58: warning:
type defaults to `int' in declaration of
`pcibios_write_config_dword'
../libfdev_linux/scsi/53c7,8xx.c: In function
`internal_setup':
../libfdev_linux/include/asm/string.h:105: Invalid
`asm' statement:
../libfdev_linux/include/asm/string.h:105: fixed or
forbidden register 4 (si) was spilled for class SIREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`NCR53c7x0_init':
../libfdev_linux/include/asm/string.h:402: Invalid
`asm' statement:
../libfdev_linux/include/asm/string.h:402: fixed or
forbidden register 2 (cx) was spilled for class CREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`normal_init':
../libfdev_linux/include/asm/string.h:495: Invalid
`asm' statement:
../libfdev_linux/include/asm/string.h:495: fixed or
forbidden register 2 (cx) was spilled for class CREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`NCR53c8x0_init_fixup':
../libfdev_linux/include/asm/string.h:402: Invalid
`asm' statement:
../libfdev_linux/include/asm/string.h:402: fixed or
forbidden register 2 (cx) was spilled for class CREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`NCR53c8xx_dsa_fixup':
../libfdev_linux/include/asm/string.h:366: Invalid
`asm' statement:
../libfdev_linux/include/asm/string.h:366: fixed or
forbidden register 2 (cx) was spilled for class CREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`abnormal_finished':
../libfdev_linux/scsi/53c7,8xx.c:2137: warning:
suggest explicit braces to avoid ambiguous `else'
../libfdev_linux/scsi/53c7,8xx.c: In function
`NCR53c8x0_dstat_sir_intr':
../libfdev_linux/include/asm/string.h:402: Invalid
`asm' statement:
../libfdev_linux/include/asm/string.h:402: fixed or
forbidden register 2 (cx) was spilled for class CREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`create_cmd':
../libfdev_linux/include/asm/string.h:403: Invalid
`asm' statement:
../libfdev_linux/include/asm/string.h:403: fixed or
forbidden register 2 (cx) was spilled for class CREG.
../libfdev_linux/include/asm/string.h:403: Invalid
`asm' statement:
../libfdev_linux/include/asm/string.h:403: fixed or
forbidden register 2 (cx) was spilled for class CREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`intr_scsi':
../libfdev_linux/include/asm/delay.h:43: Invalid `asm'
statement:
../libfdev_linux/include/asm/delay.h:43: fixed or
forbidden register 0 (ax) was spilled for class AREG.
../libfdev_linux/include/asm/delay.h:20: Invalid `asm'
statement:
../libfdev_linux/include/asm/delay.h:20: fixed or
forbidden register 0 (ax) was spilled for class AREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`print_insn':
../libfdev_linux/include/asm/string.h:287: Invalid
`asm' statement:
../libfdev_linux/include/asm/string.h:287: fixed or
forbidden register 5 (di) was spilled for class DIREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`ncr_scsi_reset':
../libfdev_linux/include/asm/delay.h:43: Invalid `asm'
statement:
../libfdev_linux/include/asm/delay.h:43: fixed or
forbidden register 0 (ax) was spilled for class AREG.
../libfdev_linux/include/asm/delay.h:20: Invalid `asm'
statement:
../libfdev_linux/include/asm/delay.h:20: fixed or
forbidden register 0 (ax) was spilled for class AREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`ncr_halt':
../libfdev_linux/scsi/53c7,8xx.c:6233: warning:
suggest explicit braces to avoid ambiguous `else'
../libfdev_linux/include/asm/delay.h:43: Invalid `asm'
statement:
../libfdev_linux/include/asm/delay.h:43: fixed or
forbidden register 0 (ax) was spilled for class AREG.
../libfdev_linux/include/asm/delay.h:20: Invalid `asm'
statement:
../libfdev_linux/include/asm/delay.h:20: fixed or
forbidden register 0 (ax) was spilled for class AREG.
../libfdev_linux/scsi/53c7,8xx.c: In function
`dump_events':
../libfdev_linux/include/asm/string.h:402: Invalid
`asm' statement:
../libfdev_linux/include/asm/string.h:402: fixed or
forbidden register 2 (cx) was spilled for class CREG.
../libfdev_linux/scsi/53c7,8xx.c: At top level:
../libfdev_linux/scsi/53c7,8xx.c:693: warning:
`request_synchronous' defined but not used
../libfdev_linux/scsi/53c7,8xx.c:741: warning:
`request_disconnect' defined but not used
../libfdev_linux/scsi/53c7,8xx.c:5395: warning:
`ncr_state' defined but not used
gmake[1]: *** [53c7,8xx.o] Error 1
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/libfdev_linux'
gmake: *** [libfdev_linux/all.MAKE] Error 2
In order to get there, I had to undefined HAVE_CODE16
in $(OSKIT)/flux/config.h. Otherwise, I would have
this bug :
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/flux'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/flux'
gmake[1]: Entering directory
`/home/manoya/build/l4oskit/l4/oskit/libc'
gcc -c -MD -DHAVE_CONFIG_H -DDEBUG -I. -I../libc/x86
-I../libc/stdio -I../libc/stdlib -I../libc/string
-I../libc/gen -I../libc/malloc -I- -I.. -I..
-I../flux/c -nostdinc -DASSEMBLER -MD
../libc/x86/i16_bcopy.S
/tmp/ccqgmwoi.s: Assembler messages:
/tmp/ccqgmwoi.s:235: Error: `8(%ebp)' is not a valid
16 bit base/index expression
/tmp/ccqgmwoi.s:236: Error: `12(%ebp)' is not a valid
16 bit base/index expression
/tmp/ccqgmwoi.s:238: Error: `16(%ebp)' is not a valid
16 bit base/index expression
/tmp/ccqgmwoi.s:239: Error: `(%esi,%edx)' is not a
valid 16 bit base/index expression
/tmp/ccqgmwoi.s:242: Error: `(%edi,%edx)' is not a
valid 16 bit base/index expression
/tmp/ccqgmwoi.s:259: Error: `8(%ebp)' is not a valid
16 bit base/index expression
/tmp/ccqgmwoi.s:278: Error: `8(%ebp)' is not a valid
16 bit base/index expression
/tmp/ccqgmwoi.s:291: Error: `8(%ebp)' is not a valid
16 bit base/index expression
/tmp/ccqgmwoi.s:292: Error: `12(%ebp)' is not a valid
16 bit base/index expression
gmake[1]: *** [i16_bcopy.o] Error 1
gmake[1]: Leaving directory
`/home/manoya/build/l4oskit/l4/oskit/libc'
gmake: *** [libc/all.MAKE] Error 2
I dont know if this is a bug 'cause, ain't qualified
;) really... As a result, I am quite lost in space
with the asm part. But, I was asking myself if
1) this is due to an improper crosscompiler setup
(compiler doesnt have libgcc2.a subroutines... my
fault) Will work on that for now on.
2) because I have undef HAVE_CODE16, my i16_bcopy
object will fail bit-copying inline functions that
need 16 bit index base ?
3) "warning: control reaches end of non-void function"
and "fixed or forbidden register 2 (cx) was spilled
for class CREG" Yeah. right. Bring it Linda !
Here is for your convenience a sample of the contents
of $(OSKIT)/libfdev_linux/include/asm/string.h:408
#define __HAVE_ARCH_MEMCPY
#define memcpy(t, f, n) \
(__builtin_constant_p(n) ? \
__constant_memcpy((t),(f),(n)) : \ <------ n=count ?
__memcpy((t),(f),(n)))
/* I have tried to change (n) to (count) with similar
syndromes; but something's telling me that Linus know
what he`s doing while I seriously doubt my
proefficiency in that domain... */
Also, I dont have an Internet connection at home...
Therefore, I got very, very old parts (before 1.0) of
the Fiasco µ-kernel...
At last, this issue in lfdev_linux might be solved
already(?), which would be nice, but I haven't found
any references to that neither in the 2001
mailing-list or in the 2002.
Kind regards,
Etienne Robillard
Person who say it cannot be done should not interrupt
person doing it. --Chinese Proverb
=====
iD
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
More information about the l4-hackers
mailing list