With nasm-0.98.37 installed cinelerra does not build the mpeg2enc and cinelerra binaries. Whilst compiling mpeg2enc the following error is encountered: nasm -f elf dist2_mmx.s -o i686/dist2_mmx.o make[2]: *** [i686/dist2_mmx.o] Segmentation fault make[2]: *** Deleting file `i686/dist2_mmx.o' make[2]: Leaving directory `/var/tmp/portage/cinelerra-1.1.7/work/cinelerra-1.1.7/mpeg2enc' Without the mpeg2enc.a file being built, neither can the cinelerra binary: g++ -o i686/cinelerra `cat i686/objs` g++: ../mpeg2enc/i686/mpeg2enc.a: No such file or directory make[2]: *** [i686/cinelerra] Error 1 Downgrading nasm-0.98.37 to nasm-0.98.36 allows cinelerra-1.1.7 to compile ok. Reproducible: Always Steps to Reproduce: Portage 2.0.49-r2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg gnome libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga java X sdl tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl 3dfx cdr doc dvd sse tcltk tetex -3dnow"
i dont have any problems try turn down your CFLAGS
Changing CFLAGS doesn't help. I had managed to successfully emerge cinelerra-1.1.7 after determining which CFLAGS would cause some binaries not to be built (see Bug #27396) I noticed this error after upgrading and testing nasm-0.98.37. The error is also manually reproducable; in /var/tmp/portage/cinelerra-1.1.7/work/cinelerra-1.1.7/mpeg2enc : # nasm -f elf dist2_mmx.s -o i686/dist2_mmx.o Segmentation fault # This may be an upstream issue with nasm-0.98.37
seems so, who'll bug the nasm dev about that?
works here with newer nasm and CFLAGS="-march=pentium3 -O3 -pipe"
Seems unrelated to cinelerra, anyway I pinned the nasm version, please someone with knowledge of nasm investigate on the issue.
msterret talked to the nasm devs already and .38 seems to fix up these issues .37 has been removed from the tree