Justin Hibbits chmeeedalf at gmail.com wrote on Sun Jan 5 18:03:59 UTC 2020 :
> On Sun, 5 Jan 2020 12:21:53 -0500 Ed Maste <emaste at freebsd.org> wrote: > > On Sun, 5 Jan 2020 at 11:59, Ed Maste <emaste at freebsd.org> wrote: > > > > > > Author: emaste > > > Date: Sun Jan 5 16:59:24 2020 > > > New Revision: 356379 > > > URL: https://svnweb.freebsd.org/changeset/base/356379 > > > > > > Log: > > > src.opts.mk: disable BINUTILS_BOOTSTRAP on mips64* > > > > I should probably make this the case for all of mips* and sparc64. > > Using a decade-old binutils with a contemporary compiler (either Clang > > or GCC) isn't likely to be a combination used by anyone else and it's > > not going to be a good use of our time investigating and addressing > > any issues that arise. > powerpc and powerpcspe still use in-tree binutils (or external binutils... > but in-tree works well enough, until we start adding ifuncs), until such a > time that lld is fully functional. FYI: I've tried the following combinations involving devel/binutils@powerpc for 32-bit powerpc, either the kernel crashed extremely early or the build fails to complete. system-clang and devel/binutils@powerpc (the crashing case) devel/gcc9@powerpc and devel/binutils@powerpc (fails to build) (These were cross builds.) On the old 32-bit PowerMacs the crash is before Apple's displayed material is replaced and it gets back to Apple's prompt after the error message. The only combination that I've had success with so far for 32-bit powerpc has been system-clang for buildkernel with the in-tree-binutils used. This may not matter much until ifuncs additions are desired --or ever if lld becomes sufficient first. The build failure is for: --- libc.so.7.full --- /usr/local/bin/powerpc-unknown-freebsd13.0-ld: bss-plt forced due to /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr/lib/crtbeginS.o collect2: error: ld returned 1 exit status *** [libc.so.7.full] Error code 1 As for the crashing case, looking at the kernel produced show significant differences in where ABS is used and some other differences. (I do not claim anything like a complete comparison.) Without work on one or both sides, devel/binutils@powerpc does not seem to be an alternative. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"