It is a problem with the inline asm (meant for arm and not thumb mode)
in the source code and seems to be a wide spread problem in existing sr.
I don't think an we can do anything from the tool-chain as such. Problem
is in:


int32_t __TBB_machine_cmpswp4(volatile void *ptr, int32_t value, int32_t 
comparand )
{
    int32_t oldval, res;

    __asm__ __volatile__("dmb ish": : :"memory");

    do {
    __asm__ __volatile__(
        "ldrex      %1, [%3]\n"
        "mov        %0, #0\n"
        "cmp        %1, %4\n"
        "strexeq    %0, %5, [%3]\n"
        : "=&r" (res), "=&r" (oldval), "+Qo" (*(volatile int32_t*)ptr)
        : "r" ((int32_t *)ptr), "Ir" (comparand), "r" (value)
        : "cc");
    } while (res);

    __asm__ __volatile__("dmb ish": : :"memory");

    return oldval;
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1368405

Title:
  mia ftbfs on armhf

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
  • [Bug 1368405] Kugan Vivekanandarajah

Reply via email to