"relocation truncated"
edmundo at rano.demon.co.uk
edmundo at rano.demon.co.uk
Sun Mar 14 13:48:47 CET 1999
I wrote to Hohmuth about this, but he might be away or busy ...
http://os.inf.tu-dresden.de/fiasco/faq.html#5992 says:
[v0.5 981012] Build problem when building oskit/examples/multiboot-smp:
"relocation truncated"
I cannot reproduce this problem. However, as this binary isn't needed,
you can work around this problem by "touch
oskit/examples/multiboot-smp". (hohmuth 98/10/24)
I got exactly this error when I tried building Fiasco.
It was preceded by a warning coming from boot.S, which might be
connected, so I'm copying the edited highlights below.
Does anyone with knowledge of x86 assembler understand this problem,
and can they fix it?
How come it only affects some people? Is it caused by different
versions of the assembler? Isn't the assembler part of gcc? I'm using
standard gcc 2.7.2.3, so which other packages should I check the
versions of? I'm using Debian's binutils version 2.9.1.0.19a-2, for
example, as released with Debian 2.1.
I got the same assembler warning several times when building L4-Linux.
Edmund
gcc -c -MD -DHAVE_CONFIG_H -I. -I../libsmp/x86 -I- -I.. -I.. -I../flux/c -nostdinc -DASSEMBLER -MD ../libsmp/x86/boot.S
/tmp/cca03216: Assembler messages:
/tmp/cca03216:538: Warning: warning: missing prefix `*' in absolute indirect address, maybe misassembled!
...
...
...
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
make[2]: Leaving directory `/usr/local/tmp/L4/l4/oskit/examples'
make[1]: *** [examples/all.MAKE] Error 2
make[1]: Leaving directory `/usr/local/tmp/L4/l4/oskit'
make: *** [oskit] Error 2
More information about the l4-hackers
mailing list