From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9240 invoked by alias); 15 Jun 2008 16:51:47 -0000 Received: (qmail 9231 invoked by uid 22791); 15 Jun 2008 16:51:47 -0000 X-Spam-Check-By: sourceware.org Received: from mx-out.libertysurf.net (HELO mail.libertysurf.net) (213.36.80.91) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 15 Jun 2008 16:51:27 +0000 Received: from [192.168.1.4] (83.152.121.148) by mail.libertysurf.net (7.3.118.8) id 484CEE8B001E257D; Sun, 15 Jun 2008 19:57:04 +0200 From: Eric Botcazou To: gcc@gcc.gnu.org Subject: Re: PATH_MAX missing cross building gmon-sol2.c Date: Sun, 15 Jun 2008 16:51:00 -0000 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: Jay References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806151852.30016.ebotcazou@libertysurf.fr> X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2008-06/txt/msg00334.txt.bz2 > I am crossing from i686-cygwin to sparc-solaris (my Sun cc won't compile > gcc due to macros with empty parameters like in c-common.c): > > /src/gcc-4.3.1/gcc/config/sparc/gmon-sol2.c: In function '_mcleanup': > /src/gcc-4.3.1/gcc/config/sparc/gmon-sol2.c:182: error: 'PATH_MAX' > undeclared (first use in this function) > /src/gcc-4.3.1/gcc/config/sparc/gmon-sol2.c:182: error: (Each undeclared > identifier is reported only once > /src/gcc-4.3.1/gcc/config/sparc/gmon-sol2.c:182: error: for each function > it appears in.) /src/gcc-4.3.1/gcc/config/sparc/gmon-sol2.c:182: warning: > unused variable 'buf' make[3]: *** > [/cygdrive/d/obj/cross-gcc/sparc-solaris/libgcc/gmon.o] Error 1 make[3]: > Leaving directory `/cygdrive/d/obj/cross-gcc/gcc' > make[2]: *** [gcc-extra-parts] Error 2 > > Could be my /usr/local/sparc-solaris/include is old. Or a configuration problem, see PR target/28097. -- Eric Botcazou