Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189414 - sys-devel/gettext-0.16.1-r1 fails to compile with CFLAG -fast-mmath
Summary: sys-devel/gettext-0.16.1-r1 fails to compile with CFLAG -fast-mmath
Status: RESOLVED DUPLICATE of bug 142893
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2007-08-18 23:27 UTC by Akarki
Modified: 2007-08-18 23:32 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Akarki 2007-08-18 23:27:45 UTC
When clearing -fast-mmath from /etc/make.conf CFLAGS= then it compiles fine.
The whole system has been reemerged with -fastmath (except from openoffice) about 4-5 months ago, and all working fine! :)

Reproducible: Always

Steps to Reproduce:
1.install my make conf
2.emerge gettext

Actual Results:  
/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc   -O3 -march=pentium-m -mmmx -msse2 -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math    -o msgmerge msgmerge-msgmerge.o msgmerge-msgl-fsearch.o msgmerge-plural-count.o
i686-pc-linux-gnu-gcc -O3 -march=pentium-m -mmmx -msse2 -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math -o .libs/msgmerge msgmerge-msgmerge.o msgmerge-msgl-fsearch.o msgmerge-plural-count.o  ./.libs/ /var/tmp/portage/sys-devel/gettext-0.16.1-r1/work/gettext-0.16.1/gettext-tools/gnulib-lib/.libs/ -lc
msgmerge-msgl-fsearch.o: In function `message_fuzzy_index_search':
msgl-fsearch.c:(.text+0x15d): undefined reference to `ceil'
collect2: ld returned 1 exit status
make[4]: *** [msgmerge] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.16.1-r1/work/gettext-0.16.1/gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.16.1-r1/work/gettext-0.16.1/gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.16.1-r1/work/gettext-0.16.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.16.1-r1/work/gettext-0.16.1/gettext-tools'
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/gettext-0.16.1-r1 failed.
Call stack:, line 1632:   Called dyn_compile, line 983:   Called qa_call 'src_compile', line 44:   Called src_compile
  gettext-0.16.1-r1.ebuild, line 61:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-devel/gettext-0.16.1-r1/temp/build.log'.

Expected Results:  
it should compile with fast-math or the ebuild should filter this cflag!

 # emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686)
System uname: 2.6.21-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 18 Aug 2007 17:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
CFLAGS="-O3 -march=pentium-m -mmmx -msse2 -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math "
CONFIG_PROTECT="/etc /opt/vmware/workstation/lib/modules/binary /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium-m -mmmx -msse2 -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math "
FEATURES="autoaddcvs ccache distlocks metadata-transfer sandbox sfperms strict"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
USE="7zip X X509 a52 aac acl acpi administrator aio akode alsa amr ao apm arts audiofile avi bash-completion bdf berkdb bidi bitmap-fonts bluetooth bootsplash bzip2 cairo caps catalogs cdda cddb cdparanoia cdr chroot cli cracklib crypt cups curl dbus dell disk-partition divx divx4linux dlloader dmi dri dts dv dvd dvdcss dvdnav dvdr dvdread eap-tls emboss encode erandom extensions fam fbsplash ffmpeg firefox flac font-server fontconfig foomaticdb fortran fuse galago gdbm gif gimp gimpprint glibc-omitfp gmedia gmp gnutls gpm gstreamer gtk gtk2 hal hybrid iconv idea idn imagemagick imlib irda irmc isdnlog jbig jpeg jpeg2k kde kdepim l7filter lame ldap libdvdcss libdvdread libg++ libwww linuxthreads-tls lm_sensors logitech-mouse logrotate lzo mad matroska mbox md5sum midi mjpeg mmap mmx mmx2 mmxext mono mozcalendar mozilla moznoirc moznoroaming mozsvg mp2 mp3 mp4 mpeg mplayer mppe-mppc msn mudflap musepack musicbrainz nat ncur ncurses ndiswrapper network nls no-old-linux nojoystick nptl nptlonly nsplugin ogg oggvorbis old-crypt openal openct openexr opengl openldap openmp opensc oss pam pango parport pcmcia pcre pcsc-lite pdf pdflib pentium4 perl png portaudio ppds pppd python qt qt3 qt3support qt4 query-browser quicktime rc5 rdesktop readline real realmedia reflection rtc rtsp samba sane scanner sdl sdl-image seamonkey ses session shout skey skins skype slang smartcard snmp sound speex spell spl splugin sse sse2 ssl stream svg swat symlink sysfs syslog tcl tcltk tcpd theora threads thunderbird tiff tk truetype truetype-fonts type1-fonts ucs2 udev unicode urandom usb userlocales utempter v4l v4l2 vcd vidix vim-pager vim-syntax vim-with-x vorbis vorbis-psy wifi win32codecs winbind wmf wmp workbench wpa x264 x86 xcomposite xext xine xinetd xml xml2 xorg xosd xpm xprint xscreensaver xv xvid xvmc zlib zrtp" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse magictouch microtouch mutouch synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu" USERLAND="GNU" VIDEO_CARDS="fbdev radeon v4l vesa vga"
Comment 1 Dawid Węgliński (RETIRED) gentoo-dev 2007-08-18 23:32:40 UTC

*** This bug has been marked as a duplicate of bug 142893 ***