[Bug 224217] [patch] Fix cross build of base/ ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 17 23:36:36 UTC 2018


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

--- Comment #27 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to commit-hook from comment #22)

base/binutils/pkg-plist.sparc64 and
base/binutils/pkg-plist.powerpc64 list:

bin/as
bin/ld
bin/ld.bfd
bin/objcopy
bin/objdump

This appears to imply that the README's sparc64 example lines:

2/ cross build world
make CROSS_TOOLCHAIN=sparc64-gcc TARGET=sparc64 TARGET_ARCH=sparc64 buildworld

are intended to be based on (implicitly or
explicitly) WITHOUT_BINUTILS= so that the
files listed are only from base/binutils .
This is likely because the system binutils
are insufficient in some cases for the likes
of, at least, powerpc64.

WITHOUT_BINUTILS= is the default only for arm64/aarch64,
riscv/riscv64, and riscv/riscv64sf according to the
man src.conf that I'm reading.

(It turns out my normal/historical cross-builds include
the system binutils by not having been explicit to avoid
such, both for system-clang based builds and for
powerpc64-xtoolchain-gcc based builds: Not the best way
to test base/binutils use. My test target-context here is:
powerpc64.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-pkg mailing list