xpdf segfaults on most pdfs i try to open on my ppc. i've tried unmerging lesstif, unmerging xpdf, remerging openmotif, and merging xpdf, but to no avail. i've also tried CFLAGS="": same thing. some very simple pdfs (like from pdftex) work fine, but 90% cause a crash. this is on 2.02 (the only version in portage) Reproducible: Always Steps to Reproduce: url of example pdf: http://ecademy.agnesscott.edu/~lriddle/series/rearrang.pdf selene:~$ emerge info Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.1, glibc-2.2.5-r4,2.3.1-r4) ================================================================= System uname: 2.4.20-ppc-r2 ppc GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/var/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="oss dvd xv jpeg nls mitshm gif sdl png truetype ppc gdbm berkdb slang readline tetex aalib java mysql gpm tcpd pam libwww ssl perl python esd imlib oggvorbis motif opengl mozilla X gtk gtk2 -gnome -alsa -kde -qt" COMPILER="gcc3" CHOST="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char" ACCEPT_KEYWORDS="ppc" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync3.us.gentoo.org/gentoo-portage" FEATURES="ccache sandbox userpriv usersandbox"
tried your pdf here everything is fine, could you strace or catchsegv it please?
that pdf works just fine for me. i'm using: CFLAGS="-O3 -pipe -mcpu=750"
Just another "works for me" Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.1, glibc-2.3.1-r4) System uname: 2.4.19-r6 ppc CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char"
here is the strace. sorry i didn't include it originaly. i have at one friend who i (think) is experiencing the same trouble, but he's been out of contact for the last few days, so i've been unable to verify. i'll see if i can get him to post here.
Created attachment 11230 [details] strace of "xpdf rearrang.pdf"
call it a wild guess, but could you try to remerge freetype ?
remerged freetype -- same problem.
I'm the friend Steven mentioned. It's totally broken on my (ppc) system too. My strace isn't identical, but it looks a lot like his. COMPILER="gcc3" CHOST="powerpc-unknown-linux-gnu" CFLAGS=" -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring -fsigned-char"CXXFLAGS=" -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring -fsigned-char" ACCEPT_KEYWORDS="ppc ~ppc"
ok, now there's not much left waht it could be, beside the stuff you already recompiled there's only xfree, gcc, glibc and t1lib, maybe it's t1lib, or maybe your ghostscript is messed up, but we realy can't reproduce your segfaults.
recompiling t1lib seems to have done the trick. if justin can replicate then i guess the problem is solved. thanks for your help.
That did the trick for me too.
heh, if it wasn't t1lib i'd realy be lost with no clues left ;)