[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
Sat Jun 17 02:02:05 UTC 2017


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

--- Comment #5 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Mark Millard from comment #4)

I should have noted up front that:

/usr/src/sys/boot/powerpc/boot1.chrp/boot1.c

does:

#include "ufsread.c"

and that is the context of the __udivdi3
use that is rejected at link time when
clang is used to buildworld for powerpc
or powerpc64.



As for potential INO64 issues beyond
__udivdi3 use and needin got have it
available for linking:

My original comment #4 might really trace
back to boot1.c needing to be different
even if ufsread.c stays the same.

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


More information about the freebsd-bugs mailing list