From owner-freebsd-current@freebsd.org Tue May 21 13:22:28 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76BDD15ADC49 for ; Tue, 21 May 2019 13:22:28 +0000 (UTC) (envelope-from luporl@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B5C08D6AB; Tue, 21 May 2019 13:22:28 +0000 (UTC) (envelope-from luporl@freebsd.org) Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: luporl/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id D7BAE6D4A; Tue, 21 May 2019 13:22:27 +0000 (UTC) (envelope-from luporl@freebsd.org) Received: by mail-io1-f47.google.com with SMTP id g16so13896297iom.9; Tue, 21 May 2019 06:22:27 -0700 (PDT) X-Gm-Message-State: APjAAAXQRJd42lqDkKmy1QnUMmaRuwmBfVeVc8p3AgpUN4ToptCWOHDj 31LHQZub/uA+8mAa99TdjX0JU4ij9FafkK6Ddik= X-Google-Smtp-Source: APXvYqxyZ7Gs4FujbpP5TtbKndVvyhyfbF079ehIc16B7m5STwOUaybwh5FdZyS1I4VMytBmPADwo7e6uDyUQkW1cB8= X-Received: by 2002:a6b:8e84:: with SMTP id q126mr26574669iod.118.1558444947290; Tue, 21 May 2019 06:22:27 -0700 (PDT) MIME-Version: 1.0 References: <839E4F29-0AAC-41C4-A76B-BD218BD8ECBC@gmail.com> <591e35a8be29738fd380c4535d2d13024e7138f9.camel@freebsd.org> In-Reply-To: <591e35a8be29738fd380c4535d2d13024e7138f9.camel@freebsd.org> From: luporl Date: Tue, 21 May 2019 10:22:15 -0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ci.freebsd.org: powerpcspe build failing due to linker error in assembly code To: Ian Lepore Cc: Enji Cooper , Justin Hibbits , Li-Wen Hsu , FreeBSD CURRENT X-Rspamd-Queue-Id: 1B5C08D6AB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2019 13:22:28 -0000 It seems the break was caused by this part of the change: Index: stand/powerpc/kboot/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- stand/powerpc/kboot/Makefile (revision 348004) +++ stand/powerpc/kboot/Makefile (revision 348005) @@ -36,9 +36,6 @@ LDFLAGS=3D -nostdlib -static -T ${.CURDIR}/ldscript.powerpc -# 64-bit bridge extensions -CFLAGS+=3D -Wa,-mppc64bridge - DPADD=3D ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA} LDADD=3D ${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 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=E2=80=99t changed for some time. I=E2=80=99m not s= ure 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 > >