Subject: cross build on leopard with xcode 3.0
To: Current Users <current-users@netbsd.org>
From: matthew sporleder <msporleder@gmail.com>
List: current-users
Date: 12/20/2007 16:33:02
Hey, guys. I haven't been able to build tools on leopard. Is anyone
else doing this?
/Users/msporleder/Documents/netbsd/src/tools/gcc/../../gnu/dist/gcc4/gcc/config/rs6000/host-darwin.c:120:
error: 'struct __darwin_mcontext' has no member named 'es'
/Users/msporleder/Documents/netbsd/src/tools/gcc/../../gnu/dist/gcc4/gcc/config/rs6000/host-darwin.c:120:
error: 'struct __darwin_mcontext' has no member named 'ss'
/Users/msporleder/Documents/netbsd/src/tools/gcc/../../gnu/dist/gcc4/gcc/config/rs6000/host-darwin.c:
In function 'darwin_rs6000_extra_signals':
/Users/msporleder/Documents/netbsd/src/tools/gcc/../../gnu/dist/gcc4/gcc/config/rs6000/host-darwin.c:134:
warning: passing argument 1 of 'sigaltstack' from incompatible pointer
type
nbgmake[1]: *** [host-ppc-darwin.o] Error 1
nbgmake[1]: Leaving directory
`/Users/msporleder/Documents/netbsd/obj/Users/msporleder/Documents/netbsd/src/tools/gcc/build/gcc'
nbgmake: *** [all-gcc] Error 2
*** Failed target: .build_done
*** Failed command: (cd build && /usr/bin/env -i
gcc_cv_libc_provides_ssp=yes CC=cc CFLAGS=-O2\ -no-cpp-precomp
CPPFLAGS= CXX=c++ CXXFLAGS=-O
INSTALL=/Users/msporleder/Documents/netbsd/tools/bin/i386--netbsdelf-install\
-c\ \ -r LDFLAGS= AR=ar RANLIB=ranlib
LEX=/Users/msporleder/Documents/netbsd/tools/bin/nblex
MAKE=/Users/msporleder/Documents/netbsd/tools/bin/nbgmake
PATH="/Users/msporleder/Documents/netbsd/tools/bin:$PATH"
YACC=/Users/msporleder/Documents/netbsd/tools/bin/nbyacc MACHINE=
MAKEINFO=/Users/msporleder/Documents/netbsd/tools/bin/nbmakeinfo
LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS=
CPPFLAGS=-DNETBSD_TOOLS AR=ar RANLIB=ranlib BISON=true DESTDIR=
INSTALL=/Users/msporleder/Documents/netbsd/tools/bin/i386--netbsdelf-install\
-c\ \ -r /Users/msporleder/Documents/netbsd/tools/bin/nbgmake -e
MACHINE= MAKEINFO=/Users/msporleder/Documents/netbsd/tools/bin/nbmakeinfo
LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS=
CPPFLAGS=-DNETBSD_TOOLS AR=ar RANLIB=ranlib BISON=true DESTDIR=
INSTALL=/Users/msporleder/Documents/netbsd/tools/bin/i386--netbsdelf-install\
-c\ \ -r all-gcc)
*** Error code 2
Stop.
nbmake: stopped in /Users/msporleder/Documents/netbsd/src/tools/gcc
*** Failed target: dependall
*** Failed command: cd
/Users/msporleder/Documents/netbsd/src/tools/gcc;
/Users/msporleder/Documents/netbsd/tools/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /Users/msporleder/Documents/netbsd/src/tools/gcc
*** Failed target: dependall-gcc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this=""; real="/Users/msporleder/Documents/netbsd/src/tools" ;; *)
this="${dir}/";
real="/Users/msporleder/Documents/netbsd/src/tools/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /Users/msporleder/Documents/netbsd/tools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gcc dependall
*** Error code 1
Stop.
nbmake: stopped in /Users/msporleder/Documents/netbsd/src/tools
ERROR: Failed to make dependall tools
*** BUILD ABORTED ***