Re: rwsem.o undefined reference to __builtin_expect

Colonel (klink@clouddancer.com)
Mon, 23 Apr 2001 15:08:41 -0700 (PDT)


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/