Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786294 - 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
Summary: app-emulation/xen-tools-4.14.1-r2 - linux.c: error: argument 7 of type const ...
Status: RESOLVED DUPLICATE of bug 768468
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-28 07:15 UTC by Toralf Förster
Modified: 2021-04-30 15:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.92 KB, text/plain)
2021-04-28 07:15 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.14.1-r2:20210428-063755.log (app-emulation:xen-tools-4.14.1-r2:20210428-063755.log,113.75 KB, text/plain)
2021-04-28 07:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,286.99 KB, text/plain)
2021-04-28 07:16 UTC, Toralf Förster
Details
environment (environment,125.07 KB, text/plain)
2021-04-28 07:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.43 KB, application/x-bzip)
2021-04-28 07:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.30 KB, application/x-bzip)
2021-04-28 07:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,36.25 KB, application/x-bzip)
2021-04-28 07:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***