Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 786294

Summary: app-emulation/xen-tools-4.14.1-r2 - linux.c: error: argument 7 of type const xen_pfn_t[] {aka const long unsigned int[]} declared
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Tomáš Mózes <hydrapolic>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ionen, proxy-maint, xen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
app-emulation:xen-tools-4.14.1-r2:20210428-063755.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-04-28 07:15:58 UTC
linux.c:165:50: error: argument 7 of type ‘const xen_pfn_t[]’ {aka ‘const long unsigned int[]’} declared as an ordinary array [-Werror=vla-parameter]
  165 |                                  const xen_pfn_t arr[/*num*/], int err[/*num*/])
      |                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from linux.c:29:
private.h:35:50: note: previously declared as a variable length array ‘const xen_pfn_t[num]’ {aka ‘const long unsigned int[num]’}

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20210420-165442

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.0
 [2] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr 28 06:20:41 UTC 2021

emerge -qpvO app-emulation/xen-tools
[ebuild  N    ] app-emulation/xen-tools-4.14.1-r2  USE="hvm ipxe pam qemu qemu-traditional rombios sdl -api -debug -doc -flask -ocaml -ovmf -pygrub -python -screen -static-libs -system-ipxe -system-qemu -system-seabios" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-04-28 07:15:59 UTC
Created attachment 703098 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-28 07:16:01 UTC
Created attachment 703101 [details]
app-emulation:xen-tools-4.14.1-r2:20210428-063755.log
Comment 3 Toralf Förster gentoo-dev 2021-04-28 07:16:03 UTC
Created attachment 703104 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-28 07:16:04 UTC
Created attachment 703107 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-28 07:16:06 UTC
Created attachment 703110 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-28 07:16:07 UTC
Created attachment 703113 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-28 07:16:08 UTC
Created attachment 703116 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-04-28 22:24:35 UTC
I still run into bug #782967 without gcc11 (I assume binutils-2.36 related), but this particular one is new with gcc11.
Comment 9 Tomáš Mózes 2021-04-30 15:03:20 UTC

*** This bug has been marked as a duplicate of bug 768468 ***