bootstrap/3364: a29k-coff fails to compile on gcc 3.0 CVS branch

joel@gcc.gnu.org joel@gcc.gnu.org
Fri Jun 22 07:56:00 GMT 2001


>Number:         3364
>Category:       bootstrap
>Synopsis:       a29k-coff fails to compile on gcc 3.0 CVS branch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 22 07:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     joel@OARcorp.com
>Release:        gcc 3.0 CVS branch
>Organization:
>Environment:
GNU/Linux RedHat 6.2 targetting a29k-coff	
>Description:
../gcc/configure --target=a29k-coff --with-gnu-as --with-gnu-ld --with-newlib --verbose --prefix=/usr1/tmp-tools --enable-languages=c,c++ && make

fails with this error:

gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include \
        ../../gcc/gcc/config/a29k/a29k.c -o a29k.o
../../gcc/gcc/config/a29k/a29k.c:43: conflicting types for `shift_constant_operand'
insn-codes.h:133: previous declaration of `shift_constant_operand'
../../gcc/gcc/config/a29k/a29k.c: In function `cint_8_operand':
../../gcc/gcc/config/a29k/a29k.c:100: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc/gcc/config/a29k/a29k.c: In function `cint_16_operand':
../../gcc/gcc/config/a29k/a29k.c:110: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc/gcc/config/a29k/a29k.c: In function `long_const_operand':
../../gcc/gcc/config/a29k/a29k.c:128: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc/gcc/config/a29k/a29k.c:129: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc/gcc/config/a29k/a29k.c:129: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc/gcc/config/a29k/a29k.c:130: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc/gcc/config/a29k/a29k.c:130: warning: comparison between signed and unsigned
../../gcc/gcc/config/a29k/a29k.c: In function `srcb_operand':
../../gcc/gcc/config/a29k/a29k.c:286: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc/gcc/config/a29k/a29k.c: In function `cmplsrcb_operand':
../../gcc/gcc/config/a29k/a29k.c:302: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc/gcc/config/a29k/a29k.c:302: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc/gcc/config/a29k/a29k.c: In function `load_multiple_operation':
../../gcc/gcc/config/a29k/a29k.c:604: warning: comparison between signed and unsigned
../../gcc/gcc/config/a29k/a29k.c: In function `store_multiple_operation':
../../gcc/gcc/config/a29k/a29k.c:647: warning: comparison between signed and unsigned
../../gcc/gcc/config/a29k/a29k.c: In function `masks_bits_for_special':
../../gcc/gcc/config/a29k/a29k.c:705: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc/gcc/config/a29k/a29k.c: In function `output_prolog':
../../gcc/gcc/config/a29k/a29k.c:1389: warning: implicit declaration of function `oballoc'
../../gcc/gcc/config/a29k/a29k.c:1406: warning: function `oballoc' was previously declared within a block
make[1]: *** [a29k.o] Error 1

>How-To-Repeat:
configure and build per description.
I used binutils 2.10.
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list