Date: Tue, 08 May 2018 01:58:14 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 227918] [PATCH] remove exists check for CROSS_BINUTILS_PREFIX for external clang builds on secondary arches Message-ID: <bug-227918-227-TT1MzigNs4@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-227918-227@https.bugs.freebsd.org/bugzilla/> References: <bug-227918-227@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=3D227918 --- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #5) Ultimately the build failed on assembler notation: (note the double -B usage and the lib32 context, so powerpc target locally, instead of powerpc64) _ERROR_CMD=3D'/usr/local/bin/clang60 -DCOMPAT_32BIT -mcpu=3Dpowerpc -m32 -L/usr/obj/powerpc64vtsc_xtoolchain-llvm/powerpc.powerpc64/usr/src/powerpc.= powerpc64/obj-lib32/tmp/usr/lib32 --sysroot=3D/usr/obj/powerpc64vtsc_xtoolchain-llvm/powerpc.powerpc64/usr/sr= c/powerpc.powerpc64/obj-lib32/tmp -B/usr/local/powerpc64-unknown-freebsd12.0/bin -B/usr/obj/powerpc64vtsc_xtoolchain-llvm/powerpc.powerpc64/usr/src/powerpc.= powerpc64/obj-lib32/tmp/usr/lib32 -O2 -pipe -I/usr/src/lib/csu/common -I/usr/src/lib/libc/include -g -std= =3Dgnu99 -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-ali= gn -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/csu/powerpc/crtn.S -o crtn.o; ;' got errors such as: /usr/src/lib/csu/powerpc/crtn.S:30:11: error: unexpected token in memory operand --- lib/libcompiler_rt__L --- Building /usr/obj/powerpc64vtsc_xtoolchain-llvm/powerpc.powerpc64/usr/src/powerpc.po= werpc64/obj-lib32/lib/libcompiler_rt/ctzsi2.po --- lib/csu__L --- lwz 11,0(1) ^ /usr/src/lib/csu/powerpc/crtn.S:31:10: error: unexpected token in memory operand lwz 0,4(11) ^ --- crti.o --- /usr/src/lib/csu/powerpc/crti.S:29:2: warning: DWARF2 only supports one sec= tion per compilation unit .section .init,"ax",@progbits ^ /usr/src/lib/csu/powerpc/crti.S:34:13: error: unexpected token in memory operand --- crtn.o --- /usr/src/lib/csu/powerpc/crtn.S:32:2: error: invalid instruction mnemonic 'mtlr' mtlr 0 ^~~~ . . . I've restarted it using WITHOUT_LIB32=3D to see if the rest works. --=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-227918-227-TT1MzigNs4>