Unable to build libhugetlbfs test on 4.15 Bionic

Bug #1765279 reported by Po-Hsu Lin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Medium
Unassigned
linux (Ubuntu)
Invalid
Medium
Unassigned
Bionic
Invalid
Medium
Unassigned
linux-kvm (Ubuntu)
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned

Bug Description

When trying to build the libhugetlbfs test Bionic, it will fail with:
  CC32 obj32/linkhuge_nofd.o
  LD32 (hugelink test) obj32/linkhuge_nofd
  CC32 obj32/linkshare.o
  LD32 (hugelink test) obj32/linkshare
  LD32 (xB test) obj32/xB.linkhuge
    /usr/bin/x86_64-linux-gnu-ld: unrecognized option '--hugetlbfs-link=B'
    /usr/bin/x86_64-linux-gnu-ld: use the --help option for usage information
    collect2: error: ld returned 1 exit status
    Makefile:227: recipe for target 'obj32/xB.linkhuge' failed
    make[1]: *** [obj32/xB.linkhuge] Error 1
    Makefile:242: recipe for target 'tests/all' failed
    make: *** [tests/all] Error 2

Steps:
  1. git clone --depth=1 -b next https://github.com/libhugetlbfs/libhugetlbfs.git
  2. cd libhugetlbfs
  3. make

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1003-kvm 4.15.0-1003.3
ProcVersionSignature: User Name 4.15.0-1003.3-kvm 4.15.10
Uname: Linux 4.15.0-1003-kvm x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
Date: Thu Apr 19 04:44:08 2018
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: Unable to build libghugetlbfs test on 4.15 Bionic

Can be reproduced on generic 4.15 kernel as well.

summary: - Unable to build libghugetlbfs test on 4.15 KVM
+ Unable to build libghugetlbfs test on 4.15 Bionic
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1765279

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: Unable to build libghugetlbfs test on 4.15 Bionic

This issue can be found on 4.15 KVM kernel as well.

summary: - Unable to build libghugetlbfs test on 4.15 Bionic
+ Unable to build libghugetlbfs test on 4.15 Bionic/Xenial
summary: - Unable to build libghugetlbfs test on 4.15 Bionic/Xenial
+ Unable to build libghugetlbfs test on 4.15 Bionic
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu):
assignee: nobody → Ubuntu Kernel Team (ubuntu-kernel-team)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-kvm (Ubuntu):
status: New → Confirmed
Po-Hsu Lin (cypressyew)
tags: added: s390x
summary: - Unable to build libghugetlbfs test on 4.15 Bionic
+ Unable to build libhugetlbfs test on 4.15 Bionic
Changed in linux (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
Changed in linux (Ubuntu Bionic):
importance: Undecided → Medium
status: New → Triaged
Changed in linux-kvm (Ubuntu):
status: Confirmed → New
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

We have the test disabled for Bionic (and all the newer releases)

http://kernel.ubuntu.com/git/ubuntu/autotest-client-tests.git/commit/?h=master-next&id=e1b49796e4403506227038f095761ffa40aedc92

Calling this fix-released now.

Changed in linux (Ubuntu):
assignee: Ubuntu Kernel Team (ubuntu-kernel-team) → nobody
status: Triaged → Fix Released
Changed in linux (Ubuntu Bionic):
status: Triaged → Fix Released
Changed in linux-kvm (Ubuntu Bionic):
status: New → Fix Released
Changed in linux-kvm (Ubuntu):
status: New → Fix Released
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu):
status: Fix Released → Invalid
Changed in ubuntu-kernel-tests:
status: New → Fix Released
Changed in linux (Ubuntu Bionic):
status: Fix Released → Invalid
Changed in linux-kvm (Ubuntu):
status: Fix Released → Invalid
Changed in linux-kvm (Ubuntu Bionic):
status: Fix Released → Invalid
Changed in ubuntu-kernel-tests:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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