svn commit: r456402 - in head/lang/ocaml: . files

Ed Maste emaste at freebsd.org
Thu Nov 7 14:30:50 UTC 2019


On Sat, 16 Dec 2017 at 02:45, Alexey Dokuchaev <danfe at freebsd.org> wrote:
>
> Yes, that's what first comes to mind, but I want to understand first
> why there is not as(1) on some targets in the first placed, while it
> is installed on clangish i386/amd64.

In-tree binutils does not support arm64, so that's why arm64 has no
/usr/bin/as.This is also the case for riscv. Other archs that have
always used binutils still install two or three binutils programs:

as, objdump (no ld.bfd):
armv6, armv7, amd64, i386

as, objdump, ld.bfd
arm, mils*, powerpc*, sparc64

No binutils at all:
arm64/aarch64, riscv

Note that there is work in progress to remove as and objdump from all
architectures. For as see exp-run PR 205250, which shows 11 ports
failing on amd64 with no /usr/bin/as:

emulators/qemu-devel, emulators/qemu-sbruno
emulators/vmw
lang/ccl
lang/fpc
lang/mit-scheme
lang/ocaml, lang/ocaml-nox11
lang/smlnj
lang/ypsilon
multimedia/libxine

We'll want to either change the build rules in those ports to invoke
the compiler driver as an assembler (as we do in the base system), or
more likely just have the ports depend on and use the binutils port.


More information about the svn-ports-all mailing list