Date: Thu, 30 Aug 2018 00:56:11 +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-MT4FnJVxPk@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 #14 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #13) Hmm. Looking around shows stand/powerpc possibly not using libsa* at all: # grep -r stand/libsa /usr/src/stand/ | grep -v "BSD[(:]" | more /usr/src/stand/userboot/userboot/Makefile.depend: stand/libsa \ /usr/src/stand/efi/boot1/Makefile.depend: stand/libsa \ /usr/src/stand/efi/loader/Makefile.depend: stand/libsa \ /usr/src/stand/i386/gptzfsboot/Makefile.depend: stand/libsa32 \ /usr/src/stand/i386/gptboot/Makefile.depend: stand/libsa32 \ /usr/src/stand/i386/loader/Makefile.depend: stand/libsa32 \ /usr/src/stand/i386/zfsboot/Makefile.depend: stand/libsa32 \ # grep -r SRCS /usr/src/stand/powerpc/ /usr/src/stand/powerpc/kboot/Makefile:SRCS=3D conf.c vers.c mai= n.c ppc64_elf_freebsd.c /usr/src/stand/powerpc/kboot/Makefile:SRCS+=3D host_syscall.S hostcons.c hostdisk.c kerneltramp.S kbootfdt.c /usr/src/stand/powerpc/kboot/Makefile:SRCS+=3D ucmpdi2.c /usr/src/stand/powerpc/boot1.chrp/Makefile:SRCS=3D boot1.c ashldi3.c syncicache.c /usr/src/stand/powerpc/ofw/Makefile:SRCS=3D conf.c vers.c mai= n.c elf_freebsd.c ppc64_elf_freebsd.c start.c /usr/src/stand/powerpc/ofw/Makefile:SRCS+=3D ucmpdi2.c /usr/src/stand/powerpc/ofw/Makefile:SRCS+=3D ofwfdt.c /usr/src/stand/powerpc/uboot/Makefile:SRCS=3D start.S conf.c ve= rs.c /usr/src/stand/powerpc/uboot/Makefile:SRCS+=3D ucmpdi2.c (My patch is omitted above.) So Warner's note would seem to be asking for a bigger reorganization for stand/powerpc/*/ I'll note that building for amd64, aarch64, armv7, powerpc64, and powerpc it was only powerpc* boot1.chrp that failed historically. But I've not built for all architectures. ashldi3.c in stand/powerpc/boot1.chrp/Makefile would overlap with stand/libsa/Makefile also listing it as stands: .if ${MACHINE_CPUARCH} =3D=3D "powerpc" .PATH: ${LIBC_SRC}/quad SRCS+=3D ashldi3.c ashrdi3.c lshrdi3.c SRCS+=3D syncicache.c .endif The same for syncicache.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-MT4FnJVxPk>