Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cross-compile on amd64 6.0_BETA2



Hi,

I'm happy to report a successful install of 6.0_BETA2 on a 1.5 Ghz
Powerbook G4 using a single 20M Apple_HFS partition containing the
CD9660 OFW bootloader.  I did have to build a custom kernel to get rid
of the GENERIC Radeon driver which doesn't seem to grok the screen, but
otherwise all is well!

At one point, I was trying to build a cross-compile toolchain on amd64
and it failed with the following error.  I subsequently worked around
why I was needing to do this, so it's no biggie, but I thought I should
at least report it in case it's related to BETA2.  This is not something
I normally do, so it's quite possible that I missed some step.  I tried
the same thing on 5.1.2 and it worked, so that's what led me to believe
that it might be related to the Beta.

Derrell


# /usr/src/build.sh -m macppc tools
===> build.sh command:    /usr/src/build.sh -m macppc tools
===> build.sh started:    Mon Aug 20 11:05:47 PDT 2012
===> NetBSD version:      6.0_BETA2
===> MACHINE:             macppc
===> MACHINE_ARCH:        powerpc
===> Build platform:      NetBSD 6.0_BETA2 amd64
===> HOST_SH:             /bin/sh
     .
     .
     .
build/genautomata 
/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.md \
  insn-conditions.md > tmp-automata.c
[1]   Killed                  build/genautomat...
nbgmake[1]: *** [s-automata] Error 137
nbgmake[1]: Leaving directory `/usr/obj/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 
gcc_cv_as_sparc_gotdata_op=no AR=ar 
AWK=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbawk CC=cc CFLAGS=-O 
CPPFLAGS= CXX=c++ CXXFLAGS=-O 
INSTALL=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/powerpc--netbsd-install\
 -c\ -p\ -r LDFLAGS= LEX=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nblex 
M4=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbm4 
MAKE=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbgmake 
PATH="/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin:$PATH" RANLIB=ranlib 
YACC=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbyacc MACHINE= 
MAKEINFO=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbmakeinfo LIBGCC= 
LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= 
CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ 
-DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR= 
INSTALL=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/powerpc--netbsd-install\
 -c\ -p\ -r /usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbgmake -e MACHINE= 
MAKEINFO=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbmakeinfo LIBGCC= 
LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= 
CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ 
-DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR= 
INSTALL=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/powerpc--netbsd-install\
 -c\ -p\ -r all-gcc)
*** Error code 2

Stop.
nbmake: stopped in /usr/src/tools/gcc

*** Failed target:  dependall
*** Failed command: cd "/usr/src/tools/gcc"; 
/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/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="/usr/src/tools" ;; *) this="${dir}/"; real="/usr/src/tools/${dir}" ;; 
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
"${real}" && /usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gcc dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools

ERROR: Failed to make dependall in "tools"
*** BUILD ABORTED ***



Home | Main Index | Thread Index | Old Index