Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27396 - Cinelerra fails to compile binaries with certain CFLAGS
Summary: Cinelerra fails to compile binaries with certain CFLAGS
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-08-27 00:23 UTC by Brandy Westcott (RETIRED)
Modified: 2003-09-01 09:26 UTC (History)
6 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-08-27 00:23:50 UTC
Compiling cinelerra with certain little-used CFLAGS causes the build to 
fail in various places. The compile does continue however, but certain 
binaries are not installed. 
 
-fPIC causes the the compile to show many errors of the form: 
 
	can't find a register in class `BREG' while reloading `asm' 
 
The result is the mpeg3dump, mpeg3cat, mpeg3toc, mpexlo and 
cinelerra executables are neither built nor installed. 
 
-fforce-addr causes the compile to show errors of the form: 
 
	`asm' operand requires impossible reload 
 
This results in the cinelerra executable not being built and installed. 
 
Note that in all cases the guicast thread.C file compiles ok, 
so this does not seem to be the NPTL issue discussed in 
http://bugs.gentoo.org/show_bug.cgi?id=26795 

Reproducible: Always
Steps to Reproduce:
 



Portage 2.0.49-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz 
ccache version 2.2 [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O3 -pipe -fPIC" 
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 -O3 -pipe -fPIC" 
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 Brandy Westcott (RETIRED) gentoo-dev 2003-08-27 00:28:09 UTC
Oops, I forgot to mention: this bug report relates to cinelerra-1.1.7 
Comment 2 Luca Barbato gentoo-dev 2003-08-28 15:10:37 UTC
ok, time to fireup a looooong filter for cflags =)
Comment 3 Luca Barbato gentoo-dev 2003-08-28 20:26:50 UTC
closing 
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-09-01 09:26:07 UTC
we don't support -fPIC in CFLAGS