From owner-freebsd-toolchain@freebsd.org Thu Aug 30 00:56:13 2018 Return-Path: Delivered-To: freebsd-toolchain@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 21CF6108B36E for ; Thu, 30 Aug 2018 00:56:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A2F7389CC5 for ; Thu, 30 Aug 2018 00:56:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 62243108B36D; Thu, 30 Aug 2018 00:56:12 +0000 (UTC) Delivered-To: toolchain@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 40352108B36C for ; Thu, 30 Aug 2018 00:56:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4E8E89CC0 for ; Thu, 30 Aug 2018 00:56:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 16BF01044C for ; Thu, 30 Aug 2018 00:56:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w7U0uAun044059 for ; Thu, 30 Aug 2018 00:56:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w7U0uAoA044058 for toolchain@FreeBSD.org; Thu, 30 Aug 2018 00:56:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 220024] head -r319991 clang powerpc64 and powerpc toolchains (cross build target): boot1.o: In function `fsread_size': undefined reference to `__udivdi3' (INO64 involved) Date: Thu, 30 Aug 2018 00:56:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2018 00:56:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220024 --- Comment #14 from Mark Millard --- (In reply to Mark Millard from comment #13) Hmm. Looking around shows stand/powerpc possibly not using libsa* at all: # grep -r stand/libsa /usr/src/stand/ | grep -v "BSD[(:]" | more /usr/src/stand/userboot/userboot/Makefile.depend: stand/libsa \ /usr/src/stand/efi/boot1/Makefile.depend: stand/libsa \ /usr/src/stand/efi/loader/Makefile.depend: stand/libsa \ /usr/src/stand/i386/gptzfsboot/Makefile.depend: stand/libsa32 \ /usr/src/stand/i386/gptboot/Makefile.depend: stand/libsa32 \ /usr/src/stand/i386/loader/Makefile.depend: stand/libsa32 \ /usr/src/stand/i386/zfsboot/Makefile.depend: stand/libsa32 \ # grep -r SRCS /usr/src/stand/powerpc/ /usr/src/stand/powerpc/kboot/Makefile:SRCS=3D conf.c vers.c mai= n.c ppc64_elf_freebsd.c /usr/src/stand/powerpc/kboot/Makefile:SRCS+=3D host_syscall.S hostcons.c hostdisk.c kerneltramp.S kbootfdt.c /usr/src/stand/powerpc/kboot/Makefile:SRCS+=3D ucmpdi2.c /usr/src/stand/powerpc/boot1.chrp/Makefile:SRCS=3D boot1.c ashldi3.c syncicache.c /usr/src/stand/powerpc/ofw/Makefile:SRCS=3D conf.c vers.c mai= n.c elf_freebsd.c ppc64_elf_freebsd.c start.c /usr/src/stand/powerpc/ofw/Makefile:SRCS+=3D ucmpdi2.c /usr/src/stand/powerpc/ofw/Makefile:SRCS+=3D ofwfdt.c /usr/src/stand/powerpc/uboot/Makefile:SRCS=3D start.S conf.c ve= rs.c /usr/src/stand/powerpc/uboot/Makefile:SRCS+=3D ucmpdi2.c (My patch is omitted above.) So Warner's note would seem to be asking for a bigger reorganization for stand/powerpc/*/ I'll note that building for amd64, aarch64, armv7, powerpc64, and powerpc it was only powerpc* boot1.chrp that failed historically. But I've not built for all architectures. ashldi3.c in stand/powerpc/boot1.chrp/Makefile would overlap with stand/libsa/Makefile also listing it as stands: .if ${MACHINE_CPUARCH} =3D=3D "powerpc" .PATH: ${LIBC_SRC}/quad SRCS+=3D ashldi3.c ashrdi3.c lshrdi3.c SRCS+=3D syncicache.c .endif The same for syncicache.c . --=20 You are receiving this mail because: You are the assignee for the bug.=