It seems the break was caused by this part of the change:

Index: stand/powerpc/kboot/Makefile
===================================================================
--- stand/powerpc/kboot/Makefile (revision 348004)
+++ stand/powerpc/kboot/Makefile (revision 348005)
@@ -36,9 +36,6 @@

 LDFLAGS= -nostdlib -static -T ${.CURDIR}/ldscript.powerpc

-# 64-bit bridge extensions
-CFLAGS+= -Wa,-mppc64bridge
-
 DPADD= ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA}
 LDADD= ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA}

The integrated assembler of clang doesn't support the -mppc64bridge option,
that is why it was removed.

Fortunately, Justin noticed that kboot is only made for powerpc64 systems
and fixed this in r348028.

Cheers,
-Leandro

On Mon, May 20, 2019 at 10:00 PM Ian Lepore <i...@freebsd.org> wrote:

> On Mon, 2019-05-20 at 17:54 -0700, Enji Cooper wrote:
> > Hi,
> >       The following build issue has been cropping up over the past 6
> hours. From
> https://ci.freebsd.org/job/FreeBSD-head-powerpcspe-build/11154/console :
> >
> > 12:49:01 /usr/src/stand/powerpc/kboot/kerneltramp.S: Assembler messages:
> > 12:49:01 /usr/src/stand/powerpc/kboot/kerneltramp.S:88: Error:
> Unrecognized opcode: `rldicr'
> > 12:49:01 /usr/src/stand/powerpc/kboot/kerneltramp.S:96: Error:
> Unrecognized opcode: `rfid'
> >
> >       This code hasn’t changed for some time. I’m not sure what
> > triggered the issue, but I suspect it has to deal with an external
> > [toolchain] change.
> > Cheers!
> > -Enji
>
>
> r347992 seems like a good candidate.
>
> -- Ian
>
>
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to