Subject: pkg/35394: avr-gcc fails to build
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 01/10/2007 12:05:01
>Number:         35394
>Category:       pkg
>Synopsis:       avr-gcc fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 10 12:05:00 +0000 2007
>Originator:     Stathis Kampris
>Release:        netbsd4-branch
Aristotle University of Thessaloniki
NetBSD netbsd 4.99.5 NetBSD 4.99.5 (mygeneric) #0: Sun Dec 10 16:07:42 EET 2006  root@netbsd:/usr/obj/sys/arch/i386/compile/mygeneric
avr-gcc fails to build via pkgsrc, with the following errors:

In file included from ./read-rtl.c:24:
./rtl.h:132: warning: type of bit-field 'code' is a GCC extension
./rtl.h:135: warning: type of bit-field 'mode' is a GCC extension
./read-rtl.c: In function 'fatal_with_file_and_line':
./read-rtl.c:53: warning: traditional C rejects ISO C style function definitions
./read-rtl.c: In function 'read_rtx':
./read-rtl.c:653: error: invalid lvalue in increment

[] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/cross/avr-gcc/work/.gcc/bin/gcc -c -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrit-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -. -I./. -I./config -I./../include ./read-rtl.c -o read-rtl.o -I/usr/pkgsrc/cross/avr-gcc/work/.buildlink/inlude -L/usr/pkgsrc/cross/avr-gcc/work/.buildlink/lib
gmake[1]: *** [read-rtl.o] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/cross/avr-gcc/work/gcc-3.3.2003.05.11/gcc'
gmake: *** [all-gcc] Error 2
*** Error code 2

make: stopped in /usr/pkgsrc/cross/avr-gcc
*** Error code 1

[stathis@netbsd ~] cd /usr/pkgsrc/cross/avr-gcc/
[stathis@netbsd /usr/pkgsrc/cross/avr-gcc] sudo cvs update -dP
[stathis@netbsd /usr/pkgsrc/cross/avr-gcc] sudo make install clean

Unknown to me