Bug 2183692 - ICE during compiling blender 3.5.0
Summary: ICE during compiling blender 3.5.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-01 06:26 UTC by Mamoru TASAKA
Modified: 2023-04-06 06:47 UTC (History)
13 users (show)

Fixed In Version: gcc-13.0.1-0.12.fc39
Clone Of:
Environment:
Last Closed: 2023-04-06 06:47:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
preprocessed source (with xz compressed) (500.12 KB, application/x-xz)
2023-04-01 06:26 UTC, Mamoru TASAKA
no flags Details
command line output (462.81 KB, text/plain)
2023-04-01 06:28 UTC, Mamoru TASAKA
no flags Details

Description Mamoru TASAKA 2023-04-01 06:26:42 UTC
Created attachment 1955044 [details]
preprocessed source (with xz compressed)

Description of problem:
Forwarded from: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/EY5A7CE3M3YQEZTGLVJT35S6A6J3FN5Y/

command line:
g++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_WAVE_DYN_LINK -DBOOST_WAVE_NO_LIB -DCCL_NAMESPACE_BEGIN="namespace ccl {" -DCCL_NAMESPACE_END=} -DCYCLES_GFLAGS_NAMESPACE=gflags -DGOOGLE_GLOG_DLL_DECL="" -DNDEBUG -DOSL_STATIC_BUILD -DOSL_STATIC_LIBRARY -DPATH_GUIDING_LEVEL=5 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -DWITH_ALEMBIC -DWITH_ASSERT_ABORT -DWITH_BLENDER_GUARDEDALLOC -DWITH_CUDA -DWITH_CUDA_DYNLOAD -DWITH_CYCLES_LOGGING -DWITH_EMBREE -DWITH_GHOST_WAYLAND_DBUS -DWITH_GHOST_WAYLAND_LIBDECOR -DWITH_HIP -DWITH_HIP_DYNLOAD -DWITH_KERNEL_AVX2 -DWITH_KERNEL_SSE2 -DWITH_KERNEL_SSE41 -DWITH_NANOVDB -DWITH_OCIO -DWITH_OPENGL -DWITH_OPENIMAGEDENOISE -DWITH_OPENSUBDIV -DWITH_OPENVDB -DWITH_OPENVDB_BLOSC -DWITH_OSL -DWITH_PATH_GUIDING -DWITH_SYSTEM_PUGIXML -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__ -I/builddir/build/BUILD/blender-3.5.0/intern/cycles/../../extern/cuew/include -I/builddir/build/BUILD/blender-3.5.0/intern/cycles/../../extern/hipew/include -I/builddir/build/BUILD/blender-3.5.0/intern/cycles/../atomic -I/builddir/build/BUILD/blender-3.5.0/intern/cycles/kernel/.. -isystem /usr/include/OpenEXR -isystem /usr/include/Imath -isystem /usr/include/embree3 -isystem /builddir/build/BUILD/blender-3.5.0/extern/glog/include -isystem /builddir/build/BUILD/blender-3.5.0/extern/gflags/src -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith  -Wwrite-strings -Wundef -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wno-stringop-overread -Wno-stringop-overflow -Wundef -Wmissing-declarations -Wimplicit-fallthrough=5 -O2 -flto=auto -ffat-lto-objects -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   -m64   -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--as-needed -fopenmp -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing  -msse2 -fmacro-prefix-map="/builddir/build/BUILD/blender-3.5.0/"="" -fmacro-prefix-map="/builddir/build/BUILD/blender-3.5.0/redhat-linux-build/"="" -fno-trapping-math -fno-math-errno -fno-signed-zeros -fno-signaling-nans -fno-rounding-math -mfpmath=sse -Wno-error=unused-macros -Werror=float-conversion -Werror=double-promotion -Wno-maybe-uninitialized -DNDEBUG -std=c++17 -fno-trapping-math -fno-math-errno -fno-signed-zeros -fno-signaling-nans -fno-rounding-math -mfpmath=sse -msse -msse2 -msse3 -mssse3 -msse4.1 -MD -MT intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/device/cpu/kernel_sse41.cpp.o -MF intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/device/cpu/kernel_sse41.cpp.o.d -o intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/device/cpu/kernel_sse41.cpp.o -c /builddir/build/BUILD/blender-3.5.0/intern/cycles/kernel/device/cpu/kernel_sse41.cpp

and the result message is very long, so I've attached it with preprocessed source.


Version-Release number of selected component (if applicable):
gcc-c++-13.0.1-0.10.fc39.x86_64

Comment 1 Mamoru TASAKA 2023-04-01 06:28:02 UTC
Created attachment 1955045 [details]
command line output

The last lines are:

during GIMPLE pass: dom
In file included from /builddir/build/BUILD/blender-3.5.0/intern/cycles/kernel/../kernel/device/cpu/kernel_arch_impl.h:32:
/builddir/build/BUILD/blender-3.5.0/intern/cycles/kernel/../kernel/integrator/shade_surface.h: In function 'ccl::integrate_surface<511u>(ccl::KernelGlobalsCPU const*, ccl::IntegratorStateCPU*, float*)bool':
/builddir/build/BUILD/blender-3.5.0/intern/cycles/kernel/../kernel/integrator/shade_surface.h:583:17: internal compiler error: Segmentation fault
  583 | ccl_device bool integrate_surface(KernelGlobals kg,
      |                 ^~~~~~~~~~~~~~~~~
Please submit a full bug report, with preprocessed source.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.

Comment 2 Ali Erdinc Koroglu 2023-04-03 12:53:36 UTC
I confirmed that I'm able to build blender with gcc-13.0.1-0.12.fc39

Comment 3 Mamoru TASAKA 2023-04-06 06:47:19 UTC
Looks like it is fixed with gcc-13.0.1-0.12.fc39


Note You need to log in before you can comment on or make changes to this bug.