Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131457 - media-gfx/kphotoalbum with use=exif needs gcc 3.3.6
Summary: media-gfx/kphotoalbum with use=exif needs gcc 3.3.6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 07:43 UTC by rob miller
Modified: 2006-04-27 09:50 UTC (History)
1 user (show)

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 rob miller 2006-04-27 07:43:49 UTC
[in my hands] when compiled using gcc 3.4.5 and the exif use flag, kphotoalbum crashes with an invalid pointer.  it runs ok if compiled with 3.3.6.  the dependency exiv2 library also needs to be compiled with 3.3.6 to avoid the crash, and the optional kipi-plugins won't compile with 3.4.5 (but will with 3.3.6)

alpha ~ # emerge --info
Portage 2.1_pre9-r4 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.4-r1, 2.6.15-gentoo-r1alpha-rtm i686)
=================================================================
System uname: 2.6.15-gentoo-r1alpha-rtm i686 AMD Athlon(tm)
Gentoo Base System version 1.6.14
dev-lang/python:     2.2.3-r5, 2.3.5, 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.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon -funroll-loops -pipe -m32"
CHOST="i686-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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon -funroll-loops -pipe -m32"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://ftp.ntua.gr/pub/linux/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 X Xaw3d acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdparanoia cdr cli crypt cups doc dri dvd eds emacs emboss encode esd exif f77 fbcon foomaticdb fortran gcj gdbm gif gimp gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml imlib ipv6 isdnlog java jikes jpeg kde kerberos lcms libg++ libwww lzw-tiff mad mbox mikmod mmx mmx2 motif mozilla mp3 mpeg mssql ncurses nls nptl nptlonly odbc ogg oggvorbis opengl oss pam pcre pda pdflib perl perlsuid plotutils png postgres ppds pppd python qt quicktime readline real reflection samba scanner sdl session slang snmp softmmu spell spl sqlite sse sse2 ssl svg svga tcpd tiff truetype truetype-fonts trusted type1-fonts usb vorbis win32codecs wmf xinerama xml xml2 xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2006-04-27 09:04:16 UTC
> CFLAGS="-O3 -march=athlon -funroll-loops -pipe -m32"

Don't use insane CFLAGS, change that to smthing like CFLAGS="-O2 -pipe -march=athlon" instead. This bug just can't be taken seriously before.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2006-04-27 09:06:34 UTC
Also, if your -march is athlon.. why do you have USE="sse sse2" enabled? Athlon doesn't support sse or sse2. Invalid instructions.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-27 09:50:18 UTC
No, you have all C++ libs to rebuild after updating from gcc 3.3 to 3.4.