From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 528 invoked by alias); 19 Mar 2010 08:18:32 -0000 Received: (qmail 518 invoked by uid 22791); 19 Mar 2010 08:18:31 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-pw0-f41.google.com (HELO mail-pw0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 19 Mar 2010 08:18:27 +0000 Received: by pwi4 with SMTP id 4so2738001pwi.0 for ; Fri, 19 Mar 2010 01:18:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.208.14 with SMTP id f14mr798609wfg.39.1268986706120; Fri, 19 Mar 2010 01:18:26 -0700 (PDT) In-Reply-To: <83ocikiwm6.fsf@gnu.org> References: <1268964549-30380-1-git-send-email-vapier@gentoo.org> <83ocikiwm6.fsf@gnu.org> From: Hui Zhu Date: Fri, 19 Mar 2010 08:18:00 -0000 Message-ID: Subject: Re: [PATCH] gdb: fix sparc memcpy fortify error To: Eli Zaretskii , Mike Frysinger Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00723.txt.bz2 Hi, I got this issue in a amd64 ubuntu 9.04. I reported it before, someone tell me that this is the bug of gcc. Now, I handle this issue in this pc is remove all the sparc function from init.c file. Thanks, Hui On Fri, Mar 19, 2010 at 15:44, Eli Zaretskii wrote: >> From: Mike Frysinger >> Date: Thu, 18 Mar 2010 22:09:09 -0400 >> >> - =A0gdb_byte buf[8]; >> + =A0gdb_byte buf[max(len, 8)]; > > Isn't this Standard C only under C9x? =A0If so, we don't yet require > that standard version, AFAIK. >