[Bug 251570] Release script passes CPUTYPE variable to both host and target build from MAKE_CONF file
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 3 23:27:49 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251570
Bug ID: 251570
Summary: Release script passes CPUTYPE variable to both host
and target build from MAKE_CONF file
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: conf
Assignee: bugs at FreeBSD.org
Reporter: daniel.engberg.lists at pyret.net
CC: gjb at FreeBSD.org
While this works when host supports the specified cputype however this breaks
when cross compiling as for instance cortex cores aren't valid options on
amd64.
I guess the simple (and correct?) solution would to be to only pass cputype to
target build.
--------------------------------------------------------------
>>> stage 4.2: building libraries
--------------------------------------------------------------
===> lib/libcompiler_rt (obj,all,install)
===> lib/libssp_nonshared (obj,all,install)
===> lib/libgcc_eh (obj,all,install)
===> lib/libgcc_s (obj,all,install)
error: unknown target CPU 'cortex-a53'
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list