[OSy] kalisto & FreeBSD
Marian Cerny
jojo at matfyz.cz
Mon Nov 15 13:29:59 CET 2004
Ahojte,
skusal niekto z vas rozbehavat kalisto na FreeBSD? Podarilo sa mi v
pohode skompilovat (na FreeBSD 5.2.1)
* msim
* cross binutils-2.15
* cross gcc-3.2.3 (s tym, ze to niekde spadlo a dal som make -k install
- tak to bolo aj v tom build-mips-gcc.sh)
Ale pri kompilacii kalista dostavam toto:
*** CUT HERE ***
potvorka:~/OSy/kalisto-0.6.1/src$ gmake
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips3 -EL -G 0 -mno-abicalls -fno-pic -fno-builtin -pipe -g3 -D__ASM__ -c loader.S
/home/majo/OSy/local/bin/decstation-ultrix-ld -T binary.lds -G 0 -static -g loader.o -o loader.bin
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips3 -EL -G 0 -mno-abicalls -fno-pic -fno-builtin -pipe -g3 -D__ASM__ -c sys.S
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c malloc.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c thread.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c synch.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c syscall.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c sched.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c exc.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c int.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c main.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c printer.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c example.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips2 -EL -G 0 -mno-abicalls -fno-pic -pipe -Wall -g3 -c tlb.c
/home/majo/OSy/local/bin/decstation-ultrix-gcc -O2 -mips3 -EL -G 0 -mno-abicalls -fno-pic -fno-builtin -pipe -g3 -D__ASM__ -c debug.S
/home/majo/OSy/local/bin/decstation-ultrix-ld -T binary.lds -G 0 -static -g sys.o malloc.o thread.o synch.o syscall.o sched.o exc.o int.o main.o printer.o example.o tlb.o debug.o -o kernel.bin -Map kernel.map
gmake: *** [kernel.bin] Segmentation fault (core dumped)
gmake: *** Deleting file `kernel.bin'
potvorka:~/OSy/kalisto-0.6.1/src$
*** CUT HERE ***
Teda linker pri vytvarani kernel.bin spadne so Segmentation fault.
BTW: Lubovolny zo suborov thread.o sched.o example.o sposobuje ten
Segfault. Ak ich odoberiem z Makefile z OFILES_KERNEL, tak ten linker
nespadne na Segfault, ale vyhlasi chybu linkovania.
No nic, cakal som, ze to pod FreeBSD nerozchodim, ale skor som cakal
problem s cross gcc.
Velku hlavu si z toho nerobim, budem nas kernel vyvyjat cez ssh v
unixlabe.
--
Marian Cerny <jojo at matfyz.cz>
Jabber: jojo at njs.netlab.cz
[ UNIX is user friendly. It's just selective about who its friends are. ]
More information about the NSWI004
mailing list