Summary: | media-libs/ming-0.4.0_rc2 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Fox <gentoo> |
Component: | [OLD] Library | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | erikw, kristian.niemi |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info for a another machine showing the build problem emerge --info for a machine that builds ming without any problems emerge --info for a machine that builds ming without any problems |
Description
Peter Fox
2009-12-18 15:40:41 UTC
Please attach the entire build log to this bug report. Created attachment 213401 [details]
build.log
The build.log.
As somilation redirects stdout and stderr to /dev/null, not a lot to see.
I have 4 machines I've tried building this ming version on. 2 build fine, 2 exhibit this problem. I shall attach the emerge --info for each of the other three machines. Created attachment 215042 [details]
emerge --info for a another machine showing the build problem
Created attachment 215045 [details]
emerge --info for a machine that builds ming without any problems
Created attachment 215047 [details]
emerge --info for a machine that builds ming without any problems
Could it be significant that the failing machines have CFLAGS=-march=k8 while the ones that build ok are -march=athlon-xp ? It's the -O3 flag that causes it to fail. I had the same issue on my machine. Changing -O3 to -O2 resolved the problem. That makes sense since the error message was about inlining functions. I can confirm that changing -O3 to -O2 in my CFLAGS in make.conf has allowed ming-0.4.0_rc2 to build successfully. Perhaps the ebuild should be changed to filter CFLAGS? (In reply to comment #9) > I can confirm that changing -O3 to -O2 in my CFLAGS in make.conf has allowed > ming-0.4.0_rc2 to build successfully. Perhaps the ebuild should be changed to > filter CFLAGS? > Confirming changing -O3 to -O2 in CFLAGS enable ming-0.4.0_rc2 to build successfully. (Oh how this package has frustrated me the past days! Thanks for the fix.) Do let me know if you want any specifics of my system in order to discern why it fails with -O3, in case that's not generally so. See, we generally advise everyone NOT to run with -O3. That said, I'll probably filter > -O2 in the ebuild. Leaving the bug open until this is in CVS. I've committed ming-0.4.3 to the tree which specifically filters -O3 and replaces it with -O2 for you. Ming uses assembler in some places which is known to interact badly with over-optimization. I don't know enough of the package to be sure of it though. |