[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
Wed Feb 10 11:55:42 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251570

--- Comment #8 from Mark Millard <marklmi26-fbsd at 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=arm64
TARGET_ARCH=aarch64

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=cc matches the source tree.  Not bootstrapping a cross-compiler.
make[1]: "/usr/src/Makefile.inc1" line 325: SYSTEM_LINKER: Determined that
LD=ld 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.

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


More information about the freebsd-bugs mailing list