[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 Jun 21 22:48:26 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220024
--- Comment #9 from Mark Millard <markmi at dsl-only.net> ---
Created attachment 183694
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=183694&action=edit
Makefile adjustment to compile/link missing routines
As of INO64 involving 64-bit integer types
two more sources need to be compiled (and
the .o's linked in):
udivdi3.c
which in turn requires adding:
qdivrem.c
So overall SRCS ends up as:
SRCS= boot1.c qdivrem.c udivdi3.c ashldi3.c syncicache.c
With this change I was able to build TARGET_ARCH=powerpc
and TARGET_ARCH=powerpc64 .
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list