Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14027 closed defect (duplicate)

avr-gcc-4.0.2 build error

Reported by: sessyargc@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: avr-gccc Cc: metamagix@…
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

tiffany:~ rgc$ sudo port install avr-gcc avr-binutils avr-gdb avr-libc avrdude avrice uisp
Password:
--->  Building avr-gcc with target all
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" && make 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: make[2]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[2]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
cc -no-cpp-precomp -c   -O2  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H -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  -I/opt/local/include   -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  \
                /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/config/rs6000/host-darwin.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/config/rs6000/host-darwin.c:38: warning: 'struct sigaltstack' declared inside parameter list
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/config/rs6000/host-darwin.c:38: warning: its scope is only this definition or declaration, which is probably not what you want
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/config/rs6000/host-darwin.c:38: error: conflicting types for 'sigaltstack'
/usr/include/signal.h:89: error: previous declaration of 'sigaltstack' was here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/config/rs6000/host-darwin.c: In function 'segv_handler':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/config/rs6000/host-darwin.c:67: error: 'struct __darwin_mcontext' has no member named 'ss'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/config/rs6000/host-darwin.c:116: error: 'struct __darwin_mcontext' has no member named 'es'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/config/rs6000/host-darwin.c:116: error: 'struct __darwin_mcontext' has no member named 'ss'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/config/rs6000/host-darwin.c: In function 'darwin_rs6000_extra_signals':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gcc/work/gcc-4.0.2/gcc/config/rs6000/host-darwin.c:130: warning: passing argument 1 of 'sigaltstack' from incompatible pointer type
make[1]: *** [host-darwin.o] Error 1
make: *** [all-gcc] Error 2

Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

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

Informing maintainers.

comment:3 Changed 17 years ago by pguyot (Paul Guyot)

Resolution: duplicate
Status: newclosed

I believe this is a duplicate of #13191.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.