From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30660 invoked by alias); 8 Jan 2010 00:18:45 -0000 Received: (qmail 30631 invoked by uid 22791); 8 Jan 2010 00:18:44 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from p12018-ipbffx02marunouchi.tokyo.ocn.ne.jp (HELO mail.pizzafactory.jp) (222.147.75.18) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Jan 2010 00:18:39 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.pizzafactory.jp (Postfix) with ESMTP id 774B6590EB93; Fri, 8 Jan 2010 09:10:56 +0900 (JST) Received: from mail.pizzafactory.jp ([127.0.0.1]) by localhost (ldap.monami-software.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1HUC9P1sOrIC; Fri, 8 Jan 2010 09:10:56 +0900 (JST) Received: from [192.168.0.9] (unknown [192.168.0.9]) by mail.pizzafactory.jp (Postfix) with ESMTP id 248E6590EB8C; Fri, 8 Jan 2010 09:10:56 +0900 (JST) Subject: Re: Can't build mips-elf-run on OSX Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Masaki Muranaka In-Reply-To: <4B460DD1.8080209@redhat.com> Date: Fri, 08 Jan 2010 00:18:00 -0000 Cc: gdb-patches@sourceware.org, binutils@sourceware.org, Thiemo Seufer Content-Transfer-Encoding: quoted-printable Message-Id: <49770B89-E933-4802-B70B-A286187EF7F6@monami-software.com> References: <4B460DD1.8080209@redhat.com> To: Nick Clifton 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-01/txt/msg00153.txt.bz2 Hello Nick, Thanks for your comment. I figured out after sending that mail, so I alread= y sent a patch to gdb-patches ML. As you say, this issue is caused by sim/mips. Thanks, On 2010/01/08, at 1:37, Nick Clifton wrote: > Hi Masaki, >=20 >> It is required config.h by bfd/sysdep.h. This should be bfd/config.h. >> But gcc (at least apple's genuine build) includes sim/mips/config.h. >> So definitions in bfd/config.h like HAVE_DECL_STPCPY is not defined. >=20 > This sounds like a problem with the configure script in the sim/mips dire= ctory - presumably it should be including a check of the stpcpy function. >=20 >> To begin with, sim/mips/interp.c needs bfd/sysdep.h? I could built inter= p.c successfully without bfd/sysdep.h on my environment. >=20 > Me too - so it would appear to be unnecessary. Please note however that = I cannot approved such a change - you need a GDB maintainer for that. Thiem= o is listed as the sim/mips maintainer... >=20 > Cheers > Nick >=20 >=20