Public bug reported:

SRU Justification

Impact: After enabling debug symbols for the zfs dkms build, zfs now
fails to build with the error
"./arch/s390/include/asm/atomic_ops.h:46:2: error: impossible constraint
in ‘asm’". Full build log: https://launchpadlibrarian.net/444832008
/buildlog_ubuntu-eoan-s390x.linux_5.3.0-15.16_BUILDING.txt.gz.

Fix: Similar issues in the past have been fixed by switching inline to
__always_inline for affected functions. The same changes fixes the build
failure her.

Test Case: Build for s390x with zfs and the debug patches enabled.
Without the patch we get the above error. With the patch the build is
successful.

Regressoin Potential: Unlikely to cause regressions, and fixes a build
error.

** Affects: linux (Ubuntu)
     Importance: Critical
     Assignee: Seth Forshee (sforshee)
         Status: In Progress

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

Title:
  zfs fails to build on s390x  with debug symbols enabled

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

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

Reply via email to