Summary: | korganizer component of kdepim does not behave correctly with certain CFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wilbur Pan <wilburpan> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | meyerm, scy-bugs-gentoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://bugs.kde.org/show_bug.cgi?id=73718 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Wilbur Pan
2004-02-12 07:03:48 UTC
I use -march=pentium4 -O3 -fomit-frame-pointer Anything more aggressive is use at your own risk. Here's my experience with emerging kdepim-3.2.0-r2 using different sets of CFLAGS: CFLAGS="-march=pentium3 -O2 -pipe" -- works as expected. This is the same setting that iamlarryboy uses for his KDE-cvs builds. The following CFLAGS give me the same display error with korganizer: CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -s" CFLAGS="-march=pentium3 -Os -fomit-frame-pointer -fforce-mem -fforce-addr -s" CFLAGS="-march=pentium3 -Os -pipe" CFLAGS="-march=pentium3 -Os -fomit-frame-pointer" CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer" It looks like kdepim really does not like -Os. I'm kind of surprised that "-O2 -fomit-frame-pointer" didn't work, since "-O3 -fomit-frame-pointer" seems to work for caleb. I did build all of the other components of KDE-3.2.0 with fairly aggressive CFLAGS: CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -s" and have not seen any problems so far. Perhaps KDE needs some filters in the ebuilds to filter out CFLAGS, like OpenOffice does? Probably more data needs to be collected. At the very least, it looks like the kdepim ebuild should filter out -Os. Same problem here. Compiled KDEPIM with "-Os -mcpu=i686 -fomit-frame-pointer -pipe". *** Bug 57944 has been marked as a duplicate of this bug. *** Is this still the same for kde-3.3.x? I haven't tried out KDE 3.3 yet. My system died on me a while back and I took the opportunity to try out Gnome, so my laptop doesn't have KDE 3.3 on it now. Although it should be fairly easy to test. Set your CFLAGS to include "-Os", emerge kdepim, and see what happens. I tried, and everything worked fine. Please reopen if you can reproduce it again. Please reopen. It's still alive. Tested with kde-base/korganizer-3.5.2. CFLAGS with bug: -Os -march=i686 -pipe -fomit-frame-pointer CFLAGS without bug: -O2 -march=i686 -pipe -fomit-frame-pointer emerge --info: Portage 2.1_rc1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-suspend2-r5 i686) ================================================================= System uname: 2.6.16-suspend2-r5 i686 Genuine Intel(R) CPU L2400 @ 1.66GHz Gentoo Base System version 1.12.0_pre19 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LINGUAS="de" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa apache2 apm arts avi berkdb bitmap-fonts bluetooth bzip2 cli cpudetection crypt cups dga dri dvd dvdread eds emboss encode esd exif firefox foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 i8x0 imlib ipod ipv6 irmc isdnlog jpeg kde kdeenablefinal kipi libcaca libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg mplayer musicbrainz ncurses nls nptl nptlonly offensive ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline real reflection rtc samba sdl session spell spl sqlite sse ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userlocales visualization vorbis win32codecs xinerama xml xorg xscreensaver xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_de userland_GNU video_cards_i810 video_cards_nv video_cards_radeon video_cards_vesa video_cards_via" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |