Automoc stalls randomly when built against uclibc. Most of if not all the kde4 modules use automoc in some way and once the builds start, they stall in random places. Its some sort of threading issue. Adding -pthread to the cflags solves this issue. Reproducible: Always Steps to Reproduce: 1. unpack 2008 uclibc stage3 2. emerge automoc 3. emerge phonon Actual Results: build stalls randomly, can wait for hours nothing with happen Expected Results: no stalls should occur, build should progress normally
Created attachment 183289 [details, diff] Add -pthread to cflags for uclibc This patch appends -pthread to the cflags when ELIBC == uclibc
+ 01 Mar 2009; Patrick Lauer <patrick@gentoo.org> automoc-0.9.84.ebuild, + automoc-0.9.88.ebuild: + Fixing CFLAGS for uclibc to fix #260418
Can this fix get added to the automoc-9999 ebuild in the kde-testing overlay also? Please!
(In reply to comment #3) > Can this fix get added to the automoc-9999 ebuild in the kde-testing overlay > also? Please! > anyone?
This is what for is upstream. For live stuff patching sent it upstram.
live ebuild adjusted. Sorry i forgot on that.