Page MenuHomeFreeBSD

Drop objcopy from base/binutils for sparc64 and powerpc64.
AbandonedPublic

Authored by jhb on May 23 2018, 11:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 10, 6:41 PM
Unknown Object (File)
Dec 10 2025, 6:29 AM
Unknown Object (File)
Nov 21 2025, 4:07 AM
Unknown Object (File)
Nov 21 2025, 4:06 AM
Unknown Object (File)
Nov 21 2025, 4:04 AM
Unknown Object (File)
Nov 10 2025, 5:01 AM
Unknown Object (File)
Nov 5 2025, 10:25 PM
Unknown Object (File)
Nov 5 2025, 10:23 PM

Details

Reviewers
bapt
bdrewery
Summary

All FreeBSD platforms now use objcopy from ELF toolchain, so
base/binutils should not install an objcopy binary.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 16794
Build 16679: arc lint + arc unit

Event Timeline

10.4 uses elftoolchain objcopy as well?

This revision is now accepted and ready to land.May 24 2018, 8:02 PM

10.4 does not use elf toolchain for objcopy. OTOH, I personally kind of consider base/* to not yet be production ready and probably a 12.0+ thing. We could try to make objcopy conditional, but we would need some way to know the target OS version (rather than the host version). Perhaps I could make that work by grabbing the OS version from a file in CROSS_SYSROOT (usr/include/sys/param.h or the like)

Replaced by D15813 which does handle objcopy even on 10.4 though we might G/C that conditional at some point in the future.