Port-hpcarm archive

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

Trouble Cross-compiling for hpcarm (seems related to lang/gcc2)


I currently have three NetBSD/hpcarm systems stuck on NetBSD 6.1 due to the lack of binary packages in pkgsrc. I'd love to move them over to 7.0.1. I am trying to build hpcarm binaries under NetBSD-7.0.1/amd64 and I've run into the same trouble as outlined at the bottom of this page by Silas Cou: http://www.silas.net.br/tech/pkgsrc/pkgsrc-troubleshooting.html

This is on a fresh install of NetBSD/amd64. I unpacked pkgsrc from inside the installer, then followed the instructions outlined here: ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/doc/HOWTO-use-crosscompile

While doing "make package" on /usr/pkgsrc/cross/libtool-base,
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /usr/obj/destdir.hpcarm/var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/obj/destdir.hpcarm/var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for libtool-2.4.2.tar.gz
=> Checksum RMD160 OK for libtool-2.4.2.tar.gz
=> Checksum SHA512 OK for libtool-2.4.2.tar.gz
===> Installing dependencies for cross-libtool-base-hpcarm-2.4.2nb2
=> Full dependency gcc2>=2.95.3nb7: NOT found
=> Verifying package-install for ../../lang/gcc2
=> Bootstrap dependency digest>=20010302: found digest-20160304
ERROR: This package is not available for these platforms: Darwin-*-* Interix-*-* *-*-x86_64 DragonFly-*-* NetBSD-[6789]*-*
ERROR: This package has set PKG_SKIP_REASON:
ERROR: gcc2-2.95.3nb7 is not available for NetBSD-7.0.1-hpcarm
*** Error code 1
make[1]: stopped in /usr/pkgsrc/lang/gcc2
*** Error code 1
make: stopped in /usr/pkgsrc/cross/libtool-base

The above error seems to be related to "NOT_FOR_PLATFORM+=NetBSD-[6789]*-*" in the lang/gcc2 Makefile. Commenting that line out is probably not the right thing to do, but in case it is, that's yielding a whole other set of errors, ultimately transpiring from the fact that arm--netbsdelf-gcc doesn't exist while trying to build lang/gcc2.

mk.conf is as follows (comments stripped for brevity)

.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
TOOLDIR= /usr/obj/tooldir.NetBSD-7.0.1-amd64
CROSS_DESTDIR= /usr/obj/destdir.hpcarm

I'm an admitted newbie to cross-compiling, but I'm beginning to think this is why there aren't any binary packages for NetBSD7/hpcarm yet...



Home | Main Index | Thread Index | Old Index