Re: Linker Error With Kernel 2.4.4pre6 and GCC 2.95.3 (Debian)

Eyal Lebedinsky (eyal@eyal.emu.id.au)
Sun, 22 Apr 2001 10:35:31 +1000


ruschein@brimstone.ucr.edu wrote:
>
> Here is what I get under a fairly recent Debian woody:
>
> /usr/src/kernel/linux-2.4.4-pre6/lib/lib.a(rwsem.o): In function `__rwsem_do_wake':
> rwsem.o(.text+0x2e): undefined reference to `__builtin_expect'
> rwsem.o(.text+0x6f): undefined reference to `__builtin_expect'
> make: *** [vmlinux] Error 1
> bender:/usr/src/kernel/linux-2.4.4-pre6 [root]# gcc --version
> 2.95.3

I get the same error with Debian stable (2.2-r3)

# gcc --version
2.95.2

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.anu.edu.au/eyal/>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/