Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2019 05:44:03 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        Mark Linimon <linimon@lonesome.com>, svn-ports-head@freebsd.org,  svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r456402 - in head/lang/ocaml: . files
Message-ID:  <CAPyFy2D6OJuHbsiQnRoASViLeF%2BXCs-_mNy6y_h-8zWuKJ-SPg@mail.gmail.com>
In-Reply-To: <20171216074512.GB4791@FreeBSD.org>
References:  <201712151531.vBFFV86t045131@repo.freebsd.org> <20171215170122.GA55820@FreeBSD.org> <20171215191612.GA13818@lonesome.com> <20171216074512.GB4791@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Dec 2017 at 02:45, Alexey Dokuchaev <danfe@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2D6OJuHbsiQnRoASViLeF%2BXCs-_mNy6y_h-8zWuKJ-SPg>