hcc icon indicating copy to clipboard operation
hcc copied to clipboard

debug build asserts while compiling rocdl/opencl/src/devenq/schedule.cl

Open ssahasra opened this issue 7 years ago • 0 comments

I hit the above assertion when creating a debug build for hcc. Here's the actual output:

Building OCL object rocdl/opencl/CMakeFiles/opencl_lib.dir/src/devenq/schedule.cl clang-7: /home/ssahasra/projects/hcc/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:596: void {anonymous}::CGRecordLowering::clipTailPadding(): Assertion `Prior->Kind == MemberInfo::Field && ! Prior->FD && "Only storage fields have tail padding!"' failed. Stack dump: clang-7: error: unable to execute command: Aborted (core dumped) clang-7: error: clang frontend command failed due to signal (use -v to see invocation) HCC clang version 7.0.0 (https://github.com/RadeonOpenCompute/hcc-clang-upgrade.git 1481a5b0a61ecefd73f80ae32e2bcad5eed23633) (https://github.com/RadeonOpenCompute/llvm.git e80a5a861041225bd14933fdf0b61120466c9319) (based on HCC 1.2.18291-be10e5a-1481a5b-e80a5a8 )

ssahasra avatar Jul 25 '18 04:07 ssahasra