Skip to contentSkip to conversation

rwsem.o undefined reference to __builtin_expect

DISCUSSION Colonel 1 participant 1 message Apr 23, 2001 1 message not in the archive

lore
Share & tools
lore

Colonel

author
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · you

cannot compile 2.4.4-pre6. This may have been reported, but I haven't seen it.

There was a solution mentioned Saturday.

Quoted 3 lines

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