failed to build cuda error #107684

Closed
opened 2023-05-06 15:47:37 +02:00 by Behe eddine · 3 comments

so I run
make ninja release and it crashes
maybe this error
'''
FAILED: intern/cycles/kernel/kernel_compute_75.ptx /my_compile_directory/development/blender-git/build_linux_release/intern/cycles/kernel/kernel_compute_75.ptx
cd /my_compile_directory/development/blender-git/build_linux_release/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=compute_75 --ptx /my_compile_directory/development/blender-git/blender/intern/cycles/kernel/device/cuda/kernel.cu -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D NVCC -m 64 -I /my_compile_directory/development/blender-git/blender/intern/cycles/kernel/.. -I /my_compile_directory/development/blender-git/blender/intern/cycles/kernel/device/cuda --use_fast_math -o /my_compile_directory/development/blender-git/build_linux_release/intern/cycles/kernel/kernel_compute_75.ptx -Wno-deprecated-gpu-targets -ccbin="/usr/bin/cc" -D WITH_NANOVDB -I /my_compile_directory/development/blender-git/lib/linux_x86_64_glibc_228/openvdb/include
/usr/include/stdlib.h(141): error: identifier "_Float32" is undefined
'''
maybe this error can be helpful + this file

and thanks guys

  • the file is basically the output of the compilation
  • the daily builds will work and if I just make ninja without cuda it will actually work
so I run make ninja release and it crashes maybe this error ''' FAILED: intern/cycles/kernel/kernel_compute_75.ptx /my_compile_directory/development/blender-git/build_linux_release/intern/cycles/kernel/kernel_compute_75.ptx cd /my_compile_directory/development/blender-git/build_linux_release/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=compute_75 --ptx /my_compile_directory/development/blender-git/blender/intern/cycles/kernel/device/cuda/kernel.cu -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D NVCC -m 64 -I /my_compile_directory/development/blender-git/blender/intern/cycles/kernel/.. -I /my_compile_directory/development/blender-git/blender/intern/cycles/kernel/device/cuda --use_fast_math -o /my_compile_directory/development/blender-git/build_linux_release/intern/cycles/kernel/kernel_compute_75.ptx -Wno-deprecated-gpu-targets -ccbin="/usr/bin/cc" -D WITH_NANOVDB -I /my_compile_directory/development/blender-git/lib/linux_x86_64_glibc_228/openvdb/include /usr/include/stdlib.h(141): error: identifier "_Float32" is undefined ''' maybe this error can be helpful + this file and thanks guys + the file is basically the output of the compilation + the daily builds will work and if I just make ninja without cuda it will actually work
203 KiB
Behe eddine added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-05-06 15:47:38 +02:00
Iliya Katushenock added the
Interest
Platforms, Builds & Tests
label 2023-05-06 15:48:15 +02:00
Author

basically I am pretty sure that building
kernel_sm_**.cubin
is where the problem is accuring + it was working last week

  • I am using arch linux and the latest packages for cuda nvidia gcc and make so yeah
basically I am pretty sure that building kernel_sm_**.cubin is where the problem is accuring + it was working last week + I am using arch linux and the latest packages for cuda nvidia gcc and make so yeah
Author

so I got into the blender chat and it seems that the issus is that I was using gcc 13.1 with nvcc 12.x

credits to lazydodo this is the link of the issue https://forums.developer.nvidia.com/t/strange-errors-after-system-gcc-upgraded-to-13-1-1/252441

so basically if anyone is having this issue it's a compiler issue
so should this bug be closed or let open until the issue is actually solved

so I got into the blender chat and it seems that the issus is that I was using gcc 13.1 with nvcc 12.x credits to lazydodo this is the link of the issue https://forums.developer.nvidia.com/t/strange-errors-after-system-gcc-upgraded-to-13-1-1/252441 so basically if anyone is having this issue it's a compiler issue so should this bug be closed or let open until the issue is actually solved

We'll close this for now as there's nothing for Blender developers to fix here really; and build issues are not tracked here. Good to have a reference to that thread though.

We'll close this for now as there's nothing for Blender developers to fix here really; and build issues are not tracked here. Good to have a reference to that thread though.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-05-07 02:26:44 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#107684
No description provided.