Bug 102712 - Compilation fails with LLVM5
Summary: Compilation fails with LLVM5
Status: RESOLVED MOVED
Alias: None
Product: Beignet
Classification: Unclassified
Component: Beignet (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Zhigang Gong
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-13 20:37 UTC by Anatol
Modified: 2018-10-12 21:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Anatol 2017-09-13 20:37:56 UTC
I am trying to build beignet version 1.3.1 at Arch Linux with LLVM5 and I see following compilation issues:

/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:271:45: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
GEN_VALIDATE_ARRAY_INDEX(float4, write_only image3d_t)
                                            ^
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:272:43: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
GEN_VALIDATE_ARRAY_INDEX(int4, write_only image3d_t)
                                          ^
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:273:45: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
GEN_VALIDATE_ARRAY_INDEX(float3, write_only image3d_t)
                                            ^
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:274:43: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
GEN_VALIDATE_ARRAY_INDEX(int3, write_only image3d_t)
                                          ^
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:541:17: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
DECL_IMAGE_TYPE(image3d_t, 4)
                ^
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:541:17: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:541:17: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:542:17: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
DECL_IMAGE_TYPE(image3d_t, 3)
                ^
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:542:17: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:542:17: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:709:35: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
DECL_IMAGE_INFO_COMMON(write_only image3d_t)
                                  ^
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:709:35: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:709:35: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:771:46: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
OVERLOADABLE int get_image_height(write_only image3d_t image)
                                             ^
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:775:45: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
OVERLOADABLE int get_image_depth(write_only image3d_t image)
                                            ^
/build/beignet/src/Beignet-1.3.1-Source/build/backend/src/libocl/src/ocl_image.cl:779:44: error: use of type '__write_only image3d_t' requires cl_khr_3d_image_writes extension to be enabled
OVERLOADABLE int4 get_image_dim(write_only image3d_t image)
Comment 1 GitLab Migration User 2018-10-12 21:26:18 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/beignet/beignet/issues/58.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.