[Top] [All Lists]

Re: Updates for RedHat 7.1/mips

To: "H . J . Lu" <>
Subject: Re: Updates for RedHat 7.1/mips
From: Geoffrey Espin <>
Date: Wed, 24 Apr 2002 13:53:39 -0700
In-reply-to: <>; from H . J . Lu on Tue, Apr 23, 2002 at 03:59:25PM -0700
References: <>
On Tue, Apr 23, 2002 at 03:59:25PM -0700, H . J . Lu wrote:
> I updated glibc, python, gcc, gdb, rpm, openssl, binutils and toolchain at
> Let know know if there are any problems.

I've been using your old October toolchain-20011020-* quite happily.
So foolishly, I upgraded to this new toolchain*rpm for mipsel on i386.

When building a -based kernel, if I
include CONFIG_PCI in the configuration, I get:

mipsel-linux-ld -G 0 -static -T arch/mips/ld.script.0x80002000 
arch/mips/kernel/head.o arch/mips/kernel/init_task.o init/main.o init/version.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/ramdisk/ramdisk.o 
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o 
drivers/net/net.o drivers/media/media.o drivers/pci/driver.o 
drivers/mtd/mtdlink.o \
        net/network.o \
        arch/mips/lib/lib.a /home/espin/linux/lib/lib.a arch/mips/korva/korva.a
        --end-group \
        -o vmlinux
drivers/char/char.o(.data+0x3990): undefined reference to `local symbols in 
discarded section .text.exit'
make: *** [vmlinux] Error 1

If I don't include CONFIG_PCI the problem goes away.
It also sometimes complained about symbols in drivers/net/net.o.

I stumbled on:

which says that Alan Cox came up with enabling CONFIG_HOTPLUG as a workaround.
Seems to work.  :-/

Other useful suggestions found were to downgrade ones' binutils. :-)

Geoffrey Espin

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