Gentoo Archives: gentoo-ppc-user

From: "David Bélanger" <dbelan2@×××××××××.ca>
To: gentoo-ppc-user@l.g.o
Subject: [gentoo-ppc-user] ghostscript segfault...
Date: Tue, 08 Jun 2004 20:05:11
Message-Id: 20040608200507.GB8466@pinto.cs.mcgill.ca
1 Hi,
2
3 gv/xdvi do not work with postscript files...
4
5 Simply running gs and it segfaults:
6 Program received signal SIGSEGV, Segmentation fault.
7 0x100b4d24 in gs_gc_reclaim ()
8 (gdb) bt
9 #0 0x100b4d24 in gs_gc_reclaim ()
10 #1 0x1011008c in gs_image2_t_init ()
11 #2 0x10089198 in array_indexed_param_list_read ()
12 #3 0x1008507c in gs_interpret ()
13 #4 0x1007904c in gs_push_boolean ()
14 #5 0x1007ac9c in gs_main_init2 ()
15 #6 0x1007d330 in gs_main_init_with_args ()
16 #7 0x1002844c in main ()
17 (gdb)
18
19 I tried recompiling ghostscript a few time with different CFLAGS (-O2
20 and -fno-strict-aliasing) with the stable gcc 3.3 as well as gcc 3.4 without
21 success. With gcc-3.4 it segfaults in some other function.
22
23 I run Gentoo on my x86 box, testing ~x86 version without any problem.
24 Is Gentoo more unstable on ppc or I am doing something wrong? Any
25 suggestion on how to get it stable on my ppc would be appreciated.
26
27 Thanks in advance for your help,
28 David
29
30 My emerge info:
31 Portage 2.0.50-r7 (default-ppc-2004.1, gcc-3.3.3,
32 glibc-2.3.3.20040420-r0, 2.6.5
33 -gentoo-r1)
34 =================================================================
35 System uname: 2.6.5-gentoo-r1 ppc 750FX
36 Gentoo Base System version 1.4.16
37 ccache version 2.2 [enabled]
38 Autoconf: sys-devel/autoconf-2.59-r4
39 Automake: sys-devel/automake-1.8.3
40 ACCEPT_KEYWORDS="ppc"
41 AUTOCLEAN="yes"
42 CFLAGS="-O2 -mcpu=750 -pipe"
43 CHOST="powerpc-unknown-linux-gnu"
44 COMPILER="gcc3"
45 CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
46 /usr/kde/3/s
47 hare/config /usr/share/config /usr/share/texmf/dvipdfm/config/
48 /usr/share/texmf/
49 dvips/config/ /usr/share/texmf/tex/generic/config/
50 /usr/share/texmf/tex/platex/c
51 onfig/ /usr/share/texmf/xdvi/ /var/qmail/control"
52 CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
53 CXXFLAGS="-O2 -mcpu=750 -pipe"
54 DISTDIR="/usr/portage/distfiles"
55 FEATURES="buildpkg ccache"
56 GENTOO_MIRRORS="http://gentoo.oregonstate.edu
57 http://www.ibiblio.org/pub/Linux/d
58 istributions/gentoo"
59 MAKEOPTS="-j2"
60 PKGDIR="/usr/portage/packages"
61 PORTAGE_TMPDIR="/var/tmp"
62 PORTDIR="/usr/portage"
63 PORTDIR_OVERLAY=""
64 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
65 USE="X berkdb cups dvd emacs esd foomaticdb gdbm gif gnome gnome-libs
66 gpm gtk gt
67 k2 imlib jpeg kde libwww mitshm motif mozilla nls oggvorbis opengl oss
68 pam perl
69 png ppc python qt readline sdl slang ssl tcltk tcpd tetex truetype xv"
70
71 bash-2.05b#
72
73 ---
74
75 David Bélanger
76 Graduate Student
77 School of Computer Science
78 McGill University
79 Office: MC226
80
81 Web page: http://www.cs.mcgill.ca/~dbelan2/
82 Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt
83
84
85 --
86 gentoo-ppc-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-ppc-user] ghostscript segfault... Marko Vallius <markvall@×××.fi>