Re: svn commit: r356379 - head/share/mk
On Sun, 2020-01-05 at 13:17 -0500, Ed Maste wrote: > On Sun, 5 Jan 2020 at 12:53, Yasuhiro KIMURA > wrote: > > > > Just out of curiosity, is there any retirement plan for binutils in > > base system at the moment? > > There's no specific plan, but it is an ongoing goal. Only three > binutils tools are used (for bootstrapping and in the installed > system): as, ld, and objdump. > > BINUTILS_BOOTSTRAP is enabled on x86, 32-bit arm, and powerpc. At > least both x86 archs still use GNU as for a few files; there's work > in > progress to migrate to Clang's IAS for all assembly files. I am not > sure if bootstrap as actually gets used on arm or powerpc. objdump is > also built, but not used on any arch. ld is built on powerpc and > still > being used there; it's not built on x86 or 32-bit arm. > I just set WITHOUT_BINUTILS_BOOTSTRAP in src.conf and did an arm32 crossbuild from amd64 after an rm -rf in $objdir, and both kernel and world built successfully. -- Ian > Making further progress depends on lld maturing (for powerpc) and > addressing the assembler issue. There's no commitment to removing > binutils for 13.0 but there is a reasonable probability we'll be able > to do so. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r356379 - head/share/mk
On Sun, Jan 05, 2020 at 12:17:21PM -0600, Warner Losh wrote: > I'd expect that once the issues [on powerpc] are resolved with clang, > or that platform migrates to an external toolchain AFAIK there never was a fallback plan to migrate powerpc to an external toolchain; powerpc64-head (at least) has already been switched to clang. You'll have to ask jhibbits about 32-bit. mcl ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r356379 - head/share/mk
From: Warner Losh Subject: Re: svn commit: r356379 - head/share/mk Date: Sun, 5 Jan 2020 12:17:21 -0600 > There are no firm plans at the moment. However, it looks like it's not used > except for powerpc. I'd expect that once the issues there are resolved with > clang, or that platform migrates to an external toolchain, binutils in > base's days will be numbered since it is GPL and the project has a long > term goal of being GPL free where possible. From: Ed Maste Subject: Re: svn commit: r356379 - head/share/mk Date: Sun, 5 Jan 2020 13:17:32 -0500 > There's no specific plan, but it is an ongoing goal. Only three > binutils tools are used (for bootstrapping and in the installed > system): as, ld, and objdump. > > BINUTILS_BOOTSTRAP is enabled on x86, 32-bit arm, and powerpc. At > least both x86 archs still use GNU as for a few files; there's work in > progress to migrate to Clang's IAS for all assembly files. I am not > sure if bootstrap as actually gets used on arm or powerpc. objdump is > also built, but not used on any arch. ld is built on powerpc and still > being used there; it's not built on x86 or 32-bit arm. > > Making further progress depends on lld maturing (for powerpc) and > addressing the assembler issue. There's no commitment to removing > binutils for 13.0 but there is a reasonable probability we'll be able > to do so. Thank you for reply. I understand current status and hope binutils is successfully removed from base system before the release of 13.0. --- Yasuhiro KIMURA ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r356379 - head/share/mk
On Sun, 5 Jan 2020 at 12:53, Yasuhiro KIMURA wrote: > > Just out of curiosity, is there any retirement plan for binutils in > base system at the moment? There's no specific plan, but it is an ongoing goal. Only three binutils tools are used (for bootstrapping and in the installed system): as, ld, and objdump. BINUTILS_BOOTSTRAP is enabled on x86, 32-bit arm, and powerpc. At least both x86 archs still use GNU as for a few files; there's work in progress to migrate to Clang's IAS for all assembly files. I am not sure if bootstrap as actually gets used on arm or powerpc. objdump is also built, but not used on any arch. ld is built on powerpc and still being used there; it's not built on x86 or 32-bit arm. Making further progress depends on lld maturing (for powerpc) and addressing the assembler issue. There's no commitment to removing binutils for 13.0 but there is a reasonable probability we'll be able to do so. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r356379 - head/share/mk
On Sun, Jan 5, 2020, 10:53 AM Yasuhiro KIMURA wrote: > From: Warner Losh > Subject: Re: svn commit: r356379 - head/share/mk > Date: Sun, 5 Jan 2020 11:26:07 -0600 > > >> > 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. > >> > > I'd agree. There are lots of bugs or missing features in our binutils > that > > will bite people... > > Just out of curiosity, is there any retirement plan for binutils in > base system at the moment? > There are no firm plans at the moment. However, it looks like it's not used except for powerpc. I'd expect that once the issues there are resolved with clang, or that platform migrates to an external toolchain, binutils in base's days will be numbered since it is GPL and the project has a long term goal of being GPL free where possible. Warner --- > Yasuhiro KIMURA > ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r356379 - head/share/mk
On Sun, 5 Jan 2020 12:21:53 -0500 Ed Maste wrote: > On Sun, 5 Jan 2020 at 11:59, Ed Maste 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. - Justin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r356379 - head/share/mk
From: Warner Losh Subject: Re: svn commit: r356379 - head/share/mk Date: Sun, 5 Jan 2020 11:26:07 -0600 >> > 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. >> > I'd agree. There are lots of bugs or missing features in our binutils that > will bite people... Just out of curiosity, is there any retirement plan for binutils in base system at the moment? --- Yasuhiro KIMURA ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r356379 - head/share/mk
On Sun, Jan 5, 2020, 10:22 AM Ed Maste wrote: > On Sun, 5 Jan 2020 at 11:59, Ed Maste 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. > I'd agree. There are lots of bugs or missing features in our binutils that will bite people... Warner > ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r356379 - head/share/mk
On Sun, 5 Jan 2020 at 11:59, Ed Maste 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. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"