bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hpux-11.i issues (build failures with /opt/ansic/bin/cc)


From: Markus Werle
Subject: hpux-11.i issues (build failures with /opt/ansic/bin/cc)
Date: Thu, 30 Jan 2003 16:29:31 +0100

Hi!

1. It is not possible to build binutils-2.13.2.1 with /opt/ansic/bin/cc using 
the
strict ANSI mode (CFLAGS=-Aa). The build process fails immediately.

Why? Any workarounds?

2. Switching to a less restrictive mode (-Ae) yields a much later failure,
but nonetheless awkward for someone to build it on a vanilla system

Note that building it with gcc-3.2.1 has no problems at all, but it should
be possible to build binutils on an "empty" machine ...

Here the failure message for option 2.:

[...]
make[3]: Entering directory `/work/markus/GCC/build-binutils/gprof'
/opt/ansic/bin/cc -DHAVE_CONFIG_H -I. -I../../binutils-2.13.2.1/gprof -I. 
-D_GNU_SOURCE -DDEBUG -I../bfd -I../../binutils-2.13.2.1/gprof/../include
-I../../binutils-2.13.2.1/gprof/../bfd -I../../binutils-2.13.2.1/gprof/../intl 
-I../intl -I.
-DLOCALEDIR="\"/opt/FREE-SOFTWARE/binutils-2.13.2.1/share/locale\""    -Ae -c 
../../binutils-2.13.2.1/gprof/gmon_io.c
cpp: "/usr/include/limits.h", line 294: warning 2001: Redefinition of macro 
PATH_MAX.
cpp: "/usr/include/sys/param.h", line 379: warning 2001: Redefinition of macro 
MIN.
cpp: "/usr/include/sys/param.h", line 380: warning 2001: Redefinition of macro 
MAX.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 37: error 1000: Unexpected 
symbol: "BFD_HOST_U_64_BIT".
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 37: error 1573: Type of 
"<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 38: error 1000: Unexpected 
symbol: "BFD_HOST_U_64_BIT".
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 38: error 1573: Type of 
"BFD_HOST_U_64_BIT" is undefined due to an illegal declaration.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 56: warning 604: Pointers 
are not assignment-compatible.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 56: warning 563: Argument 
#1 is not the correct type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 63: error 1000: Unexpected 
symbol: "BFD_HOST_U_64_BIT".
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 63: error 1573: Type of 
"valp" is undefined due to an illegal declaration.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 69: error 1554: Indirection 
must be through a pointer.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 69: warning 604: Pointers 
are not assignment-compatible.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 69: warning 563: Argument 
#1 is not the correct type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 79: error 1000: Unexpected 
symbol: "val64".
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 79: error 1588: 
"BFD_HOST_U_64_BIT" undefined.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 90: error 1588: "val64" 
undefined.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 90: warning 563: Argument 
#2 is not the correct type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 121: warning 604: Pointers 
are not assignment-compatible.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 121: warning 563: Argument 
#2 is not the correct type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 130: error 1000: Unexpected 
symbol: "BFD_HOST_U_64_BIT".
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 130: error 1573: Type of 
"val" is undefined due to an illegal declaration.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 134: error 1527: 
Incompatible types in cast: Must cast from scalar to scalar or to void type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 134: warning 604: Pointers 
are not assignment-compatible.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 134: warning 563: Argument 
#2 is not the correct type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 154: error 1000: Unexpected 
symbol: "val".
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 154: error 1588: 
"BFD_HOST_U_64_BIT" undefined.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 154: warning 563: Argument 
#2 is not the correct type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 197: error 1000: Unexpected 
symbol: "cnt64".
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 197: error 1588: 
"BFD_HOST_U_64_BIT" undefined.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 213: error 1588: "cnt64" 
undefined.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 213: warning 563: Argument 
#2 is not the correct type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 246: error 1000: Unexpected 
symbol: "cnt".
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 246: error 1588: 
"BFD_HOST_U_64_BIT" undefined.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 246: warning 563: Argument 
#2 is not the correct type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 380: warning 604: Pointers 
are not assignment-compatible.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 380: warning 563: Argument 
#2 is not the correct type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 389: warning 604: Pointers 
are not assignment-compatible.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 389: warning 563: Argument 
#2 is not the correct type.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 397: warning 604: Pointers 
are not assignment-compatible.
cc: "../../binutils-2.13.2.1/gprof/gmon_io.c", line 397: warning 563: Argument 
#2 is not the correct type.
make[3]: *** [gmon_io.o] Error 1
make[3]: Leaving directory `/work/markus/GCC/build-binutils/gprof'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/work/markus/GCC/build-binutils/gprof'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/work/markus/GCC/build-binutils/gprof'
make: *** [all-gprof] Error 2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]