[Mesa-dev] [Bug 103385] Cross compilation fails with undefined reference

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 21 01:59:19 UTC 2018


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

Timothy Arceri <t_arceri at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #2 from Timothy Arceri <t_arceri at yahoo.com.au> ---
(In reply to bkarthikk93 from comment #0)
> I have been trying to cross compile Mesa 13.0.6 and 12.0.6 for an arm
> platform. Both compilation is failing with the following error 
> 
>  Making all in gbm
> make[3]: Entering directory
> '/opt/qt/qt5.9.1arm_source/dependencies/mesa/mesa-13.0.6/src/gbm'
>   CCLD     libgbm.la
> ../../src/loader/.libs/libloader.a(libxmlconfig_la-xmlconfig.o): In function
> `__getProgramName':
> xmlconfig.c:(.text+0x78): undefined reference to `__progname'
> collect2: error: ld returned 1 exit status
> Makefile:847: recipe for target 'libgbm.la' failed
> make[3]: *** [libgbm.la] Error 1

You need to make sure correct support is offered in xmlconfig.c for your
platform/compiler. Patches welcome and can be sent to the mesa-dev mailing
list. 

For now I'm going to close this bug as wont fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180821/1871315d/attachment.html>


More information about the mesa-dev mailing list