Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#20839 closed defect (fixed)

avr-gcc 4.0.2 fails to build on snow leopard

Reported by: andrius.laikina@… Owned by: metamagix@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: hong.rich@…, mikko.sivulainen@…, brad@…, arturoc@…, chris@…, andrew.cooper@…, fisch@…, jtzemp@…, lord_of_the_reels2@…, macports@…, david@…, nerdling (Jeremy Lavergne), dylans@…, janne.mantyharju@…, ericr@…
Port: avr-gcc

Description

avr-gcc 4.0.2 fails to build on snow leopard:

--->  Extracting avr-gcc
--->  Applying patches to avr-gcc
--->  Configuring avr-gcc
--->  Building avr-gcc
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build" && /usr/bin/make -j2 all AR_FOR_TARGET=avr-ar AS_FOR_TARGET=avr-as LD_FOR_TARGET=avr-ld NM_FOR_TARGET=avr-nm RANLIB_FOR_TARGET=avr-ranlib " returned error 2
Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include  -DFINE_GRAINED_LIBRARIES -mmcu=avr5 -DL_thenan_sf -c fp-bit.c -o libgcc/avr5/_thenan_sf.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include  -DFINE_GRAINED_LIBRARIES -mmcu=avr5 -DL_sf_to_usi -c fp-bit.c -o libgcc/avr5/_sf_to_usi.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include  -DFINE_GRAINED_LIBRARIES -mmcu=avr5 -DL_usi_to_sf -c fp-bit.c -o libgcc/avr5/_usi_to_sf.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include  -mmcu=avr5 -fexceptions  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/unwind-dw2.c -o libgcc/avr5/unwind-dw2.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include  -mmcu=avr5 -fexceptions  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/unwind-dw2-fde.c -o libgcc/avr5/unwind-dw2-fde.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include  -mmcu=avr5 -fexceptions  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/unwind-sjlj.c -o libgcc/avr5/unwind-sjlj.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include  -mmcu=avr5 -fexceptions  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/gthr-gnat.c -o libgcc/avr5/gthr-gnat.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include  -mmcu=avr5 -fexceptions  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/unwind-c.c -o libgcc/avr5/unwind-c.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov_merge_add -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov_merge_add.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov_merge_single -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov_merge_single.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov_merge_delta -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov_merge_delta.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov_fork -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov_fork.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov_execl -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov_execl.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov_execlp -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov_execlp.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov_execle -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov_execle.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov_execv -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov_execv.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov_execvp -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov_execvp.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/build/gcc/ -B/opt/local/avr/bin/ -B/opt/local/avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../include -I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/../libcpp/include   -mmcu=avr5 -DL_gcov_execve -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/libgcov.c -o libgcc/avr5/_gcov_execve.o
rm -f ./libgcc.a
avr-ar  rc ./libgcc.a libgcc/./_mulqi3.o libgcc/./_mulhi3.o libgcc/./_mulsi3.o libgcc/./_udivmodqi4.o libgcc/./_divmodqi4.o libgcc/./_udivmodhi4.o libgcc/./_divmodhi4.o libgcc/./_udivmodsi4.o libgcc/./_divmodsi4.o libgcc/./_prologue.o libgcc/./_epilogue.o libgcc/./_exit.o libgcc/./_cleanup.o libgcc/./_tablejump.o libgcc/./_copy_data.o libgcc/./_clear_bss.o libgcc/./_ctors.o libgcc/./_dtors.o libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_enable_execute_stack.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/./_paritydi2.o libgcc/./_powisf2.o libgcc/./_powidf2.o libgcc/./_powixf2.o libgcc/./_powitf2.o libgcc/./_mulsc3.o libgcc/./_muldc3.o libgcc/./_mulxc3.o libgcc/./_multc3.o libgcc/./_divsc3.o libgcc/./_divdc3.o libgcc/./_divxc3.o libgcc/./_divtc3.o libgcc/./_eprintf.o libgcc/./__gcc_bcmp.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./_pack_sf.o libgcc/./_unpack_sf.o libgcc/./_addsub_sf.o libgcc/./_mul_sf.o libgcc/./_div_sf.o libgcc/./_fpcmp_parts_sf.o libgcc/./_compare_sf.o libgcc/./_eq_sf.o libgcc/./_ne_sf.o libgcc/./_gt_sf.o libgcc/./_ge_sf.o libgcc/./_lt_sf.o libgcc/./_le_sf.o libgcc/./_unord_sf.o libgcc/./_si_to_sf.o libgcc/./_sf_to_si.o libgcc/./_negate_sf.o libgcc/./_make_sf.o libgcc/./_sf_to_df.o libgcc/./_sf_to_tf.o libgcc/./_thenan_sf.o libgcc/./_sf_to_usi.o libgcc/./_usi_to_sf.o libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o libgcc/./gthr-gnat.o libgcc/./unwind-c.o
rm -f ./libgcov.a
avr-ar  rc ./libgcov.a libgcc/./_gcov.o libgcc/./_gcov_merge_add.o libgcc/./_gcov_merge_single.o libgcc/./_gcov_merge_delta.o libgcc/./_gcov_fork.o libgcc/./_gcov_execl.o libgcc/./_gcov_execlp.o libgcc/./_gcov_execle.o libgcc/./_gcov_execv.o libgcc/./_gcov_execvp.o libgcc/./_gcov_execve.o
make[2]: *** [libgcov.a] Abort trap
make[2]: *** Deleting file `libgcov.a'
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libgcc.a] Abort trap
make[2]: *** Deleting file `libgcc.a'
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2

