linux-mips
[Top] [All Lists]

relocation truncated to fit

To: linux-mips <linux-mips@linux-mips.org>
Subject: relocation truncated to fit
From: Jerry <jerry@wicomtechnologies.com>
Date: Wed, 25 May 2005 11:51:43 +0300
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: Jerry <jerry@wicomtechnologies.com>
Sender: linux-mips-bounce@linux-mips.org
Hello.
I failed to compile 2.4 kernel with "sound" option, it fails on
command:

mipsel-linux-ld -m elf32ltsmip -G 0 -static -n -T arch/mips/ld.script 
arch/mips/kernel/head.o arch/mips/kernel/init_task.o init/main.o init/version.o 
init/do_mounts.o \
        --start-group \
        arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o mm/mm.o 
fs/fs.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o arch/mips/pci/pci-core.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o 
drivers/net/net.o drivers/sound/sounddrivers.o drivers/pci/driver.o 
drivers/video/video.o drivers/media/media.o \
        net/network.o \
        arch/mips/lib/lib.a /work/video/kernel/lib/lib.a 
arch/mips/au1000/pb1200/pb1200.o arch/mips/au1000/common/au1000.o \
        --end-group \
        -o vmlinux
drivers/sound/sounddrivers.o: In function `sound_insert_unit':
sound_core.c:(.text+0x1ac): undefined reference to `strcpy'
sound_core.c:(.text+0x1ac): relocation truncated to fit: R_MIPS_26 against 
`strcpy'
make[1]: *** [vmlinux] Ошибка 1
make[1]: Leaving directory `/work/video/kernel'
make: *** [vmlinux] Ошибка 2

It's not a "sound drivers" problem, howewer without it kernel compiles
and run succesfully. Seems like gcc/bunitils bug/feature. What have to
be done to eliminate this error?

GNU ld version 2.15.96 20050308
gcc version 3.4.3


   ()_()
 -( ^,^ )- -[21398845]- -<The Bat! 3.0.1.33>- -<25/05/2005 11:39>-
  (") (")


<Prev in Thread] Current Thread [Next in Thread>