Bug 100530 - Linking of etnaviv_cmd_stream_test is broken
Summary: Linking of etnaviv_cmd_stream_test is broken
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: libdrm (show other bugs)
Version: XOrg git
Hardware: All Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-02 10:25 UTC by Bernd Kuhls
Modified: 2017-04-03 17:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch (870 bytes, patch)
2017-04-02 10:25 UTC, Bernd Kuhls
no flags Details | Splinter Review

Description Bernd Kuhls 2017-04-02 10:25:30 UTC
Created attachment 130638 [details] [review]
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.
Comment 1 Emil Velikov 2017-04-03 17:04:45 UTC
Thanks Bernd, pushed to master.

For the future please send patches to the mailing list. Running autogen.sh will set format.subjectPrefix and sendemail.to for your convenience ;-)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.