Date: Wed, 21 Jun 2017 22:48:26 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-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-6PDIZSxWiy@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 #9 from Mark Millard <markmi@dsl-only.net> --- Created attachment 183694 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183694&action= =3Dedit 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=3D boot1.c qdivrem.c udivdi3.c ashldi3.c syncicache.c With this change I was able to build TARGET_ARCH=3Dpowerpc and TARGET_ARCH=3Dpowerpc64 . --=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-6PDIZSxWiy>