[SRU][Bionic][PATCH 0/1] Fix breaking userpace build on bionic proposed

Kleber Sacilotto de Souza kleber.souza at canonical.com
Thu May 7 09:41:21 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1877123

[Impact]
The build of qemu and other userspace broke because of the following patch
applied to bionic as part of one of the upstream stable updates:

commit 2385a55f64a65baf6594f37bfa018e2797dcb8c7
Author: Yury Norov <yury.norov at gmail.com>
Date: Thu Jan 30 22:16:40 2020 -0800

    uapi: rename ext2_swab() to swab() and share globally in swab.h

    BugLink: https://bugs.launchpad.net/bugs/1874502

    [ Upstream commit d5767057c9a76a29f073dad66b7fa12a90e8c748 ]

The affected header file is shipped by the linux-libc-dev package.

[Fix]
The fix has already been applied on mainline and the stable trees and
can be cherry-picked to bionic/linux.

commit 467d12f5c7842896d2de3ced74e4147ee29e97c8
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Thu Feb 20 20:04:03 2020 -0800

    include/uapi/linux/swab.h: fix userspace breakage, use __BITS_PER_LONG for swap

[Testcase]
Install linux-libc-dev and build qemu.

[Regression Potential]
Low. The fix is simple and has already landed on upstream stable, with no
follow-up fix so far on mainline.

Christian Borntraeger (1):
  include/uapi/linux/swab.h: fix userspace breakage, use __BITS_PER_LONG
    for swap

 include/uapi/linux/swab.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.20.1




More information about the kernel-team mailing list