[Bug 1680507] Re: breakpoint test from ubuntu_kernel_selftest failed to build on aarch64

Francis Ginther francis.ginther at canonical.com
Tue Mar 27 12:22:23 UTC 2018


** Tags added: id-5ab94cd948fea47a514cc379

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

Title:
  breakpoint test from ubuntu_kernel_selftest failed to build on aarch64

Status in glibc package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in glibc source package in Zesty:
  New
Status in linux source package in Zesty:
  Won't Fix
Status in glibc source package in Artful:
  New
Status in linux source package in Artful:
  New
Status in glibc source package in Bionic:
  New
Status in linux source package in Bionic:
  Confirmed

Bug description:
  stderr:
  	breakpoint_test_arm64.c: In function ‘set_watchpoint’:
  	breakpoint_test_arm64.c:91:28: error: storage size of ‘dreg_state’ isn’t known
  	struct user_hwdebug_state dreg_state;
  	^~~~~~~~~~
  	In file included from /usr/include/alloca.h:24:0,
  	from /usr/include/stdlib.h:453,
  	from ../kselftest.h:13,
  	from breakpoint_test_arm64.c:37:
  	breakpoint_test_arm64.c:98:32: error: invalid use of undefined type ‘struct user_hwdebug_state’
  	iov.iov_len = offsetof(struct user_hwdebug_state, dbg_regs) +
  	^
  	breakpoint_test_arm64.c: In function ‘run_test’:
  	breakpoint_test_arm64.c:171:25: error: ‘TRAP_HWBKPT’ undeclared (first use in this function)
  	if (siginfo.si_code != TRAP_HWBKPT) {
  	^~~~~~~~~~~
  	breakpoint_test_arm64.c:171:25: note: each undeclared identifier is reported only once for each function it appears in
  	make: *** [breakpoint_test_arm64] Error 1

  Full log can be found here: http://pastebin.ubuntu.com/24328194/

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-18-generic 4.10.0-18.20
  ProcVersionSignature: User Name 4.10.0-18.20-generic 4.10.8
  Uname: Linux 4.10.0-18-generic aarch64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Apr  6 14:48 seq
   crw-rw---- 1 root audio 116, 33 Apr  6 14:48 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.20.4-0ubuntu3
  Architecture: arm64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  Date: Thu Apr  6 14:50:50 2017
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  PciMultimedia:
   
  ProcFB:
   
  ProcKernelCmdLine: console=ttyS0,9600n8r ro
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-18-generic N/A
   linux-backports-modules-4.10.0-18-generic  N/A
   linux-firmware                             1.164
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list