[MacPorts] #14027: avr-gcc-4.0.2 build error
MacPorts
trac at macosforge.org
Mon Jan 21 21:41:25 PST 2008
#14027: avr-gcc-4.0.2 build error
----------------------------------+-----------------------------------------
Reporter: sessyargc at yahoo.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: avr-gccc
----------------------------------+-----------------------------------------
Old description:
> 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.
New description:
{{{
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.
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14027#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list