| Summary: | Parallel make fails in src/glx/x11/ | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Rémi Cardona <remi> |
| Component: | Mesa core | Assignee: | Dan Nicholson <dbn.lists> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: |
Add dep to libGL.so on $(TOP)/$(LIB_DIR)
Ensure $(TOP)/$(LIB_DIR) is created immediately Create leading directories from mklib |
||
|
Description
Rémi Cardona
2009-03-29 10:17:43 UTC
Created attachment 24355 [details] [review] Ensure $(TOP)/$(LIB_DIR) is created immediately Where is the rule for $(TOP)/$(LIB_DIR)? I don't see it in glx/x11/Makefile in master or 7.4. And actually, I would prefer to just handle this once in src/Makefile. Does this patch work? Or are you just jumping straight into src/glx/x11? (In reply to comment #1) > Created an attachment (id=24355) [details] > Ensure $(TOP)/$(LIB_DIR) is created immediately > > Where is the rule for $(TOP)/$(LIB_DIR)? src/Makefile:31 > I don't see it in glx/x11/Makefile in > master or 7.4. And actually, I would prefer to just handle this once in > src/Makefile. Does this patch work? Or are you just jumping straight into > src/glx/x11? It looks like it should work as well, I'll ask the impacted user to try it out. Right now, we're running make from $(TOP), so I guess that ought to do it. mklib could also create the install dir if it doesn't exist... Just a thought. Thanks for your help Hi Dan, Could you apply either patch to the 7.5 branch? I couldn't find anything remotely similar in mesa's history. Thanks Created attachment 28306 [details] [review] Create leading directories from mklib Sorry for the slow delay. It turns out that it was remarkably easier to fix this the right way by having mklib create the directories it needs instead of hoping that make has done it for us. I think this should reliably fix any race so long as mklib is used to create the libraries in $(LIB_DIR). If this looks acceptable, I'll check it in and cherry-pick back to 7.5. That's probably even safer than my original patch. That looks good to me. Thanks Pushed to master and mesa_7_5_branch. Thanks |
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.