last good gcc version is gcc-14.0.1-0.6.fc40 [1755/3687] g++ -o src/freedreno/vulkan/libvulkan_freedreno.so src/freedreno/vulkan/libvulkan_freedreno.so.p/meson-generated_.._tu_entrypoints.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/meson-generated_.._tu_tracepoints.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_autotune.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_clear_blit.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_cmd_buffer.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_cs_breadcrumbs.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_cs.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_device.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_descriptor_set.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_dynamic_rendering.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_formats.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_image.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_knl.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_lrz.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_nir_lower_multiview.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_pass.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_pipeline.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_query.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_shader.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_suballoc.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_util.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_wsi.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_knl_drm_msm.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_knl_drm.cc.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libvulkan_freedreno.so -Wl,--whole-archive src/vulkan/runtime/libvulkan_runtime.a src/vulkan/wsi/libvulkan_wsi.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection src/freedreno/ir3/libfreedreno_ir3.a src/freedreno/isa/libir3decode.a src/util/libmesa_util.a src/util/libmesa_util_sse41.a src/util/blake3/libblake3.a src/c11/impl/libmesa_util_c11.a src/freedreno/isa/libir3encode.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/freedreno/common/libfreedreno_common.a src/freedreno/fdl/libfreedreno_layout.a src/freedreno/perfcntrs/libfreedreno_perfcntrs.a src/vulkan/util/libvulkan_util.a src/compiler/spirv/libvtn.a src/util/libxmlconfig.a -Wl,--version-script /builddir/build/BUILD/mesa-893780b36251616e967f12354fab5fc0d05d79d7/src/vulkan/vulkan.sym -Wl,-Bsymbolic -Wl,--gc-sections -Wl,--build-id=sha1 /usr/lib/libelf.so -lm -pthread /usr/lib/libz.so /usr/lib/libzstd.so /usr/lib/libunwind.so /usr/lib/libxcb-dri3.so /usr/lib/libwayland-client.so /usr/lib/libXrandr.so /usr/lib/libdrm.so /usr/lib/libxcb.so /usr/lib/libX11-xcb.so /usr/lib/libX11.so /usr/lib/libxcb-present.so /usr/lib/libxcb-xfixes.so /usr/lib/libxcb-sync.so /usr/lib/libxcb-randr.so /usr/lib/libxcb-shm.so /usr/lib/libxshmfence.so /usr/lib/libexpat.so -Wl,--end-group FAILED: src/freedreno/vulkan/libvulkan_freedreno.so g++ -o src/freedreno/vulkan/libvulkan_freedreno.so src/freedreno/vulkan/libvulkan_freedreno.so.p/meson-generated_.._tu_entrypoints.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/meson-generated_.._tu_tracepoints.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_autotune.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_clear_blit.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_cmd_buffer.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_cs_breadcrumbs.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_cs.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_device.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_descriptor_set.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_dynamic_rendering.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_formats.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_image.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_knl.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_lrz.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_nir_lower_multiview.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_pass.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_pipeline.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_query.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_shader.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_suballoc.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_util.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_wsi.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_knl_drm_msm.cc.o src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_knl_drm.cc.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libvulkan_freedreno.so -Wl,--whole-archive src/vulkan/runtime/libvulkan_runtime.a src/vulkan/wsi/libvulkan_wsi.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection src/freedreno/ir3/libfreedreno_ir3.a src/freedreno/isa/libir3decode.a src/util/libmesa_util.a src/util/libmesa_util_sse41.a src/util/blake3/libblake3.a src/c11/impl/libmesa_util_c11.a src/freedreno/isa/libir3encode.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/freedreno/common/libfreedreno_common.a src/freedreno/fdl/libfreedreno_layout.a src/freedreno/perfcntrs/libfreedreno_perfcntrs.a src/vulkan/util/libvulkan_util.a src/compiler/spirv/libvtn.a src/util/libxmlconfig.a -Wl,--version-script /builddir/build/BUILD/mesa-893780b36251616e967f12354fab5fc0d05d79d7/src/vulkan/vulkan.sym -Wl,-Bsymbolic -Wl,--gc-sections -Wl,--build-id=sha1 /usr/lib/libelf.so -lm -pthread /usr/lib/libz.so /usr/lib/libzstd.so /usr/lib/libunwind.so /usr/lib/libxcb-dri3.so /usr/lib/libwayland-client.so /usr/lib/libXrandr.so /usr/lib/libdrm.so /usr/lib/libxcb.so /usr/lib/libX11-xcb.so /usr/lib/libX11.so /usr/lib/libxcb-present.so /usr/lib/libxcb-xfixes.so /usr/lib/libxcb-sync.so /usr/lib/libxcb-randr.so /usr/lib/libxcb-shm.so /usr/lib/libxshmfence.so /usr/lib/libexpat.so -Wl,--end-group /usr/bin/ld: src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_device.cc.o: in function `void tu_cs_dbg_stomp_regs<(chip)6>(tu_cs*, bool, unsigned int, unsigned int, bool)': /builddir/build/BUILD/mesa-893780b36251616e967f12354fab5fc0d05d79d7/redhat-linux-build/../src/freedreno/vulkan/tu_device.cc:1995:(.text._Z20tu_cs_dbg_stomp_regsIL4chip6EEvP5tu_csbjjb+0x30): undefined reference to `RP_BLIT_REGS<(chip)6>' /usr/bin/ld: /builddir/build/BUILD/mesa-893780b36251616e967f12354fab5fc0d05d79d7/redhat-linux-build/../src/freedreno/vulkan/tu_device.cc:1998:(.text._Z20tu_cs_dbg_stomp_regsIL4chip6EEvP5tu_csbjjb+0x1b8): undefined reference to `CMD_REGS<(chip)6>' /usr/bin/ld: src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_device.cc.o: in function `void tu_cs_dbg_stomp_regs<(chip)7>(tu_cs*, bool, unsigned int, unsigned int, bool)': /builddir/build/BUILD/mesa-893780b36251616e967f12354fab5fc0d05d79d7/redhat-linux-build/../src/freedreno/vulkan/tu_device.cc:1995:(.text._Z20tu_cs_dbg_stomp_regsIL4chip7EEvP5tu_csbjjb+0x30): undefined reference to `RP_BLIT_REGS<(chip)7>' /usr/bin/ld: /builddir/build/BUILD/mesa-893780b36251616e967f12354fab5fc0d05d79d7/redhat-linux-build/../src/freedreno/vulkan/tu_device.cc:1998:(.text._Z20tu_cs_dbg_stomp_regsIL4chip7EEvP5tu_csbjjb+0x1f0): undefined reference to `CMD_REGS<(chip)7>' /usr/bin/ld: src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_cmd_buffer.cc.o: in function `void tu_emit_event_write<(chip)6>(tu_cmd_buffer*, tu_cs*, fd_gpu_event)': /builddir/build/BUILD/mesa-893780b36251616e967f12354fab5fc0d05d79d7/redhat-linux-build/../src/freedreno/vulkan/tu_cmd_buffer.cc:75:(.text._Z19tu_emit_event_writeIL4chip6EEvP13tu_cmd_bufferP5tu_cs12fd_gpu_event[_Z19tu_emit_event_writeIL4chip6EEvP13tu_cmd_bufferP5tu_cs12fd_gpu_event]+0x16): undefined reference to `fd_gpu_events<(chip)6>' /usr/bin/ld: src/freedreno/vulkan/libvulkan_freedreno.so.p/tu_cmd_buffer.cc.o: relocation R_386_GOTOFF against undefined symbol `_Z13fd_gpu_eventsIL4chip6EE' can not be used when making a shared object /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status Reproducible: Always
Created attachment 2017695 [details] good mesa build log
Created attachment 2017696 [details] bad mesa build log
Where do I get the mesa src.rpm? koji only has 24.0.0 and so does pkgs.fedoraproject.org git repo.
Created attachment 2017798 [details] mesa.spec (In reply to Jakub Jelinek from comment #3) > Where do I get the mesa src.rpm? koji only has 24.0.0 and so does > pkgs.fedoraproject.org git repo. I am build mesa snapshot everyday by myself. mesa.src.rpm: https://mega.nz/file/98RBjYTL#7-_5NG-IBwC0sFuA48Lqc1TJ-hM0-vR6UMzt8qzAZ8A
Filed upstream.
FEDORA-2024-04a26a52c4 (gcc-14.0.1-0.8.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-04a26a52c4
FEDORA-2024-04a26a52c4 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-04a26a52c4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-04a26a52c4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Proposed as a Freeze Exception for 40-beta by Fedora user atim using the blocker tracking app because: Please add to exceptions. This could speedup things for these who interested in testing NVK with upcoming Mesa 24.1 (https://copr.fedorainfracloud.org/coprs/xxmitsu/mesa-git/).
Discussed at today's blocker review meeting: https://meetbot-raw.fedoraproject.org/blocker-review_matrix_fedoraproject-org/2024-03-11/f40-blocker-review.2024-03-11-16.00.html . This was rejected on the grounds there's no clear justification for it. We would usually only take a compiler fix if it was causing widespread mayhem to builds, or we needed it to fix the build of something we needed to pull in as a blocker or FE fix. Neither appears to be the case here.
FEDORA-2024-04a26a52c4 (gcc-14.0.1-0.8.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.