Summary: | Emerge of cinelerra-cvs fails with ICE in extract_insn | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gabor Wnuk <kid> |
Component: | [OLD] Core system | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED CANTFIX | ||
Severity: | critical | CC: | 1inuxoid, benklop, bugs.gentoo.org, bugs, fpoulain, gentoo.10.eatmadust, gentoo, gentoobugs, heiko.baums, jakub, jarrellmark, jochen.eisinger, k, kazik2002, koebane, lama, Markku.Kaukinen, n-roeser, papp.zoltan, pdgreen8, remspoor, root, shpac, toto, tschenturs, zypher |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
smaller test-case that triggers the ICE
shuffles the code a little to avoid ICE Updated cinelerra-cvs-20060219.ebuild cin-cvs 20060619 with patch commad anti-ICE patch /var/tmp/portage/cinelerra-cvs-20060619/temp/ccWmOVqr.out |
Description
Gabor Wnuk
2006-04-03 09:52:01 UTC
Can you reproduce the problem, i.e. - does it fail again at *exactly* the same place? (In reply to comment #1) > Can you reproduce the problem, i.e. - does it fail again at *exactly* the same > place? > Yes, this happends ALWAYS in the same place. Hmmmm.... It has been happening to me also, though in a different part of the build. I thought it was some quirk of the many unstable media packages I have installed. (I suppose it still could be.) ----------------------------------------------------------------- if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -I../guicast -I../libmpeg3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_FIREWIRE -DHAVE_ALSA -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -I/usr/include/OpenEXR -DPLUGIN_DIR=\"/usr/lib/cinelerra\" -march=athlon-xp -O2 -pipe -MT filedv.o -MD -MP -MF ".deps/filedv.Tpo" \ -c -o filedv.o `test -f 'filedv.C' || echo './'`filedv.C; \ then mv -f ".deps/filedv.Tpo" ".deps/filedv.Po"; \ else rm -f ".deps/filedv.Tpo"; exit 1; \ fi filedv.C: In member function `virtual int FileDV::open_file(int, int)': filedv.C:249: error: `dv_is_progressive' was not declared in this scope filedv.C:254: error: `dv_is_PAL' was not declared in this scope filedv.C:264: error: `dv_get_num_channels' was not declared in this scope filedv.C:268: error: `dv_get_frequency' was not declared in this scope filedv.C: In member function `int FileDV::audio_samples_copy(double**, int64_t)': filedv.C:410: warning: converting to `short int' from `double' filedv.C:422: warning: converting to `short int' from `double' filedv.C:425: warning: converting to `short int' from `double' filedv.C: In member function `virtual int FileDV::write_samples(double**, int64_t)': filedv.C:450: warning: converting to `int' from `double' filedv.C: In member function `virtual int FileDV::read_samples(double*, int64_t)': filedv.C:739: error: `dv_get_num_samples' was not declared in this scope filedv.C: In member function `int FileDV::get_audio_frame(int64_t)': filedv.C:920: warning: converting to `int' from `double' filedv.C: In member function `int FileDV::get_audio_offset(int64_t)': filedv.C:929: warning: converting to `int' from `double' make[3]: *** [filedv.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20060219/work/cinelerra-cvs-20060219/cinelerra' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20060219/work/cinelerra-cvs-20060219/cinelerra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20060219/work/cinelerra-cvs-20060219' make: *** [all] Error 2 !!! ERROR: media-video/cinelerra-cvs-20060219 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile (In reply to comment #4) > It has been happening to me also, though in a different part of the build. I Completely different issue, please file a new bug. *** Bug 128720 has been marked as a duplicate of this bug. *** I've been getting exactly the same error at the same place Me too Created attachment 84286 [details]
smaller test-case that triggers the ICE
g++ -msse -O2 -c test.C triggers the ICE
BTW: I was able to compile Cinelerra from SVN (http://cvs.cinelerra.org/svnusage.html), whatever the problem is seems to be fixed. Created attachment 84439 [details, diff]
shuffles the code a little to avoid ICE
the attached patch shuffles the code a little to confuse the gcc optimizer and avoid the ICE
The best solution for now is to work around it with the attached patch since this was fixed upstream during the tree-ssa merge. gcc-4.1.0 should be unmasked soon, so that will also fix this issue. *** Bug 133111 has been marked as a duplicate of this bug. *** Note an entry in README.BUILD from the source: <x86 CPUs only> You probably want to enable MMX support. To do that, run ./configure with the --enable-mmx option. NB! If you do that, you may have to use the --without-pic option, too. Otherwise, compilation can fail. </x86 CPUs only> The odd thing is that it builds fine as an ordinary user if I copy the configure command from the ebuild process (in my case ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-static --enable-alsa --disable-esd --enable-oss --enable-mmx --without-pic --enable-3dnow --build=i686-pc-linux-gnu) and run it on the source it builds without the error, and it works. Portage 2.0.54-r2 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-g entoo-r6sata i686) ================================================================= System uname: 2.6.16-gentoo-r6sata i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable d] ccache version 2.3 [enabled] dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -pipe -msse -mmmx -m3dnow -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share /config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/shar e/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/sh are/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/tex mf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -msse -mmmx -m3dnow -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbo x" GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/dist ributions/gentoo http://gentoo.mirror.sdv.fr http://gentoo.osuosl.org http://ww w.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages/delph" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3dnowext X a52 aac acpi alsa ao apm asf asm audiofile avi bash-completion berkdb bigger-fonts bitmap-fonts bzip2 bzlib cdda cddb cdio cdparanoia cdr cdrom cli codecs crypt cscope cups curl curlwrappers dbase dnd dpms dri droproot dts dv dvb dvd dvdr dvdread edl eds emboss encode ethereal exif expat fame fb fdftk ffmpeg fftw flac flash foomaticdb fortran fpx freetype ftp gd gdbm gimp gimpprint glut gphoto2 gpm gs gtk gtk2 gtkhtml guile idn ieee1394 image imagemagick imap imlib inkjar ipv6 isdnlog jack jack-tmpfs java javadoc javascript jp2 jpeg jpeg2k kde kdexdeltas ladcca ladspa largeterminal lcms libg++ libvisual libwww live lzo lzw lzw-tiff mad mbox md5sum mdb mhash mime ming mixer mjpeg mmx mmxext mng mono mp3 mpeg mpeg4 mplayer mythtv ncurses network nls no-old-linux no24bpp nodrm noplugin nothemes nptl ntlm nvidia ogg oggvorbis opengl oss pam pcre pdf pdfkit pdflib perl physfs plugin png portaudio pppd python quicktime readline real reflection rtc samba scanner sdl server session sftplogging sharedmem slang sndfile sockets soundtouch sox spell spl sse ssl stream svg svgz symlink sysfs syslog sysvipc tcltk tcpd tga theora tidy tiff timidity transcode truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vcd vcdimager virtual vorbis win32codecs wmf wxwindows x11vnc x264 xanim xbase xine xml xml2 xmms xorg xosd xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS I can confirm Jochens patch (comment #11) avoids the ICE on my box (using gcc-3.4.6-r1). (In reply to comment #15) > I can confirm Jochens patch (comment #11) avoids the ICE on my box (using > gcc-3.4.6-r1). > How do I apply this patch? ---Alex Created attachment 89708 [details]
Updated cinelerra-cvs-20060219.ebuild
incorporates jochen's patch
Create an entry for cinelerra-cvs in your portage overlay. For me, I did # cd /usr/local/portage/; mkdir media-video; cd media-video; rsync -a /usr/portage/media-video/cinelerra-cvs . ; cd cinelerra-cvs/files Download http://bugs.gentoo.org/attachment.cgi?id=84439&action=view to that directory. rename attachment.cgi?id=84439 to extract_insn.patch # cd .. # wget http://bugs.gentoo.org/attachment.cgi?id=89708 - rename that to cinelerra-cvs-20060219.ebuild - this is the updated ebuild. # ebuild cinelerra-cvs-20060219.ebuild digest # emerge -v cinelerra-cvs --- Nisha, I love you *** Bug 137721 has been marked as a duplicate of this bug. *** I added a new version to the tree and am about to remove 20060219. Can you please try the latest version (20060619)? Thanks, Marc. I get this error with cinelerra-cvs-20060619. *** Bug 138076 has been marked as a duplicate of this bug. *** (In reply to comment #18) This didn't work for me. The cinelerra-cvs-20060619-gcc41.patchfile is missing, and copying the 20060219 version over didn't patch correctly. Any suggestions? > Create an entry for cinelerra-cvs in your portage overlay. For me, I did > # cd /usr/local/portage/; mkdir media-video; cd media-video; rsync -a > /usr/portage/media-video/cinelerra-cvs . ; cd cinelerra-cvs/files > > Download http://bugs.gentoo.org/attachment.cgi?id=84439&action=view to that > directory. rename attachment.cgi?id=84439 to extract_insn.patch > > # cd .. > # wget http://bugs.gentoo.org/attachment.cgi?id=89708 - rename that to > cinelerra-cvs-20060219.ebuild - this is the updated ebuild. > # ebuild cinelerra-cvs-20060219.ebuild digest > # emerge -v cinelerra-cvs > > --- > > Nisha, I love you > (In reply to comment #17) > Created an attachment (id=89708) [edit] > Updated cinelerra-cvs-20060219.ebuild > > incorporates jochen's patch > Created attachment 90294 [details]
cin-cvs 20060619 with patch commad
This is an ebuild that applies the anti-ICE patch
Created attachment 90296 [details]
anti-ICE patch
This is more or less the same patch as above.
Please test as follows (shamelessly borrowed from comment #18): Create an entry for cinelerra-cvs in your portage overlay. For me, I did # cd /usr/local/portage/; mkdir media-video; cd media-video; rsync -a /usr/portage/media-video/cinelerra-cvs . ; cd cinelerra-cvs/files Download http://bugs.gentoo.org/attachment.cgi?id=90296 to that directory. rename attachment.cgi?id=90296 to cinelerra-cvs-20060619-bcpan.C.patch # cd .. # wget http://bugs.gentoo.org/attachment.cgi?id=90294 - rename that to cinelerra-cvs-20060619.ebuild - this is the updated ebuild. # ebuild cinelerra-cvs-20060219.ebuild digest # emerge -v cinelerra-cvs Cheers, Marc. Worked for me. Thanks! (In reply to comment #26) > Please test as follows (shamelessly borrowed from comment #18): > > Create an entry for cinelerra-cvs in your portage overlay. For me, I did > # cd /usr/local/portage/; mkdir media-video; cd media-video; rsync -a > /usr/portage/media-video/cinelerra-cvs . ; cd cinelerra-cvs/files > > Download http://bugs.gentoo.org/attachment.cgi?id=90296 to that > directory. rename attachment.cgi?id=90296 to > cinelerra-cvs-20060619-bcpan.C.patch > > # cd .. > # wget http://bugs.gentoo.org/attachment.cgi?id=90294 - rename that to > cinelerra-cvs-20060619.ebuild - this is the updated ebuild. > # ebuild cinelerra-cvs-20060219.ebuild digest > # emerge -v cinelerra-cvs > > > Cheers, > > Marc. > *** Bug 138852 has been marked as a duplicate of this bug. *** This patch works for me too, with -march=athlon-xp. BTW, I would name this cinelerra-cvs-20060619-r1.ebuild or something like that.... (In reply to comment #26) > Please test as follows (shamelessly borrowed from comment #18): (In reply to comment #29) > This patch works for me too, with -march=athlon-xp. Of course, wouldn't you know, it crashes for me immediately upon loading a mov file. So I'm not so sure it is getting compiled correctly even though the complier doesn't die. :-( I think I'll try with CFLAGS=-02, but the forums seem to indicate that you really nead mmx to get adequate perf. signal_entry: got SIGSEGV my pid=15330 execution table size=9: timebar.C: update: 406 timebar.C: update: 408 timebar.C: update: 410 timebar.C: update: 412 TrackCanvas::draw 1 TrackCanvas::draw 10 TrackCanvas::draw 20 TrackCanvas::draw 30 file.C: file.C: 313 (In reply to comment #30) > I think I'll try with CFLAGS=-02 Nope. Same crash with the following. I give up. CFLAGS="-O2 -finline-functions -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" *** Bug 139323 has been marked as a duplicate of this bug. *** *** Bug 139733 has been marked as a duplicate of this bug. *** *** Bug 139769 has been marked as a duplicate of this bug. *** *** Bug 139904 has been marked as a duplicate of this bug. *** (In reply to comment #29) > This patch works for me too, with -march=athlon-xp. BTW, I would name this > cinelerra-cvs-20060619-r1.ebuild or something like that.... > > (In reply to comment #26) > > Please test as follows (shamelessly borrowed from comment #18): > Are there any plans to include this patch with the Cinelerra build liek this guy suggests? ---Alex *** Bug 140913 has been marked as a duplicate of this bug. *** I've got the same problem (I think) Is there a fix available yet? --- if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=k8 -O2 -msse3 -pipe -MT bcpan.lo -MD -MP -MF ".deps/bcpan.Tpo" \ -c -o bcpan.lo `test -f 'bcpan.C' || echo './'`bcpan.C; \ then mv -f ".deps/bcpan.Tpo" ".deps/bcpan.Plo"; \ else rm -f ".deps/bcpan.Tpo"; exit 1; \ fi i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=k8 -O2 -msse3 -pipe -MT bcpan.lo -MD -MP -MF .deps/bcpan.Tpo -c bcpan.C -fPIC -DPIC -o .libs/bcpan.o bcpan.C: In static member function `static int BC_Pan::stick_to_values(float*, int, int*, int, int, int, float)': bcpan.C:436: error: unrecognizable insn: (insn 480 479 466 4 (set (reg:V4SF 21 xmm0 [85]) (and:V4SF (not:V4SF (mem:SF (plus:SI (reg/f:SI 6 bp) (const_int -16 [0xfffffff0])) [86 shortest+0 S4 A8])) (reg:V4SF 22 xmm1))) -1 (nil) (nil)) bcpan.C:436: internal compiler error: in extract_insn, at recog.c:2083 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/cinelerra-cvs-20060619/temp/ccWmOVqr.out file, please attach this to your bugreport. make[2]: *** [bcpan.lo] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20060619/work/cinelerra-cvs-20060619/guicast' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20060619/work/cinelerra-cvs-20060619' make: *** [all] Fehler 2 !!! ERROR: media-video/cinelerra-cvs-20060619 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile cinelerra-cvs-20060619.ebuild, line 72: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. Created attachment 93299 [details]
/var/tmp/portage/cinelerra-cvs-20060619/temp/ccWmOVqr.out
*** Bug 143184 has been marked as a duplicate of this bug. *** Patch works for me. *** Bug 145155 has been marked as a duplicate of this bug. *** *** Bug 145258 has been marked as a duplicate of this bug. *** *** Bug 145735 has been marked as a duplicate of this bug. *** *** Bug 146110 has been marked as a duplicate of this bug. *** (In reply to comment #12) > The best solution for now is to work around it with the attached patch since > this was fixed upstream during the tree-ssa merge. gcc-4.1.0 should be > unmasked soon, so that will also fix this issue. ...and now gcc-4.1.1 has been unmasked; this bug no longer occurs for me. *** Bug 154125 has been marked as a duplicate of this bug. *** Hmm so this still occurs with the new snapshot. @zypher @video : should we add a check for gcc 4 ? Apply the anti-ice patch ? Upstream will probably not accept this patch since they want to be as close as possible to hv's code to make the merges easier. (In reply to comment #48) > Hmm so this still occurs with the new snapshot. > @zypher @video : should we add a check for gcc 4 ? Apply the anti-ice patch ? > Upstream will probably not accept this patch since they want to be as close as > possible to hv's code to make the merges easier. > newest version (20061020-cvs) crashes with me as well: bcpan.C: In static member function `static int BC_Pan::stick_to_values(float*, int, int*, int, int, int, float)': bcpan.C:437: error: unrecognizable insn: (insn 479 478 467 4 (set (reg:V4SF 21 xmm0 [89]) (and:V4SF (not:V4SF (mem:SF (plus:SI (reg/f:SI 7 sp) (const_int 40 [0x28])) [84 shortest+0 S4 A8])) (reg:V4SF 22 xmm1))) -1 (nil) (nil)) bcpan.C:437: internal compiler error: in extract_insn, at recog.c:2083 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -fomit-frame-pointer -MT bcpbuffer.lo -MD -MP -MF .deps/bcpbuffer.Tpo -c bcpbuffer.C -fPIC -DPIC -o .libs/bcpbuffer.o if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -fomit-frame-pointer -MT bcpixmap.lo -MD -MP -MF ".deps/bcpixmap.Tpo" \ -c -o bcpixmap.lo `test -f 'bcpixmap.C' || echo './'`bcpixmap.C; \ then mv -f ".deps/bcpixmap.Tpo" ".deps/bcpixmap.Plo"; \ else rm -f ".deps/bcpixmap.Tpo"; exit 1; \ fi Preprocessed source stored into /var/tmp/portage/cinelerra-cvs-20061020/temp/ccEz1rp9.out file, please attach this to your bugreport. make[2]: *** [bcpan.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -fomit-frame-pointer -MT bcpixmap.lo -MD -MP -MF .deps/bcpixmap.Tpo -c bcpixmap.C -fPIC -DPIC -o .libs/bcpixmap.o make[2]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20061020/work/cinelerra-cvs-20061020/guicast' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20061020/work/cinelerra-cvs-20061020' make: *** [all] Error 2 !!! ERROR: media-video/cinelerra-cvs-20061020 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile cinelerra-cvs-20061020.ebuild, line 74: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.12.5 Last Sync: Fri, 03 Nov 2006 16:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib alsa apache2 apm arts bash-completion berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd exif firefox flac foomaticdb fortran gdbm gif gmedia gnome gpm gstreamer gtk gtk2 iconv imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg jpeg2k kde kernel_linux libg++ libwww linguas_en_GB mad matroska mikmod mmx mng motif mp3 mpeg ncurses nls nptl nptlonly offensive ogg opengl oss pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection sdl seamonkey session spell spl sse sse2 ssl tcl tcltk tcpd theora tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis win32codecs wmp wxwindows xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY OK, folks... anyone here able to reproduce this w/ gcc-4.1.1? All the bugs I can see are about 3.4.x (In reply to comment #50) > OK, folks... anyone here able to reproduce this w/ gcc-4.1.1? All the bugs I > can see are about 3.4.x > I approve having this bug on gcc-4.1.1-r1. Cinelerra-cvs-20061020. Did anyone make a patch for 20061020 version? Here is the screen: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=pentium3 -pipe -MT bcpan.lo -MD -MP -MF .deps/bcpan.Tpo -c bcpan.C -fPIC -DPIC -o .libs/bcpan.o bcpan.C: In static member function `static int BC_Pan::stick_to_values(float*, int, int*, int, int, int, float)': bcpan.C:437: error: unrecognizable insn: (insn 506 505 492 4 (set (reg:V4SF 21 xmm0 [85]) (and:V4SF (not:V4SF (mem:SF (plus:SI (reg/f:SI 6 bp) (const_int -16 [0xfffffff0])) [91 shortest+0 S4 A8])) (reg:V4SF 22 xmm1))) -1 (nil) (nil)) bcpan.C:437: internal compiler error: in extract_insn, at recog.c:2083 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=pentium3 -pipe -MT bcpbuffer.lo -MD -MP -MF .deps/bcpbuffer.Tpo -c bcpbuffer.C -fPIC -DPIC -o .libs/bcpbuffer.o if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=pentium3 -pipe -MT bcpixmap.lo -MD -MP -MF ".deps/bcpixmap.Tpo" \ -c -o bcpixmap.lo `test -f 'bcpixmap.C' || echo './'`bcpixmap.C; \ then mv -f ".deps/bcpixmap.Tpo" ".deps/bcpixmap.Plo"; \ else rm -f ".deps/bcpixmap.Tpo"; exit 1; \ fi Preprocessed source stored into /var/tmp/portage/cinelerra-cvs-20061020/temp/ccldp8Eh.out file, please attach this to your bugreport. make[2]: *** [bcpan.lo] Ошибка 1 make[2]: *** Ожидание завершения заданий... g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=pentium3 -pipe -MT bcpixmap.lo -MD -MP -MF .deps/bcpixmap.Tpo -c bcpixmap.C -fPIC -DPIC -o .libs/bcpixmap.o make[2]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20061020/work/cinelerra-cvs-20061020/guicast' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20061020/work/cinelerra-cvs-20061020' make: *** [all] Ошибка 2 !!! ERROR: media-video/cinelerra-cvs-20061020 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile cinelerra-cvs-20061020.ebuild, line 74: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/local/portage' I also tried versions 20060219 and 20060619, with and without patches, but the result is the same. I would really like to use this program. Please advise me any solution of this problem. emerge --info please The patch is the same for this snapshot, this part of the code did not change. (In reply to comment #52) > emerge --info please > > The patch is the same for this snapshot, this part of the code did not change. > It looks strange, but it worked out when I tried one more time. So now I enjoy the programm. Thanks for the patch! *** Bug 156776 has been marked as a duplicate of this bug. *** I'll add a check for gcc 4 in the next snapshot, pointing users to http://www.gentoo.org/doc/en/gcc-upgrading.xml New snapshot in cvs. This one dies if not compiled with >=gcc 4. Please comment there or reopen if this still occurs with gcc 4. It's ok. *** Bug 166389 has been marked as a duplicate of this bug. *** As you can see below, I am using GCC version 3.4.4 and cinelerra-cvs (20070122) compiles just fine. Yes, I edited the line where the ebuild checks for my gcc version. As I read through these comments. It seems that people need to strip their CFLAGS to defaults or to as little as possible instead of using optimized CFLAGS. Luckily, my CFLAGS worked unless it apply the anti-ICE patch. $ emerge --info Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r12 i686) ================================================================= System uname: 2.6.16-gentoo-r12 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.6.14 Timestamp of tree: Sat, 07 Apr 2007 20:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.12-r6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=pentium4 -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=i686 -mtune=pentium4 -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/" LANG="C" LC_ALL="C" LINGUAS="en_US en_GB" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/media-A/gentoo/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X alsa apache2 apm berkdb bitmap-fonts cli cracklib crypt cups dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 iconv imlib isdnlog jpeg kde libg++ libwww mad midi mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis x86 xml xorg xv zlib" ALSA_CARDS="all" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse vmmouse void joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en_GB" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="dummy fbdev i128 i810 nv r128 radeon tga v4l vesa vga via vmware sis" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Cinelerra CVS compiles and runs correctly using gcc 3.4.6 on x86_64 architecture. (as of cinelerra-cvs-20070607 at least) |