Re: Linux 2.4.3-ac12

Manuel McLure
2001-04-22T04:18:00Z

On 2001.04.21 19:53 Alan Cox wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/
>
> Intermediate diffs are available from
>
> http://www.bzimage.org
>
> 2.4.3-ac12
> o Further semaphore fixes (David
Howells)

Something's wrong with this - it won't build with RH 7.1 kgcc
(egcs-2.91.66):

ld -m elf_i386 -T /usr/src/linux-2.4.3-ac12/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/char/drm/drm.o
drivers/net/fc/fc.o drivers/net/appletalk/appletalk.o
drivers/net/tokenring/tr.o drivers/net/wan/wan.o drivers/atm/atm.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
drivers/pci/driver.o drivers/pnp/pnp.o drivers/video/video.o
drivers/acpi/acpi.o arch/i386/math-emu/math.o \
net/network.o \
/usr/src/linux-2.4.3-ac12/arch/i386/lib/lib.a
/usr/src/linux-2.4.3-ac12/lib/lib.a /usr/src/linux-2.4.3-ac12/arch/i386/lib/lib.a
\
--end-group \
-o vmlinux
/usr/src/linux-2.4.3-ac12/lib/lib.a(rwsem.o): In function
`rwsem_down_read_failed':
rwsem.o(.text+0x73): undefined reference to `__builtin_expect'
/usr/src/linux-2.4.3-ac12/lib/lib.a(rwsem.o): In function
`rwsem_down_write_failed':
rwsem.o(.text+0x1d3): undefined reference to `__builtin_expect'
/usr/src/linux-2.4.3-ac12/lib/lib.a(rwsem.o): In function
`rwsem_up_read_wake':
rwsem.o(.text+0x2ed): undefined reference to `__builtin_expect'
/usr/src/linux-2.4.3-ac12/lib/lib.a(rwsem.o): In function
`rwsem_up_write_wake':rwsem.o(.text+0x3c6): undefined reference to
`__builtin_expect'
make: *** [vmlinux] Error 1
Sat Apr 21 20:35:37 PDT 2001

ac12 builds OK with the standard RH 7.1 gcc (2.96), ac11 built fine with
both the standard gcc and kgcc.

--
Manuel A. McLure KE6TAW | ...for in Ulthar, according to an ancient
<manuel@mclure.org> | and significant law, no man may kill a cat.
<http://www.mclure.org> | -- H.P. Lovecraft