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)
Thu, Aug 13, 8:30 PM
Unknown Object (File)
Sat, Aug 8, 5:34 PM
Unknown Object (File)
Fri, Aug 7, 3:04 PM
Unknown Object (File)
Thu, Aug 6, 12:38 PM
Unknown Object (File)
Jul 13 2026, 8:56 AM
Unknown Object (File)
Jun 26 2026, 8:43 PM
Unknown Object (File)
Jun 26 2026, 7:50 AM
Unknown Object (File)
Jun 24 2026, 4:56 AM

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.