<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Undefined references: gbm_bo_map and _unmap on Mali"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100978#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Undefined references: gbm_bo_map and _unmap on Mali"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100978">bug 100978</a>
              from <span class="vcard"><a class="email" href="mailto:andrey.konovalov@linaro.org" title="Andrey Konovalov <andrey.konovalov@linaro.org>"> <span class="fn">Andrey Konovalov</span></a>
</span></b>
        <pre>E.g. mali450r6p001rel0linux1arm64tar.gz from
<a href="https://developer.arm.com/products/software/mali-drivers/user-space">https://developer.arm.com/products/software/mali-drivers/user-space</a> has
libgbm.so which is a link to libMali.so:

mali450-userland-drm-r6p0-01rel0-release$ ls -l usr/lib/libgbm*
lrwxrwxrwx 1 ynk ynk 11 Feb  5  2016 usr/lib/libgbm.so -> libgbm.so.1
lrwxrwxrwx 1 ynk ynk 10 Feb  5  2016 usr/lib/libgbm.so.1 -> libMali.so

And libMali.so has only the following gbm_bo_* symbols:

mali450-userland-drm-r6p0-01rel0-release$ objdump -t usr/lib/libMali.so |grep
gbm_bo_
000000000017a960 l     F .text  000000000000003c             
_ZL20gbm_bo_update_statusP6gbm_bo13gbm_bo_status
00000000002af498 l     O .rodata        000000000000000e             
_ZZ13gbm_bo_importE8__func__
000000000017beb8 g     F .text  0000000000000058             
gbm_bo_set_user_data
000000000017bcf0 g     F .text  000000000000002c              gbm_bo_get_device
000000000017b734 g     F .text  000000000000050c              gbm_bo_import
000000000017bcc4 g     F .text  000000000000002c              gbm_bo_get_format
000000000017bf3c g     F .text  000000000000001c              gbm_bo_destroy
000000000017bd1c g     F .text  0000000000000034              gbm_bo_get_handle
000000000017bc6c g     F .text  000000000000002c              gbm_bo_get_height
000000000017bc98 g     F .text  000000000000002c              gbm_bo_get_stride
000000000017bc40 g     F .text  000000000000002c              gbm_bo_get_width
000000000017bd50 g     F .text  000000000000002c              gbm_bo_get_fd
000000000017bd7c g     F .text  000000000000013c              gbm_bo_write
000000000017bf10 g     F .text  000000000000002c             
gbm_bo_get_user_data
000000000017b2b0 g     F .text  0000000000000124              gbm_bo_unref
000000000017b258 g     F .text  0000000000000058              gbm_bo_ref
000000000017b550 g     F .text  00000000000001e4              gbm_bo_create</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>