Unable to build tsc test on D-AWS ARM64

Bug #1841751 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Critical
Sean Feole

Bug Description

Test failed to build:
        stdout:
        cc -O -Wall -Wpedantic -Werror -c -o checktsc.o checktsc.c
        stderr:
        checktsc.c: In function ‘slave_thread’:
        checktsc.c:159:2: error: impossible constraint in ‘asm’
        __asm__ __volatile__("rdtsc" : "=A" (tsc));
        ^~~~~~~
        make: *** [: checktsc.o] Error 1

It looks like this has something to do with its assembly, maybe this test should be disabled on ARM64 (or even non-x86) like the monotonic test.

Po-Hsu Lin (cypressyew)
description: updated
tags: added: 5.0 aws disco sru-20190812 tsc
Revision history for this message
Sean Feole (sfeole) wrote :

Test should only be run on X86 , adjusted this in autotest-client-tests

* 9de1cd60 (HEAD -> master) Blacklist tsc on arm64/s390x/ppc64el

Changed in ubuntu-kernel-tests:
importance: Undecided → Critical
status: New → Fix Released
assignee: nobody → Sean Feole (sfeole)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Thanks, I have updated the blacklist reason in the blacklist file.
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1833337

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.