grads fails because gcc40 fails ?
Barry McInnes
Barry.J.Mcinnes at noaa.gov
Wed Dec 19 12:21:29 PST 2007
Hi,
we have 10.5.1 and Ports 1.6.0
gcc43 builds just fine. Is there a way to stop it building gcc4.0 for
grads and use Mac gcc ?
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc40/work/gcc-4.0.4/gcc/config/rs6000/host-darwin.c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc40/work/gcc-4.0.4/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_lang_gcc40/work/gcc-4.0.4/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_lang_gcc40/work/gcc-4.0.4/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_lang_gcc40/work/gcc-4.0.4/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_lang_gcc40/work/gcc-4.0.4/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_lang_gcc40/work/gcc-4.0.4/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_lang_gcc40/work/gcc-4.0.4/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_lang_gcc40/work/gcc-4.0.4/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_lang_gcc40/work/gcc-4.0.4/gcc/config/rs6000/host-darwin.c:130:
warning: passing argument 1 of 'sigaltstack' from incompatible pointer type
make[2]: *** [host-darwin.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [stage1_build] Error 2
make: *** [profiledbootstrap] Error 2
Error: The following dependencies failed to build: gcc40
Error: Status 1 encountered during processing.
More information about the macports-users
mailing list