Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67819 - libtiff compilation dies with -ffast-math
Summary: libtiff compilation dies with -ffast-math
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-16 15:26 UTC by Patrick McLean
Modified: 2004-10-26 14:41 UTC (History)
0 users

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 Patrick McLean gentoo-dev 2004-10-16 15:26:01 UTC
Compilation of media-libs/tiff-3.6.1-r2 dies with assembler errors when the -ffast-math flag is in CFLAGS, probably should add a "filter-flags -ffast-math" to the ebuild (doing that made it compile).

Reproducible: Always
Steps to Reproduce:





Portage 2.0.51_rc9 (default-linux/x86/2004.3, gcc-3.4.2,
glibc-2.3.4.20041006-r0, 2.6.9-rc4 i686)
=================================================================
System uname: 2.6.9-rc4 i686
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-2 -fomit-frame-pointer -ffast-math -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6-2 -fomit-frame-pointer -ffast-math -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo/ http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bitmap-fonts crypt cups encode f77
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad matroska
mikmod mng motif mpeg ncurses nls no-old-linux noplugin nowxgtk1 nptl nptlonly
offensive oggvorbis opengl pam pdflib perl png python qt quicktime readline rtc
sdl shared slang spell ssl svg svga tcpd tga tiff truetype x86 xml2 xmms xprint
xv xvid zlib"
Comment 1 Karol Wojtaszek (RETIRED) gentoo-dev 2004-10-20 12:21:10 UTC
It compiles fine for me with/without -ffast-math.

Portage 2.0.51_rc10 (default-linux/amd64/gcc34-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.8-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -DNDEBUG -DG_DISABLE_ASSERT -s -ffast-math -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=x86-64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autodigest ccache cvs distlocks fixpackages sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 apm avi berkdb bitmap-fonts bzlib cdr crypt cups dga encode esd f77 fam foomaticdb ftp gdbm gif gmp gnome gpm gtk gtk2 imagemagick imap imlib ipv6 jpeg libg++ libwww maildir mikmod mime mng motif mpeg multilib ncurses nls nptl oggvorbis openal opengl oss pam pdflib perl png posix python quicktime readline samba sasl sdl slang spell ssl tcpd tiff truetype wxwindows xml2 xmms xpm xprint xsl xv zlib video_cards_radeon linguas_pl"
Comment 2 Karol Wojtaszek (RETIRED) gentoo-dev 2004-10-26 14:41:29 UTC
I haven't expirienced that kind of problem. Closing with WORKSFORME.