Problem with 2.2.1 compilation

Marc Dejardin Marc.Dejardin at
Fri Feb 12 19:57:29 EST 1999


For a long time now I encountered regularly kernel panics with recent kernels.
Every thing was incredibly stable with 2.1.24.

To make some tests I am trying to compile the kernel 2.2.1 with -O0 option
instead of -O2. Then I got the message :

make[1]: Leaving directory `/mnt/extra2/scratch/linux-pmac/arch/ppc/lib'
ld -T arch/ppc/ -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o
init/main.o init/version.o \
        --start-group \
        arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a
drivers/sound/sound.a drivers/pci/pci.a drivers/macintosh/macintosh.a
drivers/video/video.a \
        /tmp/scratch/linux-pmac/lib/lib.a \
        --end-group \
        -o vmlinux
init/main.o: In function `calibrate_delay':
init/main.o(.text.init+0x608): undefined reference to `__delay'
init/main.o(.text.init+0x6e4): undefined reference to `__delay'
make: *** [vmlinux] Error 1

at the end ... I don't get such a message with -O2 or -O1 option.

Do I make a mistake somewhere ??? is it not possible to remove optimisation in
kernel building ?

Thanks in advance,
                                 Marc Dejardin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request at ]]

More information about the Linuxppc-dev mailing list