notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2023Q2
binutils GNU binary tools
2.40_4,1 devel on this many watch lists=0 search for ports that depend on this port This port version is marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.40_4,1Version of this port present on the latest quarterly branch.
Maintainer: cy@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-04-25 16:26:18
Last Update: 2023-05-14 05:25:25
Commit Hash: 18b00e3
License: GPLv3 LGPL3
WWW:
https://www.gnu.org/software/binutils/
Description:
The GNU Binutils are a collection of binary tools. The main ones are: * ld - the GNU linker. * as - the GNU assembler. Most of these programs use BFD, the Binary File Descriptor library, to do low-level manipulation. Many of them also use the opcodes library to assemble and disassemble machine instructions. This port may be used as a replacement for the system binutils and support features from the latest versions of GCC. For cross-compilation, see the devel/cross-binutils port.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • binutils>0:devel/binutils
Conflicts:
CONFLICTS:
  • libbfd
To install the port:
cd /usr/ports/devel/binutils/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/binutils
  • pkg install binutils
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: binutils
Package flavors (<flavor>: <package>)
  • native: binutils
  • aarch64: aarch64-binutils
  • aarch64_none_elf: aarch64-none-elf-binutils
  • amd64: amd64-binutils
  • arm_gnueabi: arm-gnueabi-binutils
  • arm_none_eabi: arm-none-eabi-binutils
  • avr: avr-binutils
  • i386: i386-binutils
  • mingw32: mingw32-binutils
  • mips: mips-binutils
  • mips64: mips64-binutils
  • powerpc: powerpc-binutils
  • powerpc64: powerpc64-binutils
  • powerpc64le: powerpc64le-binutils
  • riscv64: riscv64-binutils
  • riscv64_none_elf: riscv64-none-elf-binutils
  • s390x: s390x-binutils
  • sparc64: sparc64-binutils
  • riscv32_unknown_elf: riscv32-unknown-elf-binutils
distinfo:
TIMESTAMP = 1673799644 SHA256 (binutils-2.40.tar.lz) = 48e65ecee1bbcf334d7efb4ea8487fe048dea522e5da3bdf7fa42b1ec779ea33 SIZE (binutils-2.40.tar.lz) = 24784952

Packages (timestamps in pop-ups are UTC):
aarch64-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
aarch64-none-elf-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
amd64-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
arm-gnueabi-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
arm-none-eabi-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
avr-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
i386-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
mingw32-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
mips-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
mips64-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
powerpc-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
powerpc64-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
powerpc64le-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
riscv32-unknown-elf-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
riscv64-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
riscv64-none-elf-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
s390x-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.44,12.44,12.33.1_4,12.44,12.44,1-2.33.1_4,1-
FreeBSD:13:quarterly2.44,12.44,12.40_4,12.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest2.44,12.44,12.39,12.44,12.44,12.40_4,1-2.40_4,1
FreeBSD:14:quarterly2.44,12.44,1-2.44,12.44,12.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest2.44,12.44,1n/a2.44,1n/a2.40_5,12.40_5,12.40_5,1
 
sparc64-binutils
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.33.1_4,1---2.33.1_4,1-
FreeBSD:13:quarterly--2.40_4,1--2.40_4,12.40_4,12.40_4,1
FreeBSD:14:latest--2.39,1--2.40_4,1-2.40_4,1
FreeBSD:14:quarterly-----2.40_4,12.40_4,12.40_4,1
FreeBSD:15:latest--n/a-n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. libgmp.so : math/gmp
  2. libmpfr.so : math/mpfr
  3. gmake>=4.3 : devel/gmake
  4. makeinfo : print/texinfo
  5. pkgconf>=1.3.0_1 : devel/pkgconf
  6. msgfmt : devel/gettext-tools
  7. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. indexinfo : print/indexinfo
Library dependencies:
  1. libzstd.so : archivers/zstd
  2. libintl.so : devel/gettext-runtime
This port is required by:
for Build
  1. cad/verilator
  2. devel/llvm-devel
  3. devel/llvm10
  4. devel/llvm11
  5. devel/llvm12
  6. devel/llvm13
  7. devel/llvm14
Expand this list (15 items / 8 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/llvm15
  3. devel/llvm16
  4. graphics/qgis
  5. graphics/qgis-ltr
  6. lang/gcc11
  7. lang/gcc12
  8. multimedia/intel-media-sdk
  9. security/nss
  10. Collapse this list.
for Run
  1. lang/gcc11
  2. lang/gcc12

Configuration Options:
===> The following configuration options are available for binutils-2.40_4,1: NLS=on: Native Language Support RELRO=off: Enable relocation memory corruption mitigation (-z relro) by default ===> Use 'make config' to modify these settings
Options name:
devel_binutils
USES:
bison:alias compiler:env cpe gmake localbase libtool makeinfo perl5 pkgconfig tar:lz localbase gettext
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. ftp://ftp.funet.fi/pub/mirrors/sourceware.org/pub/binutils/releases/
  2. https://mirrors.kernel.org/sourceware/binutils/releases/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.40_4,1
14 May 2023 05:25:25
commit hash: 18b00e31b24344d2b72e32d56174015ae8b91fe7commit hash: 18b00e31b24344d2b72e32d56174015ae8b91fe7commit hash: 18b00e31b24344d2b72e32d56174015ae8b91fe7commit hash: 18b00e31b24344d2b72e32d56174015ae8b91fe7 files touched by this commit This port version is marked as vulnerable.
Cy Schubert (cy) search for other commits by this committer
devel/binutils: Fix abort() in mingw32

Building mingw32 results in a binutils abort() trap. Upstream commit
b7eab2a9d4f fixes this. Upstream commit log message states:

    the early-out in wild_sort is not enough, it might still be
    that filenames are equal _and_ the wildcard list doesn't specify
    a sort order either.  Don't call compare_section then.

PR:			271405
Reported by:		shurd
Upstream commit:	b7eab2a9d4f (identified by shurd)

(cherry picked from commit 783bf3a6159aadc5696192e040abae2c311c8b8c)
2.40_3,1
25 Apr 2023 15:22:48
commit hash: 8098bf5371cf0eac0d3039aedfe2b7d90c4ad1b5commit hash: 8098bf5371cf0eac0d3039aedfe2b7d90c4ad1b5commit hash: 8098bf5371cf0eac0d3039aedfe2b7d90c4ad1b5commit hash: 8098bf5371cf0eac0d3039aedfe2b7d90c4ad1b5 files touched by this commit This port version is marked as vulnerable.
Cy Schubert (cy) search for other commits by this committer
Author: Emanuel Haupt
devel/binutils: Setting sh_link for SHT_REL/SHT_RELA

Import upstream commit 6b958fe36b7:

It's wrong to have an alloc reloc section trying to use a non-alloc
symbol table.

	* elf.c (assign_section_numbers <SHT_REL, SHT_RELA>): Correct
	comment.  Always set sh_link to .dynsym for alloc reloc
	sections and to .symtab for non-alloc.

This also fixes strip when using llvm-strip, i.e. when base built with
WITH_LLVM_BINUTILS.

PR:		271061, see also: 270961, 270960
Reported by:	Emanuel Haupt <ehaupt@FreeBSD.org>
Approved by:	cy
Obtained from:	Upstream commit 6b958fe36b7

(cherry picked from commit 898053f9100240f305a2bc6d49998a13728d3a71)

Number of commits found: 2