NetBSD-Bugs archive

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

Re: port-arm/48215: pkg_add fails on recent NetBSD/evbearmv6hf-el current



Alright, after a long time of debugging it seems the situation is as
follows:

* The pkg_install Makefile adds -DMACHINE_ARCH=\"${MACHINE_ARCH}\" to the
  CC flags, where MACHINE_ARCH is the right value of earmhf.

* the pkg_add code pulls in param.h which undefs MACHINE_ARCH and
  replaces it by "earm".

Also I don't understand why MACHINE_ARCH is set to several different
values depending on _KERNEL. Can someone please explain this to me?

Also port-arm/48267 is a duplicate of port-arm/48215, so please close
it. Sorry about that.


Home | Main Index | Thread Index | Old Index