From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7496 invoked by alias); 6 Jan 2010 11:28:59 -0000 Received: (qmail 7479 invoked by uid 22791); 6 Jan 2010 11:28:58 -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; Wed, 06 Jan 2010 11:28:54 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.pizzafactory.jp (Postfix) with ESMTP id 47C815905FDA; Wed, 6 Jan 2010 20:29:01 +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 lxYbDT9+rbTP; Wed, 6 Jan 2010 20:29:00 +0900 (JST) Received: from [192.168.0.9] (unknown [192.168.0.9]) by mail.pizzafactory.jp (Postfix) with ESMTP id 76D5D5905FCE; Wed, 6 Jan 2010 20:29:00 +0900 (JST) From: Masaki Muranaka Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: quoted-printable Subject: Can't build mips-elf-run on OSX Date: Wed, 06 Jan 2010 11:28:00 -0000 Message-Id: To: gdb-patches@sourceware.org, binutils@sourceware.org Mime-Version: 1.0 (Apple Message framework v1077) 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/msg00112.txt.bz2 Hello maintainers, I failed to build mips-elf-run on OSX (x86_64-apple-darwin10.2.0) host. Error log is below. The immediate cause is that stpcpy is defined as macro on OSX host. But there seems have a general issue. 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. To begin with, sim/mips/interp.c needs bfd/sysdep.h?=20 I could built interp.c successfully without bfd/sysdep.h on my environment. Thanks, - - - In file included from ../../../pf3gnuchains4x/sim/mips/interp.c:67: ../../../pf3gnuchains4x/sim/mips/../..//bfd/sysdep.h:135: error: expected d= eclaration specifiers or =1B$B!F=1B(B...=1B$B!G=1B(B before numeric constant ../../../pf3gnuchains4x/sim/mips/../..//bfd/sysdep.h:135: error: expected = =1B$B!F=1B(B)=1B$B!G=1B(B before =1B$B!F=1B(B!=3D=1B$B!G=1B(B token ../../../pf3gnuchains4x/sim/mips/../..//bfd/sysdep.h:135: error: expected = =1B$B!F=1B(B)=1B$B!G=1B(B before =1B$B!F=1B(B?=1B$B!G=1B(B token make[2]: *** [interp.o] Error 1 make[1]: *** [all] Error 1 make: *** [all-sim] Error 2 - - - -- Masaki Muranaka Monami software