[Bug 220024] head -r319991 clang powerpc64 and powerpc toolchains (cross build target): boot1.o: In function `fsread_size': undefined reference to `__udivdi3' (INO64 involved)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 29 20:40:30 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220024

--- Comment #11 from Mark Millard <marklmi26-fbsd at 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
===================================================================
--- stand/powerpc/boot1.chrp/Makefile   (revision 338341)
+++ stand/powerpc/boot1.chrp/Makefile   (working copy)
@@ -7,7 +7,7 @@
 INSTALLFLAGS=   -b

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

 CFLAGS+=-I${LDRSRC}
 LDFLAGS=-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.

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


More information about the freebsd-toolchain mailing list