This bug is missing log files that will aid in diagnosing the problem.
>From a terminal window please run:

apport-collect 1659654

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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1659654

Title:
  regression in linux-libc-dev in yakkety: C++ style comments are not
  allowed in ISO C90

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  klibc is failing to build on arm64 in yakkety because of a change in
  unistd.h in linux-libc-dev somewhere between 4.4.0-9136.55 and
  4.8.0-36.38:

    gcc -Wp,-MD,usr/klibc/syscalls/.SYSCALLS.i.d  -nostdinc -iwithprefix 
include -I/<<PKGBUILDDIR>>/usr/include/arch/arm64 -Iusr/include/arch/arm64  
-I/<<PKGBUILDDIR>>/usr/include/bits64 -Iusr/include/bits64  
-I/<<PKGBUILDDIR>>/usr/klibc/../include -Iusr/klibc/../include  
-I/<<PKGBUILDDIR>>/usr/include -Iusr/include  -I/<<PKGBUILDDIR>>/linux/include 
-Ilinux/include  -I/<<PKGBUILDDIR>>/linux/arch/arm64/include 
-Ilinux/arch/arm64/include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=64 
-fno-stack-protector -fwrapv -fno-exceptions -mgeneral-regs-only -g -Os 
-march=armv8-a -mtune=generic -W -Wall -Wno-sign-compare -Wno-unused-parameter  
 -I/<<PKGBUILDDIR>>/usr/klibc/syscalls -D__ASSEMBLY__ -ansi -x c -E -o 
usr/klibc/
  syscalls/SYSCALLS.i usr/klibc/SYSCALLS.def
  In file included from /<<PKGBUILDDIR>>/linux/include/asm/unistd.h:19:0,
                   from usr/klibc/SYSCALLS.def:13:
  /<<PKGBUILDDIR>>/linux/include/asm-generic/unistd.h:734:1: error: C++ style 
comments are not allowed in ISO C90
   //__SYSCALL(__NR_pkey_get,      sys_pkey_get)
   ^
  /<<PKGBUILDDIR>>/linux/include/asm-generic/unistd.h:734:1: error: (this will 
be reported only once per input file)

  https://launchpad.net/ubuntu/+source/klibc/2.0.4-8ubuntu3.1/+build/11926893

  We should reasonably expect the headers in linux-libc-dev to
  maximally-conformant C headers.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to