Error: Status 1 encountered during processing.

Attachments (1)

avr-gcc.debug.gz (39.3 KB) - added by andrius.laikina@… 15 years ago.
clean install, debug enabled

Download all attachments as: .zip

Change History (29)

comment:1 Changed 15 years ago by tobypeterson

Priority: HighNormal

comment:2 Changed 15 years ago by tobypeterson

Keywords: avr-gcc build snow leopard removed
Summary: avr-gcc 4.0.2 build error/snow leopard (10A432)avr-gcc 4.0.2 fails to build on snow leopard
Version: 1.8.99

Please attach a debug build log.

comment:3 in reply to:  2 Changed 15 years ago by andrius.laikina@…

Replying to toby@…:

Please attach a debug build log.

Log file size 1.3 MB, should I just write the log here?

Changed 15 years ago by andrius.laikina@…

Attachment: avr-gcc.debug.gz added

clean install, debug enabled

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: metamagix@… added
Owner: changed from macports-tickets@… to pguyot@…

comment:5 Changed 15 years ago by hong.rich@…

Cc: hong.rich@… added

Cc Me!

comment:6 Changed 15 years ago by mikko.sivulainen@…

Cc: mikko.sivulainen@… added

Cc Me!

comment:7 Changed 15 years ago by mikko.sivulainen@…

tried to compile avr-binutils and avr-gcc with i686-apple-darwin10-gcc-4.0.1 and i686-apple-darwin10-gcc-4.2.1 and got the same results

comment:8 Changed 15 years ago by brad@…

Cc: brad@… added

Cc Me!

comment:9 Changed 15 years ago by arturoc@…

Cc: arturoc@… added

Cc Me!

comment:10 Changed 15 years ago by chris@…

Cc: chris@… added

Cc Me!

comment:11 Changed 15 years ago by andrew.cooper@…

Cc: andrew.cooper@… added

Cc Me!

comment:12 Changed 15 years ago by fisch@…

Cc: fisch@… added

Cc Me!

comment:13 Changed 15 years ago by jtzemp@…

Cc: jtzemp@… added

Cc Me!

comment:14 Changed 15 years ago by lord_of_the_reels2@…

Cc: lord_of_the_reels2@… added

Cc Me!

comment:15 Changed 15 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:16 Changed 15 years ago by david@…

Cc: david@… added

Cc Me!

comment:17 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:18 Changed 15 years ago by arturoc@…

Is there any more info we can provide to help get this resolved?

comment:19 Changed 15 years ago by jtzemp@…

I know that this isn't the answer that anyone is looking for (including myself), but in order to do my AVR programming, I just installed a linux distro in a VM container on my mac. It worked great. It definitely would be much easier to be able to do it on my mac, but in a pinch, it worked for me.

I do appreciate the time and effort put into maintaining all the various ports in Macports. It makes my life a whole lot easier. I look forward to having avr-gcc working again soon. Thanks!

I'd be happy to help with additional reports as well.

comment:20 Changed 15 years ago by dylans@…

Cc: dylans@… added

Cc Me!

comment:21 in reply to:  19 Changed 15 years ago by arturoc@…

Replying to jtzemp@…:

I know that this isn't the answer that anyone is looking for (including myself), but in order to do my AVR programming, I just installed a linux distro in a VM container on my mac. It worked great. It definitely would be much easier to be able to do it on my mac, but in a pinch, it worked for me.

I attempted the same, but avr stuff seems to be broken on Gentoo as well. I did however find this link earlier today and now have working avr tools on osx

http://www.ethernut.de/en/documents/cross-toolchain-osx.html

Note: binutils and gdb error'd out at first because of -Werror was on.. I re-ran confure with --disable-werror in addition to the flags listed and everything compiled fine.

I test compiled an led blink program and uploaded successfully to my board. So far, so good until this port is fixed.

Waiting patiently. :)

comment:22 Changed 15 years ago by janne.mantyharju@…

Cc: janne.mantyharju@… added

Cc Me!

comment:23 Changed 15 years ago by ericr@…

Cc: ericr@… added

Cc Me!

comment:24 Changed 15 years ago by x.macports.org@…

avr-binutils would need to be upgraded.

Building avr-gcc fails due to an abort in avr-ar. The abort is triggered by bounds checking for sprintf.

#0  0x00007fff82501fe6 in __kill ()
#1  0x00007fff825a2dd3 in __abort ()
#2  0x00007fff82597617 in __chk_fail ()
#3  0x00007fff824f5458 in __sprintf_chk ()
#4  0x000000010000666c in coff_write_armap ()

I think binutils 2.20 would have this minor overrun fixed already. There are avr-specific patches being applied in the Portfile, but where are the patches from? Do they exist already for a more recent binutils release?

comment:25 Changed 15 years ago by jmroot (Joshua Root)

Cc: metamagix@… removed
Owner: changed from pguyot@… to metamagix@…

Paul is no longer maintaining this.

comment:26 Changed 15 years ago by abusse@…

I've added a patch for binutils here; #23216. avr-gcc compiles fine with it.

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:27 Changed 15 years ago by x.macports.org@…

Upgrading avr-binutils as described in #23216 worked for me. Avr-gcc compiles fine on Snow Leopard.

comment:28 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Closing as per comment:27.

Note: See TracTickets for help on using tickets.