Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2018 20:40:28 +0000
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)
Message-ID:  <bug-220024-29464-vXZ99TJbOL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220024-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220024-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220024

--- Comment #11 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Linimon from comment #10)

I've still got the patch in my environment:

# svnlite diff stand/powerpc/boot1.chrp/Makefile
Index: stand/powerpc/boot1.chrp/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/boot1.chrp/Makefile   (revision 338341)
+++ stand/powerpc/boot1.chrp/Makefile   (working copy)
@@ -7,7 +7,7 @@
 INSTALLFLAGS=3D   -b

 FILES=3D         boot1.hfs
-SRCS=3D          boot1.c ashldi3.c syncicache.c
+SRCS=3D          boot1.c qdivrem.c udivdi3.c ashldi3.c syncicache.c

 CFLAGS+=3D-I${LDRSRC}
 LDFLAGS=3D-nostdlib -static -Wl,-N

but I do not have access to the powerpc64's or powerpc's
currently and likely will not for weeks or months.

I do amd64 -> powerpc* cross-build buildworld buildkernel for
them on occasion. I've not tried without the patch, however.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220024-29464-vXZ99TJbOL>