qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 955379] Re: cmake hangs with qemu-arm-static


From: Janne Karhunen
Subject: [Qemu-devel] [Bug 955379] Re: cmake hangs with qemu-arm-static
Date: Wed, 05 Dec 2012 11:29:34 -0000

Some kind of semi-workaround patch attached. It seems to leave this kind
of race window for me (for select which is worse):

   0x000000006004bf98 <+136>:   xor    %r8d,%r8d
   0x000000006004bf9b <+139>:   test   %eax,%eax
   0x000000006004bf9d <+141>:   jne    0x6004c2b7 <do_select+935>
   0x000000006004bfa3 <+147>:   mov    0x20(%rsp),%r14
   0x000000006004bfa8 <+152>:   mov    0x246d8(%r14),%esi
   0x000000006004bfaf <+159>:   test   %esi,%esi
   0x000000006004bfb1 <+161>:   je     0x6004bfb8 <do_select+168>
   0x000000006004bfb3 <+163>:   lea    0x40(%rsp),%r8
   0x000000006004bfb8 <+168>:   mov    0x28(%rsp),%rdx
   0x000000006004bfbd <+173>:   mov    %r11,%rsi
   0x000000006004bfc0 <+176>:   mov    %ebx,%edi
   0x000000006004bfc2 <+178>:   callq  0x6012df90 <select>

I think it could still be narrowed some, but this makes it unlikely
enough for me for time being...

** Patch added: "racy workaround patch"
   
https://bugs.launchpad.net/qemu/+bug/955379/+attachment/3452139/+files/cmake.patch

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/955379

Title:
  cmake hangs with qemu-arm-static

Status in QEMU:
  Confirmed
Status in Linaro QEMU:
  Confirmed
Status in “qemu-linaro” package in Ubuntu:
  Confirmed

Bug description:
  I'm using git commit 3e7ecd976b06f... configured with --target-list
  =arm-linux-user --static in a chroot environment to compile some
  things. I ran into this problem with both pcl and opencv-2.3.1. cmake
  consistently freezes at some point during its execution, though in a
  different spot each time, usually during a step when it's searching
  for some libraries. For instance, pcl most commonly stops after:

  [snip]
  -- Boost version: 1.46.1
  -- Found the following Boost libraries:
  --   system
  --   filesystem
  --   thread
  --   date_time
  -- checking for module 'eigen3'
  --   found eigen3, version 3.0.1

  which is perplexing because it freezes after finding what it wants,
  not during the search. When it does get past that point, it does so
  almost immediately but freezes somewhere else.

  I'm using 64-bit Ubuntu 11.10 with kernel release 3.0.0-16-generic
  with an Intel i5.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/955379/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]