Skip to contentSkip to conversation

bug: rbtree.o build rule?

kvm tools Ingo Molnar 1 participant 1 message May 18, 2011 2 messages not in the archive KVM

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

something i just noticed, rbtree.o is built in the kernel directory:

CC ../../lib/rbtree.o

that's Not Nice (tm) (we should never modify the kernel's objects) and it can also cause problems like this when having a 32-bit tree built already:

/usr/bin/ld: i386 architecture of input file `../../lib/rbtree.o' is incompatible with i386:x86-64 output
collect2: ld returned 1 exit status

Is there a reason why kvm does not do what perf does and build its own rbtree.o?

Thanks,

Ingo