Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
qemu.4227
0015-linux-user-arm-no-tb_flush-on-reset.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0015-linux-user-arm-no-tb_flush-on-reset.patch of Package qemu.4227
From 2a8eabb9ad1ca4aa475dbff7c45169179b1ea54c Mon Sep 17 00:00:00 2001 From: Alexander Graf <agraf@suse.de> Date: Tue, 29 May 2012 15:30:01 +0200 Subject: [PATCH] linux-user: arm: no tb_flush on reset When running automoc4 as linux-user guest program, it segfaults right after it creates a thread. Bisecting pointed to commit a84fac1426 which introduces tb_flush on reset. So something in our thread creation is broken. But for now, let's revert the change to at least get a working build again. --- target-arm/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target-arm/cpu.c b/target-arm/cpu.c index c32d8c4855..052f676e42 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -154,7 +154,11 @@ static void arm_cpu_reset(CPUState *s) * bake assumptions about into translated code, so we need to * tb_flush(). */ +#if !defined(CONFIG_USER_ONLY) + /* XXX hack alert! automoc4 segaults after spawning a new thread with this + flush enabled */ tb_flush(env); +#endif } #ifndef CONFIG_USER_ONLY
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor