Page MenuHome

Build error on Linux after recent changes
Closed, ArchivedPublic

Description

System Information
Operating system: Linux-5.4.0-31-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: AMD Radeon RX 5700 XT (NAVI10, DRM 3.35.0, 5.4.0-31-generic, LLVM 9.0.1) X.Org 4.6 (Core Profile) Mesa 20.0.4

Blender Version
Broken: version: 2.90 (sub 3), branch: master, commit date: 2020-05-22 20:59, hash: rB86fa8dc7f73a

Short description of error
Build error

../../lib/libcycles_device.a(device_cpu.cpp.o):device_cpu.cpp:function ccl::CPUDevice::const_copy_to(char const*, void*, unsigned long): error: undefined reference to 'ccl::kernel_const_copy(ccl::KernelGlobals*, char const*, void*, unsigned long)'
../../lib/libcycles_device.a(device_cpu.cpp.o):device_cpu.cpp:function ccl::CPUDevice::mem_copy_to(ccl::device_memory&): error: undefined reference to 'ccl::kernel_global_memory_copy(ccl::KernelGlobals*, char const*, void*, unsigned long)'
../../lib/libcycles_device.a(device_cpu.cpp.o):device_cpu.cpp:function ccl::CPUDevice::CPUDevice(ccl::DeviceInfo&, ccl::Stats&, ccl::Profiler&, bool): error: undefined reference to 'ccl::kernel_cpu_path_trace(ccl::KernelGlobals*, float*, int, int, int, int, int)'
../../lib/libcycles_device.a(device_cpu.cpp.o):device_cpu.cpp:function ccl::CPUDevice::CPUDevice(ccl::DeviceInfo&, ccl::Stats&, ccl::Profiler&, bool): error: undefined reference to 'ccl::kernel_cpu_convert_to_half_float(ccl::KernelGlobals*, ccl::uchar4*, float*, float, int, int, int, int)'
../../lib/libcycles_device.a(device_cpu.cpp.o):device_cpu.cpp:function ccl::CPUDevice::CPUDevice(ccl::DeviceInfo&, ccl::Stats&, ccl::Profiler&, bool): error: undefined reference to 'ccl::kernel_cpu_convert_to_byte(ccl::KernelGlobals*, ccl::uchar4*, float*, float, int, int, int, int)'
../../lib/libcycles_device.a(device_cpu.cpp.o):device_cpu.cpp:function ccl::CPUDevice::CPUDevice(ccl::DeviceInfo&, ccl::Stats&, ccl::Profiler&, bool): error: undefined reference to 'ccl::kernel_cpu_shader(ccl::KernelGlobals*, ccl::uint4*, ccl::float4*, int, int, int, int, int)'
../../lib/libcycles_device.a(device_cpu.cpp.o):device_cpu.cpp:function ccl::CPUDevice::CPUDevice(ccl::DeviceInfo&, ccl::Stats&, ccl::Profiler&, bool): error: undefined reference to 'ccl::kernel_cpu_bake(ccl::KernelGlobals*, float*, int, int, int, int, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [source/creator/CMakeFiles/blender.dir/build.make:472: bin/blender] Error 1
make[1]: *** [CMakeFiles/Makefile2:6918: source/creator/CMakeFiles/blender.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

Exact steps for others to reproduce the error
Try build blender

Event Timeline

Dalai Felinto (dfelinto) closed this task as Archived.May 25 2020, 5:10 PM
Dalai Felinto (dfelinto) claimed this task.

Hi, thanks for the report, but building errors are not considered bugs. You can bring that up in devtalk though - https://devtalk.blender.org/c/blender/building-blender