Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112686 - media-video/gephex-0.4.3 does not compile if -fforce-addr is in CFLAG
Summary: media-video/gephex-0.4.3 does not compile if -fforce-addr is in CFLAG
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 03:44 UTC by Simone Piccinini
Modified: 2007-03-27 17:58 UTC (History)
2 users (show)

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


Attachments
simple solution (gephex-0.4.3.ebuild.diff,604 bytes, patch)
2005-11-16 04:14 UTC, Simone Piccinini
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Piccinini 2005-11-16 03:44:08 UTC
-ffast-math should be filtered.

Reproducible: Always
Steps to Reproduce:
1.add -ffast-math in CFLAG
2.emerge gephex
3.

Actual Results:  
gcc -O3 -g -Wall -O2 -march=pentium4 -momit-leaf-frame-pointer -pipe
-fforce-addr -falign-functions=32 -fprefetch-loop-arrays -fomit-frame-pointer
-ffast-math -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
i386/dsputil_mmx.c: In function `dsputil_init_mmx':
i386/dsputil_mmx.c:3079: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3080: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
i386/dsputil_mmx.c:662: error: can't find a register in class `GENERAL_REGS'
while reloading `asm'


Expected Results:  
gephex emerged

Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -momit-leaf-frame-pointer -pipe -fforce-addr
-falign-functions=32 -fprefetch-loop-arrays -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -momit-leaf-frame-pointer -pipe -fforce-addr
-falign-functions=32 -fprefetch-loop-arrays -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
ftp://gentoo.inode.at/source/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi bash-completion berkdb
bitmap-fonts bzip2 cdb cddb cdparanoia cdr crypt cups curl divx4linux dvd eds
emboss encode ethereal exif expat fam ffmpeg fftw firefox flac foomaticdb
fortran gd gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile idn
imagemagick imap imlib ipv6 jack java jpeg junit kde lcms ldap libg++ libwww
lm_sensors mad maildir matroska mhash mikmod mjpeg mmap mmx mmx2 mmxext mng mp3
mpeg musicbrainz mysql ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib
perl png python qt readline samba sdl slang spell sse sse2 ssl svg svga tcltk
tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine
xml2 xmms xvid zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_AL
Comment 1 Simone Piccinini 2005-11-16 04:14:36 UTC
Created attachment 72993 [details, diff]
simple solution
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2007-03-27 15:24:04 UTC
any one is gonna merge the fix to portage ?

No ebuild update for >1y , thats getting long. Are maints still alive ?
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-03-27 17:58:34 UTC
Simply don't use such flags as -fforce-addr or -ffast-math in CFLAGS since they are known to cause breakage. We cant or wont start filtering all ricerflags..