This looks to be introduced by a60f7b69d92c0142c80a30d669a76b617b7f6879 in 
v4.9-rc1 and fixed up by 71757904efadefdf5505712f675218ce59483c5d in v4.9-rc2. 
The former was backported into Yakkety to resolve bug #1591804.
Will submit the latter for SRU into Yakkety.

** Also affects: linux (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Yakkety)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Yakkety)
       Status: New => In Progress

** Changed in: linux (Ubuntu Yakkety)
     Assignee: (unassigned) => Stefan Bader (smb)

-- 
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:
  Fix Released
Status in linux source package in Yakkety:
  In Progress

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