Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131192 - ssmtp-2.61 works incorrect when built with -O3, and more strange with -funroll-loops
Summary: ssmtp-2.61 works incorrect when built with -O3, and more strange with -funrol...
Status: RESOLVED DUPLICATE of bug 127592
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-25 01:58 UTC by Michael Haubenwallner (RETIRED)
Modified: 2006-05-13 21:32 UTC (History)
0 users

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


Attachments
received mail from working ssmtp built with '-O2 -fomit-frame-pointer' (ssmtp-works,687 bytes, text/plain)
2006-04-25 02:02 UTC, Michael Haubenwallner (RETIRED)
Details
received mail from not working ssmtp built with '-O3 -fomit-frame-pointer' (ssmtp-fails-O3,678 bytes, text/plain)
2006-04-25 02:03 UTC, Michael Haubenwallner (RETIRED)
Details
received mail from not working ssmtp built with '-O3 -funroll-loops' (ssmtp-fails-O3-funroll-loops,977 bytes, text/plain)
2006-04-25 02:04 UTC, Michael Haubenwallner (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Haubenwallner (RETIRED) gentoo-dev 2006-04-25 01:58:09 UTC
When having ssmtp-2.61 built with '-O3', the mail sent contains strange headers, such as a missing 'From' part and others.

It is more strange when built with '-O3 -funroll-loops'.

But it works with '-O2 -fomit-frame-pointer'.

Attachments follow.

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://localhost/gentoo http://sapc154/gentoo http://mirrors.twobit.net/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.inode.at ftp://gentoo.inode.at/source http://www.fhh.opensource-mirror.de/gentoo.org ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/junk/gentoo"
PORTDIR="/usr/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="x86 X alsa apache2 apm audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdr cli crypt cups curl dga divx4linux dri eds emboss encode esd exif expat fam foomaticdb fortran gd gdbm gif glut glx gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib isdnlog java jpeg junit kerberos lcms ldap libg++ libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls oci8 ogg oggvorbis opengl oracle oss pam pcre pdflib perl png pppd python qt quicktime readline reflection samba sdl session snmp spell spl ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2006-04-25 02:02:29 UTC
Created attachment 85431 [details]
received mail from working ssmtp built with '-O2 -fomit-frame-pointer'
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2006-04-25 02:03:45 UTC
Created attachment 85432 [details]
received mail from not working ssmtp built with '-O3 -fomit-frame-pointer'
Comment 3 Michael Haubenwallner (RETIRED) gentoo-dev 2006-04-25 02:04:36 UTC
Created attachment 85433 [details]
received mail from not working ssmtp built with '-O3 -funroll-loops'
Comment 4 Michael Haubenwallner (RETIRED) gentoo-dev 2006-04-25 02:06:12 UTC
Comment on attachment 85431 [details]
received mail from working ssmtp built with '-O2 -fomit-frame-pointer'

mail was sent using:
mail -s 'with -O2 and -fomit-frame-pointer' michael.haubenwallner@salomon.at </dev/null
Comment 5 Michael Haubenwallner (RETIRED) gentoo-dev 2006-04-25 02:07:07 UTC
Comment on attachment 85432 [details]
received mail from not working ssmtp built with '-O3 -fomit-frame-pointer'

mail was sent using:
mail -s 'with -O3 and -fomit-frame-pointer' michael.haubenwallner@salomon.at </dev/null
Comment 6 Michael Haubenwallner (RETIRED) gentoo-dev 2006-04-25 02:07:29 UTC
Comment on attachment 85433 [details]
received mail from not working ssmtp built with '-O3 -funroll-loops'

mail was sent using:
mail -s 'with -O3 and -funroll-loops' michael.haubenwallner@salomon.at </dev/null
Comment 7 Tuan Van (RETIRED) gentoo-dev 2006-05-13 21:32:53 UTC
I believe this is fixed in bug 127592 .

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