Date: Fri, 16 Aug 2019 01:00:40 -0700 From: Mark Millard <marklmi@yahoo.com> To: freebsd-ppc@freebsd.org Subject: head -r351102 amd64->powerpc64 built via devel/llvm90 (ports head -r509054) and devel/powerpc64-binutils: a sys/powerpc/aim/trap_subr64.S report Message-ID: <500EE2E6-9249-4A13-8B15-0BDB62421552@yahoo.com>
index | next in thread | raw e-mail
The build reported:
--- kernel.full ---
locore.o: in function `dbtrap':
/usr/src/sys/powerpc/aim/trap_subr64.S:905:(.text+0xa68): toc optimization is not supported for 0x3c210000 instruction
Line 905 turns out to be the addis line of:
GET_TOCBASE(%r1) /* get new SP */
addis %r1,%r1,TOC_REF(trapstk)@ha
ld %r1,TOC_REF(trapstk)@l(%r1)
addi %r1,%r1,(TRAPSTKSZ-48)
Note . . .
This build has lib32 disabled because of what otherwise
stops the build:
--- libc.so.7.full ---
building shared library libc.so.7
/usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to /usr/obj/powerpc64vtsc_xtoolchain-llvm-altbinutils/powerpc.powerpc64/usr/src/powerpc.powerpc64/obj-lib32/tmp/usr/lib32/crtbeginS.o
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libc.so.7.full] Error code 1
Note: The context here has ELFv1, not ELFv2.
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500EE2E6-9249-4A13-8B15-0BDB62421552>
