Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34261 - openssl-0.9.7c-r1 blowfish tests fail at install time when compiled with -freduce-all-givs in CFLAGS/CXXFLAGS
Summary: openssl-0.9.7c-r1 blowfish tests fail at install time when compiled with -fre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-24 08:03 UTC by scott
Modified: 2004-01-13 00:45 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 scott 2003-11-24 08:03:56 UTC
If -freduce-all-givs exists in CFLAGS/CXXFLAGS the openssl package will compile
fine, but during the testing phase of the install it will find inconsistencies
with blowfish.

expected FOO
got BAR

Stuff like that.

Doing an emerge with CFLAGS/CXXFLAGS leaving out the -freduce-all-givs produced
a successful emerge.

~x86, gcc-3.3.2-r2, binutils-2.14.90.0.7-r3, glibc-2.3.2-r9 nptl,
development-sources-2.6.0_beta9

It looks like just making the ebuild script drop -freduce-all-givs would be a
good fix.

Reproducible: Always
Steps to Reproduce:
1. specify -freduce-all-givs in CFLAGS/CXXFLAGS
2. emerge openssl

Actual Results:  
Install tests fail for blowfish

Expected Results:  
Install tests should have passed.  The package should have merged successfully

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test9-sfk)
=================================================================
System uname: 2.6.0-test9-sfk i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -ffast-math -freduce-all-givs
-mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -ffast-math -freduce-all-givs
-mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.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.gentoo.org/gentoo-portage"
USE="x86 avi crypt encode foomaticdb gif imlib jpeg libg++ libwww mad mikmod
mpeg ncurses pdflib png qt quicktime sdl spell truetype xml2 xmms xv zlib alsa
gdbm berkdb slang readline svga java X gpm tcpd pam ssl perl python oggvorbis
gtk opengl dga faad ffmpeg gd gtk2 icc icc-pgo imlib2 jikes mmx mozilla mpi nptl
pic samba sse threads tiff wmf Xaw3d xml -oss -apm -arts -cups -kde -gnome
-motif -nls"
Comment 1 Robert Moss (RETIRED) gentoo-dev 2003-12-07 22:55:41 UTC
I can confirm this problem. Output from emerge info:

Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-unavailable, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -msse -mmmx -m3dnow -momit-leaf-frame-pointer -fomit-frame-pointer -funroll-loops -ftracer -ffast-math -fprefetch-loop-arrays -freduce-all-givs -finline-limit=600 -mfpmath=387 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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/env.d"
CXXFLAGS="-O3 -march=athlon-xp -msse -mmmx -m3dnow -momit-leaf-frame-pointer -fomit-frame-pointer -funroll-loops -ftracer -ffast-math -fprefetch-loop-arrays -freduce-all-givs -finline-limit=600 -mfpmath=387 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://mirror.ac.uk/sites/www.ibiblio.org/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aalib acpi alsa apache2 avi bonobo cdr crypt cups dga dvd encode esd ethereal faad foomatic gdbm gif gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml imap imlib innodb ipv6 jpeg ldap memlimit mikmod mmx mozilla moznocompose moznoirc moznomail mozsvg mpeg mysql ncurses nls nptl oav odbc ofx oggvorbis opengl pam pda pdflib png ppds quicktime readline samba sasl sdl slang slp spell sse ssl svga tiff truetype usb vim-with-x wavelan wmf xml xml2 xmms xv xvid zlib"
 
The programme compiles, however, if -freduce-all-givs is removed from CFLAGS.
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2004-01-13 00:45:50 UTC
Filtering -freduce-all-givs now in CVS