Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287159 - [4.4/ICE] net-libs/libmsn4.0_beta8 w/ -ftree-loop-distribution -floop-block
Summary: [4.4/ICE] net-libs/libmsn4.0_beta8 w/ -ftree-loop-distribution -floop-block
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR41562
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 20:57 UTC by Markus Kohls
Modified: 2009-11-08 22:48 UTC (History)
2 users (show)

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


Attachments
testcase (bug287159-min.ii,497 bytes, text/plain)
2009-10-03 22:11 UTC, Ryan Hill (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kohls 2009-09-30 20:57:37 UTC
libmsn4.0_beta8 triggers gcc compiler bug
CFLAGS="-pipe -O2 -march=athlon-xp -mtune=athlon-xp -findirect-inlining -ftree-switch-conversion -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -floop-block -ftracer"



Reproducible: Always

Steps to Reproduce:
1.compile libmsn4.0_beta8 with gcc 4.4.1
2.
3.

Actual Results:  
[ 85%] Building CXX object msn/CMakeFiles/msn.dir/libsiren/encoder.cpp.o                                                             
/var/tmp/portage/net-libs/libmsn-4.0_beta8/work/libmsn-4.0-beta8/msn/libsiren/encoder.cpp: In function 'int Siren7_EncodeFrame(stSirenEncoder*, unsigned char*, unsigned char*)':                                                                                         
/var/tmp/portage/net-libs/libmsn-4.0_beta8/work/libmsn-4.0-beta8/msn/libsiren/encoder.cpp:67: internal compiler error: Segmentation fault                                                                                                                                 
Please submit a full bug report,                                                                                                     
with preprocessed source if appropriate.                                                                                             
See <http://bugs.gentoo.org/> for instructions.                                                                                      
make[2]: *** [msn/CMakeFiles/msn.dir/libsiren/encoder.cpp.o] Error 1                                                                 
make[1]: *** [msn/CMakeFiles/msn.dir/all] Error 2                                                                                    
make: *** [all] Error 2                                                                                                              

Expected Results:  
finish compilation

Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-bfs211 i686)
=================================================================                                
System uname: Linux-2.6.31-bfs211-i686-AMD_Sempron-tm-_2600+-with-gentoo-1.12.11.1               
Timestamp of tree: Sat, 26 Sep 2009 14:30:01 +0000                                               
distcc 3.1 i686-pc-linux-gnu [disabled]                                                          
ccache version 2.4 [enabled]                                                                     
app-shells/bash:     3.2_p39                                                                     
dev-java/java-config: 1.3.7-r1, 2.1.8-r1                                                         
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1                                                   
dev-python/pycrypto: 2.0.1-r8                                                                    
dev-util/ccache:     2.4-r7                                                                      
dev-util/cmake:      2.6.4-r2                                                                    
sys-apps/baselayout: 1.12.11.1                                                                   
sys-apps/sandbox:    2.1                                                                         
sys-devel/autoconf:  2.13, 2.63-r1                                                               
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                            
sys-devel/binutils:  2.18-r3                                                                     
sys-devel/gcc-config: 1.4.1                                                                      
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon-xp -mtune=athlon-xp -findirect-inlining -ftree-switch-conversion -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -floop-block -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=athlon-xp -mtune=athlon-xp -findirect-inlining -ftree-switch-conversion -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -floop-block -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch prelink protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://pandemonium.tiscali.de/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac accessibility acl acpi akonadi alsa apache2 bash_completion berkdb bittorrent bluetooth branding bzip2 cairo captury cdaudio cdr cli consolekit cracklib crypt css cups curl cvs dbus dri dts dvd dvdr eds emboss encode eselect evo fam ffmpeg firefox flac fortran ftp gd gdbm geolocation gif gnome google-gadgets gpm gstreamer gtk gtk2 hal hbci iconv icq ipv6 isdnlog java javascript jpeg kde kdeenablefinal kontact ldap libnotify libwww lirc lm_sensors mad maildir mbox mikmod mime mmx modules mono mp3 mp3tunes mp4 mpeg msn mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia ofx ogg opengl openmp oscar otr pam pcre pdf perl php plasma png policykit ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection rtsp samba sdl semantic-desktop session shorten skype slang speex spell spl sqlite sqlite3 sse ssl startup-notification subversion svg sysfs tcpd theora threads thunar tiff tk truetype unicode usb v4l2 vnc vorbis webkit win32codecs wxwindows x264 x86 xcomposite xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="emu10k1 via82xx intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nouveau nv nvidia vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Luther (few) 2009-10-03 15:29:11 UTC
While a random collection of CFLAGS is usualy not supported by gentoo, it should still be reported to gcc upstream. I'll assign toolchain to hear their opinion.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-10-03 20:46:31 UTC
blech.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2009-10-03 22:11:50 UTC
Created attachment 205965 [details]
testcase
Comment 4 Andrew Savchenko gentoo-dev 2009-11-08 02:40:40 UTC
-floop-block is broken in gcc-4.4. It is fixed in gcc-4.5 and will NOT be backported to gcc-4.4.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41798 for details.
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2009-11-08 22:48:26 UTC
This issue still isn't fixed upstream, but since they won't be backporting anything to gcc-4.4, there is little point in keeping this open.  If its still an issue with gcc-4.5, I'll reopen it at that time.