From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59604 invoked by alias); 9 Oct 2015 21:56:09 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 59594 invoked by uid 89); 9 Oct 2015 21:56:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=BAYES_20,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mail1.thewrittenword.com Received: from mail1.thewrittenword.com (HELO mail1.thewrittenword.com) (50.194.72.151) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 09 Oct 2015 21:56:07 +0000 Received: from mail2.il.thewrittenword.com (emma-internal-gw.il.thewrittenword.com [192.168.13.25]) by mail1.thewrittenword.com (Postfix) with ESMTP id 2257F5CBD for ; Fri, 9 Oct 2015 22:47:17 +0000 (UTC) Received: from pom (danger.il.thewrittenword.com [10.191.57.254]) by mail2.il.thewrittenword.com (Postfix) with ESMTP id 3DC64AB6 for ; Fri, 9 Oct 2015 21:56:06 +0000 (UTC) Received: by pom (Postfix, from userid 1000) id 4DA711C60411; Fri, 9 Oct 2015 16:56:03 -0500 (CDT) Date: Fri, 09 Oct 2015 21:56:00 -0000 From: Albert Chin To: gdb@sourceware.org Subject: Building GDB 7.10 with Python support Message-ID: <20151009215602.GA15880@thewrittenword.com> Reply-To: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00040.txt.bz2 I built a custom version of Python 2.7.5 for RHEL 6/x86-64 and am trying to use it to build gdb-7.10. I can build gdb-7.10 but it has problems: $ gtar Jxf gdb-7.10.tar.xz $ cd gdb-7.10 $ PATH=/opt/TWWfsw/python27/bin:$PATH \ CFLAGS="-I/opt/TWWfsw/python27/lib/python2.7/config" \ LDFLAGS="-I/opt/TWWfsw/python27/lib/python2.7/config \ -Wl,-rpath,/opt/TWWfsw/python27/lib/python2.7/config" \ ./configure --prefix=/tmp/gdb $ PATH=/opt/TWWfsw/python27/bin:$PATH \ CFLAGS="-I/opt/TWWfsw/python27/lib/python2.7/config" \ LDFLAGS="-I/opt/TWWfsw/python27/lib/python2.7/config \ -Wl,-rpath,/opt/TWWfsw/python27/lib/python2.7/config" \ make $ PATH=/opt/TWWfsw/python27/bin:$PATH \ CFLAGS="-I/opt/TWWfsw/python27/lib/python2.7/config" \ LDFLAGS="-I/opt/TWWfsw/python27/lib/python2.7/config \ -Wl,-rpath,/opt/TWWfsw/python27/lib/python2.7/config" \ make install $ ldd /tmp/gdb/bin/gdb linux-vdso.so.1 => (0x00007fffa7fe4000) libdl.so.2 => /lib64/libdl.so.2 (0x00000030e3000000) libncurses.so.5 => /lib64/libncurses.so.5 (0x0000003fb2200000) libm.so.6 => /lib64/libm.so.6 (0x00000030e2c00000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00000030e3400000) libutil.so.1 => /lib64/libutil.so.1 (0x00000030f2800000) libpython2.7.so => /opt/TWWfsw/python27/lib/python2.7/config/libpython2.7.so (0x00007feaec72d000) libexpat.so.1 => /lib64/libexpat.so.1 (0x000000359b800000) libc.so.6 => /lib64/libc.so.6 (0x00000030e2800000) libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003fb1200000) /lib64/ld-linux-x86-64.so.2 (0x00000030e2000000) $ /tmp/gdb/bin/gdb a.out ... (gdb) break main Breakpoint 1 at 0x4004c8: file d.c, line 57. (gdb) r Starting program: /opt/src/latest/devel/gdb-7.10/a.out A Unwinder should return gdb.UnwindInfo instance. findvar.c:290: internal-error: value_of_register_lazy: Assertion `frame_id_p (get_frame_id (frame))' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n Any ideas where I can start looking? The Python 2.7.5 I built seems to work ok outside of this issue. -- albert chin (china@thewrittenword.com)