Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109919 - fftw ebuild doesn't hardcode --enable-sse2 or --enable-sse
Summary: fftw ebuild doesn't hardcode --enable-sse2 or --enable-sse
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-20 06:32 UTC by Harold Anderson
Modified: 2006-01-15 06:32 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 Harold Anderson 2005-10-20 06:32:42 UTC
The fftw-3.0.1 ebuild should configure the package for amd64 with --enable-sse
or --enable-sse2, but it doesn't.
  

Reproducible: Always
Steps to Reproduce:
1.  emerge fftw
2.
3.

Actual Results:  
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --i
nfodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/v
ar/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --enable-shared --enable-
threads --enable-float --disable-altivec

Expected Results:  
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --i
nfodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/v
ar/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --enable-shared --enable-
threads --enable-float --disable-altivec  --enable-sse --enable-sse2

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.5-r2,
2.6.12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4400+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=""
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd dvdr eds
emacs emboss encode esd fam fftw foomaticdb fortran ftp gdbm gif gnome gpm
gstreamer gtk gtk2 gtkhtml gtl hal howl imlib ipv6 jpeg lm_sensors lzw lzw-tiff
mad mozilla mp3 mpeg ncurses nls opengl pam pdflib perl png python qt quicktime
readline samba sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb
userlocales xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-12-14 16:44:02 UTC
Just tried enabling both on my dual core amd64 system and it failed as shown  
below,  
  
if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  
-I. -I. -I..  -I../kernel   -march=k8 -O2 -pipe -pthread -msse -MT sse2-aux.lo  
-MD -MP -MF ".deps/sse2-aux.Tpo" \  
  -c -o sse2-aux.lo `test -f 'sse2-aux.c' || echo './'`sse2-aux.c; \  
then mv -f ".deps/sse2-aux.Tpo" ".deps/sse2-aux.Plo"; \  
else rm -f ".deps/sse2-aux.Tpo"; exit 1; \  
fi  
{standard input}: Assembler messages:  
{standard input}:81: Error: suffix or operands invalid for `push'  
{standard input}:83: Error: suffix or operands invalid for `pop'  
  
I take it this compiles for you? My emerge info is below, 
 
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r1, 
2.6.14-gentoo-r3 x86_64) 
================================================================= 
System uname: 2.6.14-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 
3800+ 
Gentoo Base System version 1.12.0_pre11 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [disabled] 
dev-lang/python:     2.3.5-r2, 2.4.2 
sys-apps/sandbox:    1.2.17 
sys-devel/autoconf:  2.13, 2.59-r7 
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.15.92.0.2-r2, 2.16.1-r1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O2 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=k8 -O2 -pipe" 
DISTDIR="/mnt/gentoo/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg collision-protect cvs digest distlocks 
multilib-strict sandbox sfperms sign" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
LINGUAS="en_GB" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/mnt/gentoo/var/tmp/portage" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X aac aalib aim alsa apache2 arts audiofile avi bash-completion 
berkdb bitmap-fonts blas bluetooth bonobo bootsplash bzip2 bzlib canvas 
cdparanoia cdr crypt cscope cups curl dbus directfb divx4linux dlloader doc dvd 
dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fbcon ffmpeg 
fftw flac flash foomaticdb fortran gb gd gdbm ggi gif gimpprint ginac glut gmp 
gnome gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal icq idn 
imagemagick imap imlib innodb ipv6 jabber java jikes joystick jpeg jpeg2k junit 
kde kerberos lcms ldap libedit libg++ libwww lm_sensors lua lzw lzw-tiff mad 
mcal mhash ming mng motif mozsvg mp3 mpeg mpi msn mysql ncurses netcdf nls nptl 
nvidia octave odbc offensive ogg oggvorbis openal openexr opengl oscar pam pcre 
pdflib perl plotutils png postgres povray ppds python qt quicktime readline 
recode rtc ruby samba sasl scanner sdl slp snmp spell sqlite ssl svg tcltk tcpd 
tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vhosts 
videos vorbis wmf wxwindows xine xinerama xml xml2 xmms xpm xscreensaver xv 
xvid yahoo zeroconf zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS 
Comment 2 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-01-15 06:32:06 UTC
No response, failed to compile for me so I would assume that it is possibly using x86 only asm... Please reopen if you can successfully compile on amd64 using sse and sse2.