On Fri, Jan 21, 2022 at 5:05 PM Andreas Tille <[email protected]> wrote: > > Hi, > > I've checked the build logs of muscle version 5.1[1] and noticed that > for instance on arm64 the build fails with: > > g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -pthread -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -O3 -fopenmp -ffast-math -c -o Linux/transaln.o > transaln.cpp > In file included from testlog.cpp:2: > timing.h: In function ‘void cmd_testlog()’: > timing.h:26:9: error: impossible constraint in ‘asm’ > 26 | __asm__ __volatile__ ("rdtsc" : "=a" (lo), "=d" (hi)); > | ^~~~~~~
This assembly is for x86 based system. On arm64 you would want something like this: * https://stackoverflow.com/a/67968296/136285 Something is definitely wrong upstream.

