Port details on branch 2023Q2 |
- binutils GNU binary tools
- 2.40_4,1 devel
=0 2.40_4,1Version of this port present on the latest quarterly branch. - Maintainer: cy@FreeBSD.org
 - 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.
¦ ¦ ¦ ¦ 
- 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:
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- libgmp.so : math/gmp
- libmpfr.so : math/mpfr
- gmake>=4.3 : devel/gmake
- makeinfo : print/texinfo
- pkgconf>=1.3.0_1 : devel/pkgconf
- msgfmt : devel/gettext-tools
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- indexinfo : print/indexinfo
- Library dependencies:
-
- libzstd.so : archivers/zstd
- libintl.so : devel/gettext-runtime
- This port is required by:
- for Build
-
- cad/verilator
- devel/llvm-devel
- devel/llvm10
- devel/llvm11
- devel/llvm12
- devel/llvm13
- devel/llvm14
- for Run
-
- lang/gcc11
- 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:
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.40_4,1 14 May 2023 05:25:25
    |
Cy Schubert (cy)  |
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
    |
Cy Schubert (cy)  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
|