Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326119 - x11-libs/qt-gui-4.6.2: error: '_m_femms' was not declared in this scope
Summary: x11-libs/qt-gui-4.6.2: error: '_m_femms' was not declared in this scope
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 07:22 UTC by Oliver Jaksch
Modified: 2010-06-29 20:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full build.log (build,132.35 KB, text/plain)
2010-06-29 07:33 UTC, Oliver Jaksch
Details
emerge --info (info,9.75 KB, text/plain)
2010-06-29 07:34 UTC, Oliver Jaksch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Jaksch 2010-06-29 07:22:44 UTC
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?
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 07:24:12 UTC
(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.

Comment 2 Oliver Jaksch 2010-06-29 07:33:55 UTC
Created attachment 236883 [details]
full build.log
Comment 3 Oliver Jaksch 2010-06-29 07:34:08 UTC
Created attachment 236885 [details]
emerge --info
Comment 4 Oliver Jaksch 2010-06-29 07:38:43 UTC
REOPEN with log & info
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 07:51:44 UTC
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"
Comment 6 Oliver Jaksch 2010-06-29 08:46:21 UTC
(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 ?
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2010-06-29 09:01:47 UTC
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.
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2010-06-29 20:48:57 UTC
Building qt-modules with different CFLAGS/CXXFLAGS between each other is not supported in any case

Closed as INVALID