Summary: | media-video/mplayer-1.0_rc4_p20090919-r2: fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maarten Maathuis <madman2003> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | Reimar.Doeffinger, SebastianLuther |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
environment
build log |
Description
Maarten Maathuis
2009-10-24 11:23:06 UTC
Created attachment 208132 [details]
environment
Created attachment 208133 [details]
build log
i'd say there's an error: x86_64-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -march=k8 -pipe -fno-omit-frame-pointer -O2 -D__STDC_LIMIT_MACROS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/dirac -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -c -o cljr.o cljr.c In file included from swscale.c:1408: swscale_template.c: In function 'yuv2yuv1_MMX2': swscale_template.c:961: warning: initialization from incompatible pointer type swscale_template.c:961: warning: initialization from incompatible pointer type swscale_template.c:961: warning: initialization from incompatible pointer type swscale_template.c:961: warning: initialization from incompatible pointer type swscale_template.c: In function 'hScale_MMX2': swscale_template.c:2104: warning: initialization discards qualifiers from pointer target type swscale_template.c: In function 'swScale_MMX2': swscale_template.c:2719: warning: assignment discards qualifiers from pointer target type swscale_template.c:2720: warning: assignment discards qualifiers from pointer target type swscale_template.c:2725: warning: assignment discards qualifiers from pointer target type swscale_template.c:2726: warning: assignment discards qualifiers from pointer target type swscale_template.c:2732: warning: assignment discards qualifiers from pointer target type swscale_template.c:2733: warning: assignment discards qualifiers from pointer target type swscale_template.c:2740: warning: cast from pointer to integer of different size swscale_template.c:2746: warning: cast from pointer to integer of different size swscale_template.c:2753: warning: cast from pointer to integer of different size swscale_template.c:2778: warning: initialization discards qualifiers from pointer target type swscale_template.c:2779: warning: initialization discards qualifiers from pointer target type swscale_template.c:2780: warning: initialization discards qualifiers from pointer target type swscale_template.c: In function 'sws_init_swScale_MMX2': swscale_template.c:2932: warning: assignment from incompatible pointer type swscale_template.c:2947: warning: assignment from incompatible pointer type swscale_template.c:2992: warning: assignment from incompatible pointer type swscale_template.c: In function 'yuv2packed2_MMX2': swscale_template.c:1358: error: bp cannot be used in asm here make[1]: *** [swscale.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0_rc4_p20090919-r2/work/mplayer-1.0_rc4_p20090919/libswscale' make: *** [libswscale/libswscale.a] Error 2 make: *** Waiting for unfinished jobs.... Try mplayer-1.0_rc4_p20091026. Not exactly the same, but essentially a duplicate of bug #288918 This is not solved. I suspect the problem is that you are not checking for the "-fno-omit-frame-pointer" CFLAG, which i use system wide (it helps with debugging and profiling sometimes). (In reply to comment #6) > This is not solved. > > I suspect the problem is that you are not checking for the > "-fno-omit-frame-pointer" CFLAG, which i use system wide (it helps with > debugging and profiling sometimes). > Sorry, but it's not possible to check for every possible flag that might break a build. This applies even more for a flag like -fno-omit-frame-pointer, that I never saw some using before. The argument that it might help to debugging and profiling is imo flawed. What do you gain by using it? The gcc manual says -fomit-frame-pointer is only enabled where it does not interfere with debugging. You still don't have debug symbols. And for profiling: You have to add extra options anyways. So why not add it together with these (if it is needed at all)? Summary is: Don't use it globally. |