Summary: | net-fs/autofs: fails with forced --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Stefaan De Roeck (RETIRED) <stefaan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | elprespufferfish, jlec, net-fs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/qa/asneeded.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413, 253412 | ||
Attachments: |
Build log
Patch to add -lpthread to the LIBS line in daemon/Makefile |
Description
Diego Elio Pettenò (RETIRED)
2008-11-21 13:51:36 UTC
Created attachment 172691 [details]
Build log
Created attachment 177056 [details, diff] Patch to add -lpthread to the LIBS line in daemon/Makefile The Makefile rule was mostly correct. The failure reported in comment #0 is because the Makefile incorrectly uses LDFLAGS to add -lpthread, so the library option is too far left in the command line. This patch adds -lpthread to LIBS, so that it is reiterated in the correct place after the linker encounters a dependency on pthread functions. My patch for bug #253412 will remove the inappropriate use of -lpthread in LDFLAGS. Applying this patch without that one should be harmless, since it will merely result in referencing libpthread twice. *** Bug 247258 has been marked as a duplicate of this bug. *** Patch applied in net-fs/autofs-5.0.4 *** Bug 278608 has been marked as a duplicate of this bug. *** |