Re: rwsem.o undefined reference to __builtin_expect

From: Colonel (klink@clouddancer.com)
Date: Mon Apr 23 2001 - 17:08:41 EST


In list.kernel, you wrote:
>
>
>cannot compile 2.4.4-pre6. This may have been reported, but I
>haven't seen it.

There was a solution mentioned Saturday.

>rwsem.o(.text+0x30): undefined reference to `__builtin_expect'
>rwsem.o(.text+0x73): undefined reference to `__builtin_expect'
>make: *** [vmlinux] Error 1

in asm-alpha/compiler.h you will find a definition. The above
solution created a new file (asm-i386/compiler.h) with the definition,
I just added it to rwsem.c.

BTW: 2.4.4-pre6 is the fastest kernel yet! YMMV

-
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 : Mon Apr 23 2001 - 21:00:47 EST