--enable-debug error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This bug was already reported in 0.12.3, and in the present 0.12.4 is still present:
CC sparc-softmmu/
CC sparc64-
/root/download/
/root/download/
CC sparc64-
CC sparc-softmmu/
make[1]: *** [translate.o] Error 1
make: *** [subdir-
make: *** Waiting for unfinished jobs....
CC sparc64-
CC sparc64-
CC sparc64-
CC sparc64-
CC sparc64-
CC sparc-softmmu/
CC sparc64-
CC sparc64-
CC sparc64-
CC sparc64-
CC sparc64-
AR sparc-softmmu/
LINK sparc-softmmu/
CC sparc64-
CC sparc64-
CC sparc64-
CC sparc64-
/root/download/
/root/download/
make[1]: *** [translate.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [subdir-
The following patch seemed to work:
diff -Nurp target-
--- target-
+++ target-
@@ -1663,27 +1663,28 @@ static inline TCGv get_src2(unsigned int
#ifdef TARGET_SPARC64
static inline void gen_load_
{
- TCGv r_tl = tcg_temp_new();
+ TCGv_i32 r_tl = tcg_temp_new_i32();
/* load env->tl into r_tl */
- {
- TCGv_i32 r_tl_tmp = tcg_temp_new_i32();
- tcg_gen_
- tcg_gen_
- tcg_temp_
- }
+
+ tcg_gen_
/* tl = [0 ... MAXTL_MASK] where MAXTL_MASK must be power of 2 */
- tcg_gen_
+ tcg_gen_
/* calculate offset to current trap state from env->ts, reuse r_tl */
- tcg_gen_
+ tcg_gen_
tcg_
/* tsptr = env->ts[env->tl & MAXTL_MASK] */
- tcg_gen_
+ {
+ TCGv_ptr r_tl_tmp = tcg_temp_new_ptr();
+ tcg_gen_
+ tcg_gen_
+ tcg_temp_
+ }
- tcg_temp_
+ tcg_temp_
}
#endif
It is following the previous bug fixs by Jay Foad:
http://<email address hidden>
Not sure if it is correct?
Changed in qemu: | |
status: | New → Fix Committed |
Changed in qemu: | |
status: | Fix Committed → Fix Released |