Bug 25500

Summary: Add linker option to mklib call
Product: Mesa Reporter: Robert Schwebel <r.schwebel>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: mkl
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch to fix the issue
add -linker option to mklib to fix linking when cross compiling

Description Robert Schwebel 2009-12-07 13:38:19 UTC
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>
Comment 1 Robert Schwebel 2009-12-07 13:39:06 UTC
Created attachment 31828 [details] [review]
patch to fix the issue
Comment 2 Dan Nicholson 2010-01-20 05:51:36 UTC
Looks good. Will check it in when I get a chance.
Comment 3 Robert Schwebel 2010-05-04 01:02:05 UTC
Ping, can I provide any further information, in order to get this applied upstream?

rsc
Comment 4 Dan Nicholson 2010-07-01 12:32:59 UTC
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.
Comment 5 Michael Olbrich 2010-07-09 04:47:56 UTC
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.
Comment 6 Michael Olbrich 2010-07-09 04:58:16 UTC
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.
Comment 7 Andreas Boll 2013-01-11 11:18:45 UTC
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.