When cross compiling, we have to handle the (cross-)linker to the mklib call. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Created attachment 31828 [details] [review] patch to fix the issue
Looks good. Will check it in when I get a chance.
Ping, can I provide any further information, in order to get this applied upstream? rsc
Sorry, I forgot about this. Due to my inertia, the code has since been refactored and I believe this issue should be fixed. As far as I can tell, all the mklib calls are appropriately being passed -linker. Please reopen if this issue isn't fixed.
Created attachment 36916 [details] [review] add -linker option to mklib to fix linking when cross compiling Same issue different place. -linker is missing from the mklib call, and it fails when cross compiling.
forgot to add: the patch is for 7.8.2 but git master looks broken too: http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/Makefile.template no -linker here.
mklib got removed with 8f8e85e7038399d3d49f693860ffd639bffc761f
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.