From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13732 invoked by alias); 15 Jun 2006 10:04:11 -0000 Received: (qmail 13724 invoked by uid 22791); 15 Jun 2006 10:04:11 -0000 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.31) with ESMTP; Thu, 15 Jun 2006 10:04:09 +0000 Received: from [192.168.0.2] (unknown [192.168.0.2]) by mail.pizzafactory.jp (Postfix) with ESMTP id 17600203F2B6; Thu, 15 Jun 2006 19:04:06 +0900 (JST) In-Reply-To: References: <9E9B2AC9-6DB7-4D6A-BF9C-2B3E387F67E2@monami-software.com> <6E68F226-6A7E-4DB7-8734-A448045A6129@monami-software.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9B7B5DA2-2CC0-49E7-BE07-403B942D11CD@monami-software.com> Cc: gdb-patches@sourceware.org Content-Transfer-Encoding: 7bit From: Masaki Muranaka Subject: Re: [patch] Failed to build mips64-elf with NLS on OSX Date: Thu, 15 Jun 2006 10:04:00 -0000 To: Andreas Schwab X-Mailer: Apple Mail (2.750) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00228.txt.bz2 On 2006/06/15, at 18:24, Andreas Schwab wrote: > GCC _does_ work so. After sent the previous mail, I've built GDB on my Linux box. The build was succeeded without my patch. So I believe you are right. Then, I confused why the build was failed on OSX. The use of intl/ is a one of the configuration diffence between my Linux host and my OSX one. In my Linux box, Gettext has installed. so intl/libintl.h is not generated. How do you think possibilities about bugs in intl/ causes the build failed? The cpp'ed code under OSX is like this: internal_error ("../../src/gdb/mips-tdep.c", 273, libintl_gettext ("bad switch")); And the definition of internal_error is like this: extern void internal_error ( char *file, int line, char *, ...) __attribute__ ((noreturn)) __attribute__ ((format(printf, 3, 4))); -- Masaki Muranaka Monami software