From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31590 invoked by alias); 30 Sep 2009 03:38:34 -0000 Received: (qmail 31579 invoked by uid 22791); 30 Sep 2009 03:38:33 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f202.google.com (HELO mail-px0-f202.google.com) (209.85.216.202) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Sep 2009 03:38:29 +0000 Received: by pxi40 with SMTP id 40so7030245pxi.24 for ; Tue, 29 Sep 2009 20:38:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.7.40 with SMTP id 40mr462991wfg.120.1254281908085; Tue, 29 Sep 2009 20:38:28 -0700 (PDT) In-Reply-To: <20090930033530.GD5072@adacore.com> References: <20090930033530.GD5072@adacore.com> From: Hui Zhu Date: Wed, 30 Sep 2009 03:38:00 -0000 Message-ID: Subject: Re: [gdb-7.0] 7.0 branch sparc-tdep.c build error in amd64 To: Joel Brobecker Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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-09/txt/msg00331.txt.bz2 Got it. Thanks Joel. Hui On Wed, Sep 30, 2009 at 11:35, Joel Brobecker wrote: >> In function 'memcpy', >> =A0 =A0 inlined from 'sparc32_store_return_value' at >> ../../src/gdb/sparc-tdep.c:1112, >> =A0 =A0 inlined from 'sparc32_return_value' at ../../src/gdb/sparc-tdep.= c:1170: >> /usr/include/bits/string3.h:52: error: call to __builtin___memcpy_chk >> will always overflow destination buffer > > Apparently, this is a GCC bug: > http://sourceware.org/ml/gdb-patches/2009-09/msg00568.html > > -- > Joel >