Summary: | app-cdr/cdrdao-1.2.3-r1 fails with ld.gold - dao.cc:191: error: undefined reference to 'pthread_sigmask' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steffen Hau <steffen> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | esigra, media-optical, nikoli, steffen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 269315, 372079 |
Description
Steffen Hau
2015-04-28 12:58:24 UTC
Hi Steffen, could you please retry? It works for me, likely as some dependency is pulling in pthreads. Hi David, I checked again an it still fails. I think it's not good to rely on other packages to include -pthread, as the package uses it it should check and add it on its own. My simple patch still works. Best regards, Steffen Hi Steffen, I've added AX_PTHREAD to the configure.ac and include PTHREAD_CFLAGS unconditionally in the LIBS. This should hopefully solve the issue, could you give it another go once -r3 trickles down to you? commit 75ec4101484a7b273c2913ab02813d122bdf44c7 Author: David Seifert <soap@gentoo.org> Date: Sat Feb 13 19:11:45 2016 +0100 app-cdr/cdrdao: Link to libpthread unconditionally Gentoo-Bug: 548004, 520988 * EAPI=6 * Use AX_PTHREAD to properly detect pthread flags * Use AM_PROG_AR instead of toolchain-funcs.eclass * Amend patches for -p1 * Fix -Werror=format-security errors |