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

From: Eyal Lebedinsky (eyal@eyal.emu.id.au)
Date: Sat Apr 21 2001 - 20:35:31 EDT

  • Next message: Tim Wilson: "[PATCH] ppp_generic, kernel 2.4.3"

    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/
    



    This archive was generated by hypermail 2b29 : Sat Apr 21 2001 - 20:42:06 EDT