OK, this is caused by the fact that gcc 7.4 does not support asm inline.

$ grep CC_HAS_ASM_INLINE /usr/src/linux-headers-5.4.0-4-generic/.config
CONFIG_CC_HAS_ASM_INLINE=y
$ echo 'void foo(void) { asm inline (""); }' | gcc -x c - -c -o /dev/null
<stdin>: In function ‘foo’:
<stdin>:1:22: error: expected ‘(’ before ‘inline’
<stdin>:1:30: error: expected identifier or ‘(’ before string constant
$ echo $?
1
$

The same dkms from bionic-proposed works fine on focal with gcc 9.2.1
and linux 5.4.0-4-generic.


$ dpkg -s oss4-dkms | grep Version:
Version: 4.2-build2010-5ubuntu3~18.04.2
$ $ ls -1 /lib/modules/5.4.0-4-generic/updates/dkms/oss* | wc -l
31
$

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

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

Title:
  oss4 4.2-build2010-5ubuntu4 ADT test failure with linux 5.4.0-1.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oss4/+bug/1848590/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to