Fiasco compile problems on 486

root skykid at sinesurf.co.nz
Mon Nov 23 21:52:42 CET 1998


On Tue, 24 Nov 1998, Michael Hohmuth wrote:
>I'm crossposting this to the OSKit mailing list because this is an
>OSKit question.
>
>"James Gibson" <jgibson62 at hotmail.com> writes:
>
>> I've been trying to build Fiasco on a 486 (running Linux 2.0.35 and egcs 
>> 1.1). The OS kit build fails with this message:
>> make[2]: Entering directory `/usr/src/l4-981012/oskit/examples'
>> ld -Ttext 100000  -L../lib \
>> 	-o multiboot ../lib/multiboot.o multiboot.o		\
>> 	-lkern -lmc -llmm ../lib/crtn.o
>> ld -Ttext 100000  -L../lib \
>> 	-o multiboot-gdb ../lib/multiboot.o multiboot-gdb.o		\
>> 	-lkern -lmc -llmm ../lib/crtn.o
>> ld -Ttext 100000  -L../lib \
>> 	-o multiboot-smp ../lib/multiboot.o multiboot-smp.o		\
>> 	-lsmp -lkern -lmc -llmm ../lib/crtn.o
>> ../lib/libsmp.a(boot.o): In function `_SMP_TRAMP_START_':
>> boot.o(.text+0x29): relocation truncated to fit: R_386_16 
>> _SMP_TRAMP_32_ENTRY_
>> make[2]: *** [multiboot-smp] Error 1
>> 
>> Question: Since I don't need SMP, would it be possible (and if so, would 
>> it be worthwhile) to disable SMP support?
>
>(This is an FAQ -- check out
><URL:http://os.inf.tu-dresden.de/fiasco/faq.html>.)
>
>I cannot reproduce this problem.  However, as this binary isn't
>needed, you can work around this problem by "touch
>oskit/examples/multiboot-smp".
>
>My guess is that this problem is caused by some combination of
>compiler and linker versions.  Can anyone shed some light on this?
>


It looks to me like it is trying to build 486 instructions while trying to compile 
386 code. I would suggest just removing the multiboot-smp example from
your build totally. If you have got Oskit to build that far you should be fine.

--
What sphinx of cement and aluminum bashed open 
their skulls and ate up their brains and imagination? 

MS! . . . 

MS whose mind is pure machinery! MS whose blood is 
running money! MS whose fingers are ten armies! MS 
whose breast is a cannibal dynamo! MS whose ear is a 
smoking tomb! 








More information about the l4-hackers mailing list