2001-04-23 20:14:59

by Joern Nettingsmeier

[permalink] [raw]
Subject: 2.4.4-pre6 does not compile

jochen wrote:

>
> Hi,
>
> 2.4.4-pre6 actually is the 4th 2.4.4pre-Patch that does not compile
> without further patching on my system. :-(
>
>
> ld -m elf_i386 -T /usr/src/linux-2.4.4-pre6/arch/i386/vmlinux.lds -e stext
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
> --start-group \
> arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o
> ipc/ipc.o \
> drivers/block/block.o drivers/char/char.o drivers/misc/misc.o
> drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o
> drivers/scsi/scsidrv.o drivers/scsi/aic7xxx/aic7xxx_drv.o drivers/cdrom/driver.o
> drivers/pci/driver.o drivers/video/video.o \
> net/network.o \
> /usr/src/linux-2.4.4-pre6/arch/i386/lib/lib.a
> /usr/src/linux-2.4.4-pre6/lib/lib.a /usr/src/linux-2.4.4-pre6/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux
> /usr/src/linux-2.4.4-pre6/lib/lib.a(rwsem.o): In function `__rwsem_do_wake':
> rwsem.o(.text+0x30): undefined reference to `__builtin_expect'
> rwsem.o(.text+0x73): undefined reference to `__builtin_expect'
> make: *** [vmlinux] Error 1


same problem here.
i'm using
# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)

and this one has successfully built the last couple of kernels. if
compiler requirements have changed, may i humbly suggest to add this
to the pre-patch logfile ?

btw: i have installed clean vanilla sources. the only possible
source of pollution was my old .config, which i copied into the tree
before making menuconfig. but this has always worked before.

regards,

j?rn

(please cc: me, i only read the archives, which have some lag.
thanks.)

--
J?rn Nettingsmeier
home://Kurf?rstenstr.49.45138.Essen.Germany
phone://+49.201.491621
http://www.folkwang.uni-essen.de/~nettings/
http://www.linuxdj.com/audio/lad/