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

Bug 930363

Summary: x11-libs/libdrm-2.4.120 - ../.../shader_code.h: error: initialization of const uint32_t {aka const unsigned int } from incompatible pointer type const
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: CONFIRMED ---    
Severity: normal CC: kocelfc, zeekec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.freedesktop.org/mesa/drm/-/issues/100
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
temp.tar.xz
tests.tar.xz
x11-libs:libdrm-2.4.120:20240421-005433.log

Description Toralf Förster gentoo-dev 2024-04-21 08:57:55 UTC
too long lines were shrinked:

[75/90] x86_64-pc-linux-gnu-gcc -Itests/amdgpu/amdgpu_test.p -Itests/amdgpu -I../libdrm-2.4.120/tests/amdgpu -I. -I../libdrm-2.4.120 -I../libdrm-2.4.120/include/drm -Iamdgpu -I../libdrm-2.4.120/amdgpu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -O
[76/90] x86_64-pc-linux-gnu-gcc -Itests/amdgpu/amdgpu_test.p -Itests/amdgpu -I../libdrm-2.4.120/tests/amdgpu -I. -I../libdrm-2.4.120 -I../libdrm-2.4.120/include/drm -Iamdgpu -I../libdrm-2.4.120/amdgpu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -O
[77/90] x86_64-pc-linux-gnu-gcc -Itests/amdgpu/amdgpu_test.p -Itests/amdgpu -I../libdrm-2.4.120/tests/amdgpu -I. -I../libdrm-2.4.120 -I../libdrm-2.4.120/include/drm -Iamdgpu -I../libdrm-2.4.120/amdgpu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -O
FAILED: tests/amdgpu/amdgpu_test.p/shader_test_util.c.o 
x86_64-pc-linux-gnu-gcc -Itests/amdgpu/amdgpu_test.p -Itests/amdgpu -I../libdrm-2.4.120/tests/amdgpu -I. -I../libdrm-2.4.120 -I../libdrm-2.4.120/include/drm -Iamdgpu -I../libdrm-2.4.120/amdgpu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -O2 -pipe 
In file included from ../libdrm-2.4.120/tests/amdgpu/shader_test_util.c:10:
../libdrm-2.4.120/tests/amdgpu/shader_code.h:114:9: error: initialization of 'const uint32_t *' {aka 'const unsigned int *'} from incompatible pointer type 'const uint32_t (*)[10][6]' {aka 'const unsigned int (*)[10][6]'} [-Wincompatible-pointer-types]
  114 |         ps_##_ps##_shader_patchinfo_code_gfx##_n, \
      |         ^~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_test-20240419-193003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.8
Available Rust versions:
  [1]   rust-bin-1.77.1 *
php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit e08402ff5ffabbe0d01d97358f1f769275154658
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 20 22:19:07 2024 +0000

    2024-04-20 22:19:06 UTC

emerge -qpvO x11-libs/libdrm
[ebuild   R   ] x11-libs/libdrm-2.4.120  USE="udev valgrind* -test -tools" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="amdgpu intel nouveau radeon (-exynos) (-freedreno) (-omap) (-tegra) (-vc4) (-vivante) -vmware"
Comment 1 Toralf Förster gentoo-dev 2024-04-21 08:57:56 UTC
Created attachment 891242 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-21 08:57:57 UTC
Created attachment 891243 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-21 08:57:58 UTC
Created attachment 891244 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-21 08:57:59 UTC
Created attachment 891245 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-21 08:58:00 UTC
Created attachment 891246 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-21 08:58:01 UTC
Created attachment 891247 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-04-21 08:58:02 UTC
Created attachment 891248 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-21 08:58:03 UTC
Created attachment 891249 [details]
tests.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-04-21 08:58:04 UTC
Created attachment 891250 [details]
x11-libs:libdrm-2.4.120:20240421-005433.log
Comment 10 Kostadin Shishmanov 2024-04-26 14:14:53 UTC
Upstream bug: https://gitlab.freedesktop.org/mesa/drm/-/issues/100