This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g77 Build Problems
- To: darwin-development at lists dot apple dot com, gcc at gcc dot gnu dot org
- Subject: g77 Build Problems
- From: "Henry B. Hotz" <hotz at jpl dot nasa dot gov>
- Date: Mon, 30 Apr 2001 15:39:47 -0700
- References: <200104301920.f3UJKdG02293@lists.apple.com>
I've tried both the default-current and the 3.0 release branch of gcc
from cvs, and both fail to build the same way.
It's nice that cvs is included with the system BTW.
./configure --enable-languages="c f77"
make bootstrap
...
./genflags ./config/rs6000/rs6000.md > tmp-flags.h
/bin/sh ./move-if-change tmp-flags.h insn-flags.h
touch s-flags
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I. -I./. -I./config -I./../include
function.c -o function.o
toplev.h:48: illegal function definition, found `__attribute__'
toplev.h:51: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
In file included from function.c:42:
system.h:320: warning: ANSI C forbids const or volatile functions
In file included from system.h:494,
from function.c:42:
./../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
./../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
./../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from function.c:43:
rtl.h:1207: warning: ANSI C forbids const or volatile functions
rtl.h:1439: warning: ANSI C forbids const or volatile functions
In file included from function.c:44:
tree.h:2453: warning: ANSI C forbids const or volatile functions
tree.h:2507: warning: ANSI C forbids const or volatile functions
tree.h:2647: warning: ANSI C forbids const or volatile functions
In file included from function.c:55:
output.h:128: warning: ANSI C forbids const or volatile functions
In file included from function.c:58:
toplev.h:45: warning: ANSI C forbids const or volatile functions
In file included from function.c:60:
ggc.h:136: warning: ANSI C forbids const or volatile functions
function.c: In function `assign_stack_local_1':
function.c:602: `DEFAULT_ABI' undeclared (first use in this function)
function.c:602: (Each undeclared identifier is reported only once
function.c:602: for each function it appears in.)
function.c: In function `fixup_memory_subreg':
function.c:2530: warning: comparison between signed and unsigned
function.c:2531: warning: comparison between signed and unsigned
function.c: In function `optimize_bit_field':
function.c:2727: warning: comparison between signed and unsigned
function.c:2729: warning: comparison between signed and unsigned
function.c:2775: warning: comparison between signed and unsigned
function.c: In function `purge_addressof_1':
function.c:3085: warning: comparison between signed and unsigned
function.c: In function `instantiate_virtual_regs':
function.c:3525: `DEFAULT_ABI' undeclared (first use in this function)
function.c: In function `instantiate_decls':
function.c:3592: warning: comparison between signed and unsigned
function.c: In function `aggregate_value_p':
function.c:4212: `DEFAULT_ABI' undeclared (first use in this function)
function.c: In function `assign_parms':
function.c:4565: `DEFAULT_ABI' undeclared (first use in this function)
function.c: In function `locate_and_pad_parm':
function.c:5203: `DEFAULT_ABI' undeclared (first use in this function)
make[2]: *** [function.o] Error 1
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2
[localhost:dist/gcc-cvs3/gcc] hotz%
Help?
Signature held pending an ISO 9000 compliant
signature design and approval process.
h.b.hotz@jpl.nasa.gov, or hbhotz@oxy.edu