<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/gnu/usr.bin/binutils, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-12-15T17:44:19Z</updated>
<entry>
<title>Retire obsolete GDB 6.1.1</title>
<updated>2020-12-15T17:44:19Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-12-15T17:44:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1c0ea326aa6d30385a69bd1d93ee161cfbe59a5a'/>
<id>urn:sha1:1c0ea326aa6d30385a69bd1d93ee161cfbe59a5a</id>
<content type='text'>
GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D27610
</content>
</entry>
<entry>
<title>Remove now-unused GNU as build infrastructure</title>
<updated>2020-06-07T13:53:23Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-06-07T13:53:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=90b9aa475e9e80845dd6bbde40e749ae72c11557'/>
<id>urn:sha1:90b9aa475e9e80845dd6bbde40e749ae72c11557</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Retire BINUTILS and BINUTILS_BOOTSTRAP options</title>
<updated>2020-06-07T00:07:21Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-06-07T00:07:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=74e8d41e0ac818cfcb020b8bccbc39b0e264f47f'/>
<id>urn:sha1:74e8d41e0ac818cfcb020b8bccbc39b0e264f47f</id>
<content type='text'>
As of r361857 all BINUTILS options are disabled by default - ports
have been changed to depend on binutils if they require GNU as, and
all base system assembly files have been switched to use Clang's
integrated assembler.

Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Remove GNU objcopy and objdump build infrastructure</title>
<updated>2020-06-06T02:45:57Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-06-06T02:45:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0ad202f312f6da4f2774ecb7a3f3c2a05b3dde5f'/>
<id>urn:sha1:0ad202f312f6da4f2774ecb7a3f3c2a05b3dde5f</id>
<content type='text'>
We haven't used the GNU versions of these tools for some time.
</content>
</entry>
<entry>
<title>binutils: build as with BINUTILS || BINUTILS_BOOTSTRAP</title>
<updated>2020-05-30T19:16:33Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-05-30T19:16:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=af097a7d500a9b798bd90bf978d95ff15c484dac'/>
<id>urn:sha1:af097a7d500a9b798bd90bf978d95ff15c484dac</id>
<content type='text'>
Previously we descended into as only if MK_BINUTILS was true, including
during the bootstrap tool phase.  BINUTILS is now disabled by default on
all archs, and we failed to build it during amd64 bootstrap.

Descend into as if either BINUTILS or BINUTILS_BOOTSTRAP is enabled.

This is not quite correct: we should either have the test also depend on
BOOTSTRAPPING, or set BINUTILS to the value of BINUTILS_BOOTSTRAP during
the bootstrap phase.  However, this simple change fixes the build and
has been tested, and binutils will be removed completely in the near
future.
</content>
</entry>
<entry>
<title>binutils: disconnect objdump from the build</title>
<updated>2020-05-06T18:38:40Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-05-06T18:38:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80b7615484dbbe269123dd23a14fdee2540a0b7d'/>
<id>urn:sha1:80b7615484dbbe269123dd23a14fdee2540a0b7d</id>
<content type='text'>
The in-tree binutils is old and will not be updated.  It does not support
all archs supported by FreeBSD, and for the archs it does support not all
CPU features are supported.

Other tools have migrated to copyfree alternatives.  Although llvm-objdump
is nearly a drop-in replacement for GNU objdump it is missing a few options
and has some differences in output format.  For now just remove GNU objdump;
ports and developers can use a contemporary, maintained version from ports
or packages.  We can revisit installing llvm-objdump as objdump in the
future.

PR:		212319 [exp-run]
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D7338
</content>
</entry>
<entry>
<title>remove binutils ld leftovers</title>
<updated>2020-03-27T19:17:45Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-03-27T19:17:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=93e59da23871325a1156150cb1ed5f488a23c6be'/>
<id>urn:sha1:93e59da23871325a1156150cb1ed5f488a23c6be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Now that there are no remaining users of ld.bfd, remove the ld subdir.</title>
<updated>2020-03-27T01:12:11Z</updated>
<author>
<name>Brandon Bergren</name>
<email>bdragon@FreeBSD.org</email>
</author>
<published>2020-03-27T01:12:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ded22b4527ff4f981cbf563d0ed741c4a3bd2587'/>
<id>urn:sha1:ded22b4527ff4f981cbf563d0ed741c4a3bd2587</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[PowerPC] Switch powerpc and powerpcspe to lld</title>
<updated>2020-03-27T01:00:03Z</updated>
<author>
<name>Brandon Bergren</name>
<email>bdragon@FreeBSD.org</email>
</author>
<published>2020-03-27T01:00:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a04ec978b369e3a2651b050fff8b11aaf0a9dcd7'/>
<id>urn:sha1:a04ec978b369e3a2651b050fff8b11aaf0a9dcd7</id>
<content type='text'>
Now that LLD 10 is out, and required patches have landed, we are now ready
to finally switch away from the ancient in-tree ld.bfd.

Special thanks to Fangrui Song for many hours of work on getting the
32-bit powerpc lld ready for prime-time.

Reviewed by:	emaste (earlier revision), jhibbits
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D24111
</content>
</entry>
<entry>
<title>limit building GNU assembler (as) to x86</title>
<updated>2020-01-19T19:16:32Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-01-19T19:16:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7793be975280a69f1c0bfb5fee3c6ec0da356a7f'/>
<id>urn:sha1:7793be975280a69f1c0bfb5fee3c6ec0da356a7f</id>
<content type='text'>
GNU as 2.17.50 is currently required by amd64 and i386 for at least one
file that cannot be assembled by Clang's integrated assembler (IAS).
Other supported CPU architectures either use Clang IAS for all assembly
files, or rely on external toolchain.

Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D23180
</content>
</entry>
</feed>
