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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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._______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit