pkgsrc-Bugs archive

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

pkg/42106: cross/avr-gcc fails building libgcc for avr6 architecture

>Number:         42106
>Category:       pkg
>Synopsis:       cross/avr-gcc fails building libgcc for avr6 architecture
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 21 10:35:00 +0000 2009
>Originator:     Edgar Fuß
>Release:        pkgsrc-current
Mathematisches Institut der Uni Bonn
Darwin xxx 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; 
root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
At least on Mac OS X/Darwin, building cross/avr-gcc fails while configuring in 
work/obj/avr/avr6/libgcc. The configure script uses an mcu name (avr6) that gcc 
doesn't recognize:

Running configure in multilib subdir avr6
pwd: xxx/cross/avr-gcc/work/obj/avr
mkdir avr6
checking for avr-gcc... xxx/cross/avr-gcc/work/obj/./gcc/xgcc 
-Bxxx/cross/avr-gcc/work/obj/./gcc/ -B/usr/pkg/avr/bin/ -B/usr/pkg/avr/lib/ 
-isystem /usr/pkg/avr/include -isystem /usr/pkg/avr/sys-include  -mmcu=avr6
checking for suffix of object files... configure: error: in 
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
gmake[1]: *** [configure-target-libgcc] Error 1
gmake[1]: Leaving directory `xxx/cross/avr-gcc/work/obj'

The relevant config.log says:
Reading specs from xxx/cross/avr-gcc/work/obj/./gcc/specs
Target: avr
Configured with: xx/cross/avr-gcc/work/gcc-4.4.1/configure --target=avr 
--disable-nls --prefix=/usr/pkg --mandir=/usr/pkg/man
Thread model: single
gcc version 4.4.1 (GCC) 
configure:2391: $? = 0
configure:2393: xxx/cross/avr-gcc/work/obj/./gcc/xgcc 
-Bxxx/cross/avr-gcc/work/obj/./gcc/ -B/usr/pk
g/avr/bin/ -B/usr/pkg/avr/lib/ -isystem /usr/pkg/avr/include -isystem 
/usr/pkg/avr/sys-include  -mmcu=avr6 -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2590: checking for suffix of object files
configure:2611: xxx/cross/avr-gcc/work/obj/./gcc/xgcc 
-Bxxx/cross/avr-gcc/work/obj/./gcc/ -B/usr/pk
g/avr/bin/ -B/usr/pkg/avr/lib/ -isystem /usr/pkg/avr/include -isystem 
/usr/pkg/avr/sys-include  -mmcu=avr6 -c -g -I/usr/pkg/include   conftest.c >&5
Known MCU names:
  avr1 avr2 avr3 avr4 avr5 at90s1200 attiny10 attiny11 attiny12 attiny15
  attiny28 at90s2313 at90s2323 at90s2333 at90s2343 attiny22 attiny26
  at90s4433 at90s4414 at90s4434 at90s8515 at90s8535 at90c8534 at86rf401
  atmega603 atmega103 at43usb320 at43usb355 at76c711 atmega8 atmega83
  atmega85 atmega8515 atmega8535 atmega16 atmega161 atmega162 atmega163
  atmega169 atmega32 atmega323 atmega64 atmega128 at94k
Assembler messages:
Fatal error: unknown MCU: avr6

cd cross/avr-gcc; make build

Home | Main Index | Thread Index | Old Index