| Summary: | media-libs/xine-lib CFLAG filter | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Joshua J. Berry (CondorDes) (RETIRED) <condordes> |
| Component: | New packages | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | preprocessed source | ||
Created attachment 29302 [details]
preprocessed source
Here is the preprocessed source, which the error message told me I should
attach to the bug.
|
xine-lib should filter -O3 from its CFLAGS. When compiling with CFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -pipe -mmmx -msse -msse2 -mfpmath=sse": gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I. ./../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subsc ripts -Wmissing-declarations -Wmissing-prototypes -O3 -march=pentium4 -mcpu=pent ium4 -pipe -mmmx -msse -msse2 -mfpmath=sse -mno-sse2 -c ic_predict.c -MT ic_pred ict.lo -MD -MP -MF .deps/ic_predict.TPlo -o .libs/ic_predict.o ic_predict.c: In function `flt_round': ic_predict.c:55: warning: dereferencing type-punned pointer will break strict-al iasing rules ic_predict.c:55: warning: dereferencing type-punned pointer will break strict-al iasing rules ic_predict.c:55: warning: dereferencing type-punned pointer will break strict-al iasing rules ic_predict.c:57: warning: dereferencing type-punned pointer will break strict-al iasing rules ic_predict.c: In function `quant_pred': ic_predict.c:64: warning: dereferencing type-punned pointer will break strict-al iasing rules ic_predict.c: In function `inv_quant_pred': ic_predict.c:74: warning: dereferencing type-punned pointer will break strict-al iasing rules ic_predict.c: In function `ic_predict': ic_predict.c:81: error: insn does not satisfy its constraints: (insn 599 491 210 6 0x40404840 (set (reg/v:SF 29 emm0 [72]) (const_double:SF 0 [0x0] 0.0 [0x0.0p+0])) 61 {*movsf_1} (nil) (nil)) ic_predict.c:81: internal compiler error: in build_def_use, at regrename.c:782 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/xine-lib-1_rc3-r3/temp/ccDcX4Be .out file, please attach this to your bugreport distcc[8006] ERROR: compile on localhost failed make[4]: *** [ic_predict.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r3/work/xine-lib-1-r c3c/src/libfaad' With -O2 and all other CFLAGS the same, this compiles fine.