Open stelleg opened 3 years ago
The functions with the acl prefix called by ROCclr, e.g. aclWriteToMem don't seem to be defined anywhere in the radeonopencompute organization, and as a result, building libamdocl64.so fails with many undefined symbols, e.g.
acl
aclWriteToMem
libamdocl64.so
ld: error: undefined symbol: aclValidateBinaryImage >>> referenced by program.cpp >>> program.cpp.o:(amd::Program::addDeviceProgram(amd::Device&, void const*, unsigned long, bool, amd::option::Options*, amd::Program const*, int, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)) in archive /home/stelleg/soft/rocclr/build/libamdrocclr_static.a >>> referenced by program.cpp >>> program.cpp.o:(amd::Program::addDeviceProgram(amd::Device&, void const*, unsigned long, bool, amd::option::Options*, amd::Program const*, int, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)) in archive /home/stelleg/soft/rocclr/build/libamdrocclr_static.a
Make sure you have the latest ROCclr. Acl interfaces must be enabled only under WITH_COMPILER_LIB define and it's not a part of the ROCM build.
The functions with the
acl
prefix called by ROCclr, e.g.aclWriteToMem
don't seem to be defined anywhere in the radeonopencompute organization, and as a result, buildinglibamdocl64.so
fails with many undefined symbols, e.g.