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"
Oops, I forgot to mention: this bug report relates to cinelerra-1.1.7
ok, time to fireup a looooong filter for cflags =)
closing
we don't support -fPIC in CFLAGS