Hi

We use to create rpms of gig linuxsampler gigedit and qsampler for i686 , x86_64 , aarch64  and  armv7hl...

There's something wrong when we try to build linuxsampler 2.4.0 for armv7hl :

This concerns RTMath.cpp ... We get a build failure with this message :

RTMath.cpp:79:19: error: invalid operand for instruction
    79 |     asm volatile ("mrs %0, cntvct_el0" : "=r"(t));


This is linked to the instructions from line 77 to 80 #elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7S__) uint32_t t; asm volatile ("mrs %0, cntvct_el0" : "=r"(t)); return t;

Maybe we should use for ARM_ARCH_75
the same instruction as for ARMv6 ... that is :
    uint32_t t;
    asm volatile ("mrc p15, 0, %0, c15, c12, 1" : "=r" (t));
    return t;

Thanks for your work
and for your help

Philippe

_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to