Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Dec 2020 23:27:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251570] Release script passes CPUTYPE variable to both host and target build from MAKE_CONF file
Message-ID:  <bug-251570-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: daniel.engberg.lists@pyret.net
                CC: gjb@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251570-227>