Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2021 11:55:41 +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-wNl4vmrvHl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251570-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251570-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251570

--- Comment #8 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to daniel.engberg.lists from comment #7)

Hard to tell if you did what Ed listed (#4) vs. what I listed (#5/#6)
or both (at different times).

Does your MAKE_CONF or SRC_CONF file specify:

TARGET=3Darm64
TARGET_ARCH=3Daarch64

so that the likes of -target x86_64-unknown-freebsd14.0 will
not be used but the likes of -target aarch64-unknown-freebsd14.0
will be used?

The "valid target CPU values" listed are all x86-64/amd64 variations.
Is it system clang/clang++ that is in use? If it is, is there any
WITHOUT_LLVM_TARGET_??? use? Does the compile-command-line also
specify -target x86_64-unknown-freebsd14.0 (or 13.0) or some such
that would restrict the possibilities? Is the context gcc/g++ based
instead?

Is the build reporting things like:

--- buildworld ---
make[1]: "/usr/src/Makefile.inc1" line 320: SYSTEM_COMPILER: Determined that
CC=3Dcc matches the source tree.  Not bootstrapping a cross-compiler.
make[1]: "/usr/src/Makefile.inc1" line 325: SYSTEM_LINKER: Determined that
LD=3Dld matches the source tree.  Not bootstrapping a cross-linker.

You might want to provide more of the content from input files used with
MAKE_CONF and SRC_CONF and such and output material from the build showing =
the
command lines being used to do the compiles.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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