Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27704 - cinelerra-1.1.7 fails to compile some binaries with nasm-0.98.37
Summary: cinelerra-1.1.7 fails to compile some binaries with nasm-0.98.37
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-01 06:08 UTC by Brandy Westcott (RETIRED)
Modified: 2003-09-21 09:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brandy Westcott (RETIRED) gentoo-dev 2003-09-01 06:08:56 UTC
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"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-09-01 08:47:26 UTC
i dont have any problems
try turn down your CFLAGS
Comment 2 Brandy Westcott (RETIRED) gentoo-dev 2003-09-01 09:08:06 UTC
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 
Comment 3 Luca Barbato gentoo-dev 2003-09-01 09:17:13 UTC
seems so, who'll bug the nasm dev about that?
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-09-01 09:26:29 UTC
works here with newer nasm and
CFLAGS="-march=pentium3 -O3 -pipe"
Comment 5 Luca Barbato gentoo-dev 2003-09-02 05:22:09 UTC
Seems unrelated to cinelerra, anyway I pinned the nasm version, please someone with knowledge of nasm investigate on the issue.
Comment 6 SpanKY gentoo-dev 2003-09-21 09:33:54 UTC
msterret talked to the nasm devs already and .38 seems to fix up these issues

.37 has been removed from the tree