Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930363 - x11-libs/libdrm-2.4.120 - ../.../shader_code.h: error: initialization of const uint32_t {aka const unsigned int } from incompatible pointer type const
Summary: x11-libs/libdrm-2.4.120 - ../.../shader_code.h: error: initialization of cons...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-21 08:57 UTC by Toralf Förster
Modified: 2024-04-26 14:20 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.49 KB, text/plain)
2024-04-21 08:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,32.95 KB, text/plain)
2024-04-21 08:57 UTC, Toralf Förster
Details
environment (environment,137.60 KB, text/plain)
2024-04-21 08:57 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.18 KB, application/x-xz)
2024-04-21 08:57 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.68 KB, application/x-xz)
2024-04-21 08:58 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,79.19 KB, text/plain)
2024-04-21 08:58 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.05 KB, application/x-xz)
2024-04-21 08:58 UTC, Toralf Förster
Details
tests.tar.xz (tests.tar.xz,47.00 KB, application/x-xz)
2024-04-21 08:58 UTC, Toralf Förster
Details
x11-libs:libdrm-2.4.120:20240421-005433.log (x11-libs:libdrm-2.4.120:20240421-005433.log,85.66 KB, text/plain)
2024-04-21 08:58 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 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