Trying to compile callgrind-0.9.10 but get the error listed
below:
sim.c: In function `cachesim_post_clo_init':
sim.c:696: error: can't find a register in class `BREG'
while reloading `asm'
sim.c:696: error: can't find a register in class `BREG'
while reloading `asm'
sim.c:696: error: can't find a register in class `BREG'
while reloading `asm'
sim.c:696: error: can't find a register in class `BREG'
while reloading `asm'
sim.c:696: error: can't find a register in class `BREG'
while reloading `asm'
sim.c:696: error: can't find a register in class `BREG'
while reloading `asm'
make[2]: *** [sim.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/storage/portage/tmp/portage/callgrind-0.9.10/work/callgrind-0.9
.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/storage/portage/tmp/portage/callgrind-0.9.10/work/callgrind-0.9
.10/src'
make: *** [all-recursive] Error 1
Help? I need to install kdesdk to use kbabel.....
Gracias.
Logged In: NO
compile sim.c with -fno-pic
Logged In: YES
user_id=1218440
FYI: this issue can be solved with the followng patch:
--- callgrind-0.9.11.orig/src/sim.c 2005-04-02
02:31:04.000000000 +0200
+++ callgrind-0.9.11/src/sim.c 2005-06-08
19:52:09.000000000 +0200
@@ -1177,11 +1177,22 @@
);
+#endif
}
static void micro_ops_warn(Int actual_size, Int
used_size, Int line_size)