I emerged libpng-1.4.3 yesterday and did all the necessary steps to resolve broken/missing .la and.so files. Everything went fine so far (264 packages rebuilt). The last and unresolved package is x11-libs/qt-gui-4.6.2 which fails to compile. I did several 'lafilefixer --justfixit' and 'revdep-rebuild -ip' but nothing. 'revdep-rebuild --library libpng12.so.0' still complains that x11-libs/qt-gui-4.6.2 needs to be recompiled but fails when emerging. Anybody any ideas?
(In reply to comment #0) > I emerged libpng-1.4.3 yesterday and did all the necessary steps to resolve > broken/missing .la and.so files. Everything went fine so far (264 packages > rebuilt). > The last and unresolved package is x11-libs/qt-gui-4.6.2 which fails to > compile. I did several 'lafilefixer --justfixit' and 'revdep-rebuild -ip' but > nothing. > 'revdep-rebuild --library libpng12.so.0' still complains that > x11-libs/qt-gui-4.6.2 needs to be recompiled but fails when emerging. > > Anybody any ideas? reopen with full build.log and emerge --info also lafilefixer doesn't solve the libpng upgrade issues, the update script mentioned in libpng's postinst message does.
Created attachment 236883 [details] full build.log
Created attachment 236885 [details] emerge --info
REOPEN with log & info
CFLAGS="-march=athlon64 -O2 -pipe -mno-sse3 -mno-3dnow -ftree-vectorize" CXXFLAGS="-march=athlon64 -O2 -pipe -mno-sse3 -mno-3dnow -ftree-vectorize" The error looks *FLAGS related, I don't think -mno-sse3 and -mno-3dnow is even valid flags to put in make.conf. Try with plain *FLAGS="-march=athlon64 -O2 -pipe"
(In reply to comment #5) > CFLAGS="-march=athlon64 -O2 -pipe -mno-sse3 -mno-3dnow -ftree-vectorize" > CXXFLAGS="-march=athlon64 -O2 -pipe -mno-sse3 -mno-3dnow -ftree-vectorize" > > The error looks *FLAGS related, I don't think -mno-sse3 and -mno-3dnow is even > valid flags to put in make.conf. I'm building binaries for several gentoo systems. The master machine is an amd phenom 9850 quad but other machine are old amd64's (w/o sse3) and some are intel based (w/o 3dnow). My thought was to set these flags to gain binaries which are running on both cpu's. I did this around two years ago and since then everything is working everywhere very fine and stable - as expected. Or am I misbelieving? > Try with plain *FLAGS="-march=athlon64 -O2 -pipe" Great, thank you. That did the trick. However, I gave some tries to that issue and compiled qt-gui with different *FLAGS. In summary the problem occurs when using "-mno-3dnow" and that's interesting because I emerged qt-gui-4.6.2 on 2010/03/02 with all the *FLAGS mentioned earlier. So you're right. It's FLAGS-related. Shall I close ticket to FIXED or to WORKSFORME ?
Actually qt's configure script autodetected mmx/3dnow/sse/sse2 support, and indeed the optimized draw helpers did get compiled, as you can see from the build log. But you're trying to build with -mno-3dnow which probably leads to an incompatibility somewhere.
Building qt-modules with different CFLAGS/CXXFLAGS between each other is not supported in any case Closed as INVALID