[Piglit] [Bug 100978] New: Undefined references: gbm_bo_map and _unmap on Mali
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 9 20:41:56 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100978
Bug ID: 100978
Summary: Undefined references: gbm_bo_map and _unmap on Mali
Product: piglit
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: infrastructure
Assignee: baker.dylan.c at gmail.com
Reporter: yosoy at danieldiaz.org
QA Contact: piglit at lists.freedesktop.org
When "Linking C executable ../../../../bin/point-sprite", the following errors
are thrown:
../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_unmap'
../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_map'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/point-sprite] Error 1
This is due to CMakeList.txt assuming that gbm >= 12.1 includes gbm_bo_map and
gbm_bo_unmap, but that is not the case with Mali drivers (Mali-T628, Mali-T624,
Mali-450, Mali-T760). GPU drivers can be publicly found here:
https://developer.arm.com/products/software/mali-drivers/user-space
Instead of checking for GBM_VERSION >= 12.1, it should be possible to
CHECK_FUNCTION_EXISTS(gbm_bo_map PIGLIT_HAS_GBM_BO_MAP)
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170509/acdbc81e/attachment.html>
More information about the Piglit
mailing list