GNUStep broken on amd64
Michael Hopkins
michael.hopkins at hopkins-research.com
Thu Mar 31 09:33:45 PST 2005
On 27/3/05 9:26 pm, "Kris Kennaway" <kris at obsecurity.org> 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'
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
More information about the freebsd-amd64
mailing list