Bug 25500 - Add linker option to mklib call
Summary: Add linker option to mklib call
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-07 13:38 UTC by Robert Schwebel
Modified: 2013-01-11 11:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch to fix the issue (989 bytes, patch)
2009-12-07 13:39 UTC, Robert Schwebel
Details | Splinter Review
add -linker option to mklib to fix linking when cross compiling (1.58 KB, patch)
2010-07-09 04:47 UTC, Michael Olbrich
Details | Splinter Review

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.