Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 91825

Summary: CFLAGS="-fweb" prevents gst-plugins-ffmpeg-0.8.4 from compiling
Product: Gentoo Linux Reporter: Alvin A ONeal Jr <CoolAJ86>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alvin A ONeal Jr 2005-05-07 11:41:19 UTC
After unsetting all of my CFLAGS and then setting them again one-by-one, I found that the -fweb optimization prevents gst-plugins-ffmpeg-0.8.4 from compiling. I don't know much about gcc optimizations, but a more experienced user told me that -fweb was safe to use. I don't believe any other packages on my system have had trouble compiling with this optimization.


Reproducible: Always
Steps to Reproduce:
1. CFLAGS="-fweb" emerge totem
Actual Results:  
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libavcodec
-DHAVE_AV_CONFIG_H=1 -fomit-frame-pointer -msse -Os -march=i686 -mtune=athlon-xp
-pipe -fweb -fno-pie -fno-pie -fno-stack-protector -MT
libmmxsse_la-dsputil_mmx.lo -MD -MP -MF .deps/libmmxsse_la-dsputil_mmx.Tpo -c
dsputil_mmx.c  -fPIC -DPIC -o .libs/libmmxsse_la-dsputil_mmx.o
dsputil_mmx.c: In function `dsputil_init_mmx':
dsputil_mmx.c:3080: warning: assignment from incompatible pointer type
dsputil_mmx.c:3081: warning: assignment from incompatible pointer type
dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
dsputil_mmx.c:662: error: can't find a register in class `GENERAL_REGS' while
reloading `asm'


Expected Results:  
compiled

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  1 2005, 07:03:06)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=i686 -mtune=athlon-xp -pipe -falign-functions=4 -fweb
-D_FILE_OFFSET_BITS=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=i686 -mtune=athlon-xp -pipe -falign-functions=4 -fweb
-D_FILE_OFFSET_BITS=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg candy ccache digest distlocks
fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -z combreloc -Wl,--enable-new-dtags"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac accessibility acpi aim alsa apache2 artworkextra audiofile avi
bash-completion berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl
divx4linux dv dvd dvdr eds emboss encode exif fam flac flash foomaticdb fortran
ftp gcc gcj gd gdbm gif gimp gimp-print gnome gnomedb gnutls gphoto2 gpm
gstreamer gtk gtk2 gtkhtml hal hardened howl icq imagemagick imlib innodb jabber
java jpeg ldap libg++ libwww mad maildir mailwrapper mikmod mime ming mmx mmx2
mono motif mozilla mp3 mpeg msn mysql mythtv ncurses nls nntp nptl nptlonly
nvidia ogg oggvorbis openal opengl oscar oss pam pam-mysql pcre pda pdflib perl
php pic png ppds python quicktime readline samba scanner sdl spell sse ssl svga
tcltk tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb
vorbis wmf x86 xine xinerama xml xml2 xmms xprint xv xvid yahoo zlib
userland_GNU kernel_linux libc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-05-07 11:44:00 UTC

*** This bug has been marked as a duplicate of 91789 ***
Comment 2 Alvin A ONeal Jr 2005-05-07 11:49:01 UTC
For the record, I did search with "ALL ffmpeg fweb" before I posted this bug and nothing came up, sorry for the dupe.