From owner-freebsd-ports@FreeBSD.ORG Thu Mar 31 17:33:45 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05FDF16A4CE; Thu, 31 Mar 2005 17:33:45 +0000 (GMT) Received: from neon.webfusion.co.uk (neon.webfusion.co.uk [212.67.202.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3496D43D49; Thu, 31 Mar 2005 17:33:44 +0000 (GMT) (envelope-from michael.hopkins@hopkins-research.com) Received: from 83-216-132-201.markch725.adsl.metronet.co.uk ([83.216.132.201] helo=[192.168.0.5]) by neon.webfusion.co.uk with asmtp (Exim 3.36 #1) id 1DH3Y6-0006Lv-00; Thu, 31 Mar 2005 18:33:42 +0100 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Thu, 31 Mar 2005 18:33:41 +0100 From: Michael Hopkins To: "freebsd-amd64@freebsd.org" , Message-ID: In-Reply-To: <20050327202607.GA66339@xor.obsecurity.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Re: GNUStep broken on amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 17:33:45 -0000 On 27/3/05 9:26 pm, "Kris Kennaway" wrote: > On Sun, Mar 27, 2005 at 02:02:17PM +0100, Michael wrote: > >> ===> gnustep-objc-1.3.0,1 does not run on ia64 amd64, and you are running >> amd64. >> >> Is this something relatively easy to fix or will it cause grief? I am an >> experienced coder but new to FreeBSD and ports. > > Try commenting out the ONLY_FOR_ARCHS/BROKEN and see what breaks, then > try to fix it :) > > Talk to the developers of the software if you need more help. > > Kris > Started to poke around, and found the error below when trying to make in /usr/ports/devel/gnustep. It seems to be choking on the /usr/ports/lang/gcc-objc make on a header file called output.h (/usr/src/contrib/gcc/output.h, I think). I believe the relevant macro might be this: extern void asm_fprintf (FILE *file, const char *p, ...) ATTRIBUTE_ASM_FPRINTF(2, 3); Defined a few lines above as this: /* Output a string of assembler code, substituting numbers, strings and fixed syntactic prefixes. */ #if GCC_VERSION >= 3004 #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) /* This is a magic identifier which allows GCC to figure out the type of HOST_WIDE_INT for %wd specifier checks. You must issue this typedef before using the __asm_fprintf__ format attribute. */ typedef HOST_WIDE_INT __gcc_host_wide_int__; #else #define ATTRIBUTE_ASM_FPRINTF(m, n) ATTRIBUTE_NONNULL(m) #endif I'm afraid I can't get into this right now, but it's posted in case someone else understands what is going on here. M ======================= error output from make ============================ cc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -I/usr/local/include -I. -I. -I.././..//gcc-3.4-20050311/gcc -I.././..//gcc-3.4-20050311/gcc/. -I.././..//gcc-3.4-20050311/gcc/../include insn-conditions.c In file included from insn-conditions.c:30: .././..//gcc-3.4-20050311/gcc/output.h:122: error: syntax error before "ATTRIBUTE_NONNULL" .././..//gcc-3.4-20050311/gcc/output.h:122: warning: ISO C does not allow extra `;' outside of a function In file included from insn-conditions.c:34: .././..//gcc-3.4-20050311/gcc/toplev.h:57: error: syntax error before "ATTRIBUTE_NONNULL" .././..//gcc-3.4-20050311/gcc/toplev.h:58: warning: empty declaration .././..//gcc-3.4-20050311/gcc/toplev.h:61: error: syntax error before "ATTRIBUTE_NONNULL" .././..//gcc-3.4-20050311/gcc/toplev.h:62: warning: empty declaration .././..//gcc-3.4-20050311/gcc/toplev.h:65: error: syntax error before "ATTRIBUTE_NONNULL" .././..//gcc-3.4-20050311/gcc/toplev.h:65: warning: ISO C does not allow extra `;' outside of a function .././..//gcc-3.4-20050311/gcc/toplev.h:74: error: syntax error before "ATTRIBUTE_NONNULL" .././..//gcc-3.4-20050311/gcc/toplev.h:74: warning: ISO C does not allow extra `;' outside of a function .././..//gcc-3.4-20050311/gcc/toplev.h:75: error: syntax error before "ATTRIBUTE_NONNULL" .././..//gcc-3.4-20050311/gcc/toplev.h:75: warning: ISO C does not allow extra `;' outside of a function insn-conditions.c:739: warning: string length `534' is greater than the length `509' ISO C89 compilers are required to support insn-conditions.c:1025: warning: string length `533' is greater than the length `509' ISO C89 compilers are required to support insn-conditions.c:1565: warning: string length `597' is greater than the length `509' ISO C89 compilers are required to support gmake[2]: *** [insn-conditions.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc-objc/work/build/gcc' gmake[1]: *** [stage1_build] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc-objc/work/build/gcc' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc-objc. *** Error code 1 Stop in /usr/ports/devel/gnustep-make. *** Error code 1 Stop in /usr/ports/devel/gnustep. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ _/_/_/ Hopkins Research Ltd _/ _/ _/ _/ _/_/_/_/ _/_/_/ http://www.hopkins-research.com/ _/ _/ _/ _/ _/ _/ _/ _/ 'touch the future' _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/