KhronosGroup / KhronosGroup/OpenCL-ICD-Loader
make test fails.
- Dominant language
- C
- Stars
- 304
- Forks
- 171
- Avg merge
- 11h 30m
- Merged PRs (30d)
- 1
Description
Hello,
I have successfully built icd_loader; and also modified /etc/OpenCL/vendors/test.icd to point to the DriverStub.so built from icd_loader. Then I tried to run make 'test. It failed with the following errors:
make -C build test
make[1]: Entering directory '/home/xxxx/xxx/icd/build'
Running tests...
Test project /home/xxxx/xxx/icd/build
Start 1: OPENCL_ICD_LOADER_TEST
1/1 Test #1: OPENCL_ICD_LOADER_TEST ...........***Exception: SegFault 0.79 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.79 sec
The following tests FAILED:
1 - OPENCL_ICD_LOADER_TEST (SEGFAULT)
Errors while running CTest
...
What is the wrong here?
thanks,
steven
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `make -C build test` and the `OPENCL_ICD_LOADER_TEST` failure. Check the `/etc/OpenCL/vendors/test.icd` entry and the DriverStub.so built from icd_loader while investigating the segmentation fault. Done means the test completes without a segfault and CTest reports it as passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100