Summary: | Kpdf-3.5.0-r1 crashes when compiled with -Os | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James <jdorlack> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | rjenster |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
James
2005-12-07 18:38:56 UTC
Works fine here with -Os... maybe its gcc 3.4.4? must be local I have also experienced crashes in KPDF when compiled with -Os. Not all my pdfs caused it to crash, and those that did were not especially large. An example pdf file causing crashes is the "GNU Privacy Handbook" (the version created in 08/08/2000 and produced by pdfTex 13.c, but probably other versions as well). This kind of behavior is also reported in bugs 112854 and 115048 in KDE's bugzilla. IMHO, I think you should play it safe and filter out the "-Os" optimization for KPDF. glad to hear it wasnt local =) for me -O2 fixed everything maybe the ebuild should force -O2? im reopening this bug i can confirm this, everything works fine except pdf, kpdf/xpdf both crash on almost any pdf file Portage 2.1_pre1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-ge ntoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(TM) XP 2500+ Gentoo Base System version 1.12.0_pre11 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=athlon-xp -pipe" 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/gconf /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -pipe" DISTDIR="/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/" LINGUAS="de" PKGDIR="/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X alsa apm audiofile avi berkdb bitmap-fonts bzip2 cdr c rypt cups curl dvd eds emboss encode esd expat fam foomaticdb fortran gdbm gif g lut gmp gpm gstreamer gtk2 idn imagemagick imlib ipv6 jpeg kde lcms libg++ libww w mad mikmod mng motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis openal o pengl oss pam pcre pdflib perl png python qt quicktime readline sdl spell ssl tc pd tiff truetype truetype-fonts type1-fonts udev userlocales vorbis xml2 xmms xv zlib elibc_glibc kernel_linux linguas_de userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS Hi, while I do experience crahses with several pdfs on my desktop CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" the same files open fine on my laptop CFLAGS="-march=pentium-m -Os -pipe -fomit-frame-pointer" recompiling kpdf with '-O2 ' on the desktop does solves the problem. It seems to me that only certain combinations with '-Os' do crash kpdf. --> this is the same for both machines. Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, Enough evidence, thanks for your reports. :) |