From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 675 invoked by alias); 6 Jan 2009 17:24:27 -0000 Received: (qmail 665 invoked by uid 22791); 6 Jan 2009 17:24:26 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.oarcorp.com (HELO OARmail.OARCORP.com) (216.186.189.5) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Jan 2009 17:24:22 +0000 Received: from [192.168.1.3] (192.168.1.3) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.1.336.0; Tue, 6 Jan 2009 11:19:35 -0600 Message-ID: <496393C0.6090308@oarcorp.com> Date: Tue, 06 Jan 2009 17:24:00 -0000 From: Joel Sherrill User-Agent: Thunderbird 2.0.0.18 (X11/20081119) MIME-Version: 1.0 To: "tromey@redhat.com" CC: "gdb@sourceware.org" Subject: Re: warning in python-value.c References: <49638841.3050607@oarcorp.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2009-01/txt/msg00022.txt.bz2 Tom Tromey wrote: >>>>>> "Joel" == Joel Sherrill writes: >>>>>> > > Joel> I'm seeing this in the cross builds of the gdb trunk to any RTEMS target. > Joel> For now, I have disabled the python support to continue. > Joel> Any ideas? > > Joel> cc1: warnings being treated as errors > Joel> /n/12/joel/test-gcc/gdb-cvs/src/gdb/python/python-value.c:641: error: > Joel> initialization from incompatible pointer type > > What version of Python do you have? What host are you building on? > This is on gcc12 in the CFARM. So 64-bit debian. I don't know how to check the python version. I see libraries for up to 2.6 Configure command: ( ../gdb-cvs/src/configure --target=m32c-rtems4.10 \ --enable-sim --enable-sim-hardware --enable-timebase \ --enable-sim-trace && make ) >b.log 2>&1 This is with a native gcc built from the svn trunk if that matters. > And what is the most recent entry in gdb/ChangeLog? > > Yours was not there so I updated and retried it. It now builds so I guess we just crossed. Thanks. > I think I fixed this yesterday: > > 2009-01-05 Tom Tromey > > * python/python-internal.h (Py_ssize_t): Define as int. > > I was seeing this when building on a 64-bit host against Python 2.4. > > > Tom > -- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985