Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2018 00:24:22 +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-etbipjSwn7@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 #13 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Warner Losh from comment #12)

Okay.

I'll note that both stand/libsa/Makefile and stand/powerpc/boot1.chrp/Makef=
ile
list SRCS has including ashldi3.c :

.if ${MACHINE_CPUARCH} =3D=3D "powerpc"
.PATH: ${LIBC_SRC}/quad
SRCS+=3D  ashldi3.c ashrdi3.c lshrdi3.c
SRCS+=3D  syncicache.c
.endif

vs. (without my patch):

SRCS=3D           boot1.c ashldi3.c syncicache.c

But also note the  +=3D vs. =3D use.

Some old material may also then be moved for where
it is listed, not just qdivrem.c and udivdi3.c .

--=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-etbipjSwn7>