Rawhide PPC64

Jerry James loganjerry at gmail.com
Thu Jan 15 02:40:11 UTC 2009


I'm still trying to debug my PPC64 problem with GCL on Rawhide.  I
figured out how to get around the SELinux problem, built the software
up to the point where it segfaults on the koji builder, installed gdb
in the mock root, ran mock --shell, and did this:

-------------------------------------------------------------------------------
mock-chroot> gdb raw_pre_gcl
GNU gdb (GDB) Fedora (6.8.50.20081214-1.fc11)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "ppc64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(no debugging symbols found)
(gdb) run /builddir/build/BUILD/gcl-2.6.8/unixport/ -libdir
/builddir/build/BUILD/gcl-2.6.8/ < foo
Starting program: /builddir/build/BUILD/gcl-2.6.8/unixport/raw_pre_gcl
/builddir/build/BUILD/gcl-2.6.8/unixport/ -libdir
/builddir/build/BUILD/gcl-2.6.8/ < foo
rpmdb: munmap: Invalid argument
GCL (GNU Common Lisp)  April 1994  262144 pages
Building symbol table for
/builddir/build/BUILD/gcl-2.6.8/unixport/raw_pre_gcl ..

Unrecoverable error: Segmentation violation..
Segmentation fault
mock-chroot>
-------------------------------------------------------------------------------

So I see a couple of things that concern me.  First, I don't know why
rpmdb is involved at all [1], but what's up with the "rpmdb: munmap:
Invalid argument" line?  Second, gdb segfaulted!  I can't diagnose a
GCL segfault with a segfaulting gdb.  Does anyone have a Rawhide PPC64
machine running (i.e., not just mock)?  If so, does gdb work there?

Footnotes:
[1] Is this so gdb can find the debuginfo?
-- 
Jerry James
http://loganjerry.googlepages.com/




More information about the fedora-devel-list mailing list