Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533942 - x11-drivers/ati-drivers-14.12 should install libamdhsasc64.so
Summary: x11-drivers/ati-drivers-14.12 should install libamdhsasc64.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-29 17:09 UTC by junkmailnotread
Modified: 2015-01-05 13:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description junkmailnotread 2014-12-29 17:09:54 UTC
x11-drivers/ati-drivers-14.12 fails to install libamdhsasc64.so

This library is required for OpenCL applications. Without it, calls to clCreateCommandQueue() will fail with the error code CL_OUT_OF_HOST_MEMORY (-6).

Reproducible: Always

Steps to Reproduce:
1. Run OpenCL program which calls clCreateCommandQueue().
2.
3.
Actual Results:  
clCreateCommandQueue() returns error code CL_OUT_OF_HOST_MEMORY (-6).

Expected Results:  
clCreateCommandQueue() returns error code CL_SUCCESS (0).

The fix is to install libamdhsasc64.so into /usr/lib64 (or wherever appropriate).
Comment 1 emil karlson 2014-12-29 18:14:05 UTC
Can you try x11 overlay, I don't have hsa system so opencl works for me either way. The libraries are now installed as you proposed
Comment 2 junkmailnotread 2014-12-29 18:52:26 UTC
Yes, the x11 overlay ati-drivers-14.12.ebuild file worked fine. Thanks for the prompt work.

I should have stated that I am using an AMD A10-7800 APU (Radeon R7), rather than an AMD GPU. Your observation about non-HSA systems is surely correct.
Comment 3 Manuel Rüger (RETIRED) gentoo-dev 2015-01-05 13:31:26 UTC
(In reply to emil karlson from comment #1)
> Can you try x11 overlay, I don't have hsa system so opencl works for me
> either way. The libraries are now installed as you proposed

I've synced your changes into 14.12-r2, can you please sync it back to x11 overlay as there have been other changes to multilib stuff?


*ati-drivers-14.12-r2 (05 Jan 2015)

  05 Jan 2015; Manuel Rüger <mrueg@gentoo.org> +ati-drivers-14.12-r2.ebuild:
  Proxy commit for Emil Karlson. Install HSA libraries. Fixes bug #533942