Summary: | media-libs/libvpx-1.1.0 - In function `vp8_machine_specific_config': systemdependent.c:(.text+0xbb): undefined reference to `pthread_once' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oschtan <dawnstyle> |
Component: | [OLD] Library | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander, bircoph, me, tb |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
build.log environment emerge --info build.log from emerge using CFLAGS="-pthread" |
Description
Oschtan
2012-05-16 17:20:19 UTC
Created attachment 312027 [details]
build.log
The same problem here on ~x86. Created attachment 312511 [details]
build.log
Created attachment 312513 [details]
environment
Created attachment 312515 [details]
emerge --info
With USE="-threads" the packages shouldn't use pthread at all, but it does. As a temporary workaround with USE="threads" it builds fine. I could see same problem: vp8/common/generic/systemdependent.c.o: In function `vp8_machine_specific_config': systemdependent.c:(.text+0xd9): undefined reference to `pthread_once' collect2: ld returned 1 exit status *** Bug 446788 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 405813 *** This is not a dup of a bug 405813, because in my case ssse3 USE flag is never used nor supported by the hardware affected. it really is the same despite of your flags, the build systems lacks -pthread in both cases you can try CFLAGS="-pthread" and it should compile or USE="threads". propably the package shouldn't have such USE flag at all sorry, you are right, wrong duplication CFLAGS="-pthread" does not work (see attached build.log) Created attachment 346288 [details]
build.log from emerge using CFLAGS="-pthread"
tests must be disable in that situation... I reported the issue upstream long ago and forgot to fix in the ebuild =| fixed in libvpx-1.2.0_pre20130625 This is fixed in the 1.2 ebuild but still exists on ARM in 1.1.0 as of glibc 2.16. Is the 1.2 build going to go stable at some point, and if not, can we get the fix backported to 1.1.0? |