Sunday, December 31, 2023

Re: as cannot do endbr64 instructions (too old)

On Sun, Dec 31, 2023 at 09:55:25AM -0700, Theo de Raadt wrote:

> That's curious.
>
> We never invoke as directly these days.
>
> It feels like an upstream llvm bug, and I say that because noone else has
> embraced BTI/IBT as much as we have, everyone else is still considering it
> a thing for specific applications or the future.

/usr/bin/as is stil GNU as (at least on amd64).

-Otto

>
> Lorenz (xha) <me@xha.li> wrote:
>
> > hi misc@,
> >
> > like the subject says, `as` in the base system cannot do endbr64
> > instructions. should it be updated?
> >
> > background: i am maintaining hare for openbsd and we always have
> > to install "gas" from the "binutils" package because the normal one
> > is too old. i'd be nice if we don't depend on any packages from
> > ports and don't have some specific workarounds in hare just for
> > openbsd because "as" is too old.
> >
> > if updating "as" is not an option, is there a way to invoke the
> > llvm assembler directly in the base system?
> >
> > thanks.
> >
> > - lorenz
> >
>

No comments:

Post a Comment