I downloaded the source for the CAPS audio plugins from http://quitte.de/dsp/caps.html and try to install it by hand before to do an ebuild. During compilation, I get a gcc internal error and segfault. Reproducible: Always Steps to Reproduce: 1. download http://quitte.de/dsp/caps_0.4.0.tar.gz 2. untar it 3. ./configure.py 4. make Actual Results: g++ -O3 -ffast-math -funroll-loops -Wall -fPIC -DPIC -msse -mfpmath=sse -I/usr/local/include -c ToneStack.cc Descriptor.h: In static member function ‘static void Descriptor<T>::_run_adding(void*, ulong) [with T = ToneStackLT]’: Descriptor.h:209: erreur interne du compilateur: Erreur de segmentation // Mean "Compilator internal error: segfault Veuillez soumettre un rapport complet d'anomalies, avec le source pré-traité si nécessaire. Consultez <URL:http://bugs.gentoo.org/> pour plus de détail. Preprocessed source stored into /tmp/ccebPbaG.out file, please attach this to your bugreport. Expected Results: At those plugins did compile.
The preprocessed sources is too big for bugzilla, so here it is: http://www.alsaplayer.org/tmp/ccebPbaG.out
Created attachment 122351 [details] my emerge.info
We don't support stuff that's not in the tree.
I know that, but the segfault is not when running this audio plugin but with gcc. And gcc is in the tree. Mo matter, i will commit this bug upstream.
BTW, I get this plugion to compile be removing -funroll-loops from the cflags in the Makefile.
You're right, gcc bugs should be filed here.
Reduced testcase: double f1(); int f2() { __builtin_ia32_stmxcsr(); return f1(); } $ i686-pc-linux-gnu-gcc -msse -c bug.c bug.c: In function ‘f2’: bug.c:5: error: insn does not satisfy its constraints: (insn 36 34 37 (set (reg:SI 1 dx) (reg/f:SI 54 virtual-stack-vars)) 34 {*movsi_1} (nil) (expr_list:REG_DEAD (reg/f:SI 54 virtual-stack-vars) (nil))) bug.c:5: internal compiler error: in extract_constrain_insn_cached, at recog.c:2002 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/ccG01j5p.out file, please attach this to your bugreport. $ i686-pc-linux-gnu-gcc -msse -O -c bug.c bug.c: In function ‘f2’: bug.c:5: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/ccWKLSxZ.out file, please attach this to your bugreport.
gcc-4.1.1 is old, gcc-4.1.2 is stable now upgrade to that and if it still ICEs, then try with LC_ALL=C and post your results
ah Harald posted a reduced test case ... this still ICEs on gcc-4.2
Created attachment 122451 [details] my emerge.info
added the fix from upstream to our gcc patchsets ... it'll be fixed in next release