[Bug 100530] Linking of etnaviv_cmd_stream_test is broken

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 2 10:25:30 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100530

            Bug ID: 100530
           Summary: Linking of etnaviv_cmd_stream_test is broken
           Product: DRI
           Version: XOrg git
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libdrm
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: berndkuhls at hotmail.com

Created attachment 130638
  --> https://bugs.freedesktop.org/attachment.cgi?id=130638&action=edit
Patch

Buildroot autobuilders detected a broken link command for
etnaviv_cmd_stream_test

http://autobuild.buildroot.net/results/68a/68af62f4ab6944d326468818562c05fd5cc55b03/build-end.log

/home/test/autobuild/run/instance-1/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabi/5.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld:
warning: libdrm.so.2, needed by ../../etnaviv/.libs/libdrm_etnaviv.so, not
found (try using -rpath or -rpath-link)
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to
`drmCommandWriteRead'
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `drmCommandWrite'
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to
`drmPrimeHandleToFD'
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `drmHashDelete'
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `drmMsg'
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `drmIoctl'
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `drmHashLookup'
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `drmHashCreate'
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `drmHashInsert'
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `drmHashDestroy'
../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to
`drmPrimeFDToHandle'
collect2: error: ld returned 1 exit status
make[4]: *** [etnaviv_cmd_stream_test] Error 1

The attached patch fixes the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170402/06a5d41e/attachment.html>


More information about the dri-devel mailing list