elfcopy in src.conf

Sid sid at bsdmail.com
Fri Sep 28 22:35:31 UTC 2018


It's about the src.conf description in 12-current. This isn't urgent and doesn't require a response, but just so those working on 12-current are aware to keep a tab on.

11.2 and 12-current have this
"WITH_BINUTILS
	     Set to build and install binutils (as, ld,	objcopy, and objdump)
	     as	part of	the normal system build."

11.2 has this, but 12-current doesn't
"WITHOUT_ELFCOPY_AS_OBJCOPY"


If elfcopy is doing the job as objcopy in 12-current, then the description for BINUTILS should maybe be without objcopy in src.conf. I'm not sure if also has to do with beyond the manpage description: if BINUTIL's can do without installing objcopy, if elfcopy (as objcopy) is the default. Based your response, maybe it is just a manpage concern.

Thank you for your response.


> Sent: Tuesday, September 11, 2018 at 3:21 PM
> From: "Ed Maste" <emaste at freebsd.org>
> To: Sid <sid at bsdmail.com>
> Cc: "freebsd-toolchain at FreeBSD.org" <freebsd-toolchain at freebsd.org>
> Subject: Re: elfcopy in src.conf
>
> On 11 September 2018 at 14:11, Sid <sid at bsdmail.com> wrote:
> > Hi,
> > In src.conf, from 11.2 to 12-current, the elfcopy option was removed, but objcopy still in the documentation for binutils. I suspect this is about the toolchain too, and not only in the manpage for src.conf.
> >
> > Should objcopy be removed from binutils and from the manpage too?
> 
> I don't fully follow your question, but will provide some background
> that I hope answers it - please let me know if it's still not clear.
> 
> In stable/11 we have a WITH_ELFCOPY_AS_OBJCOPY option which installs
> ELF Tool Chain's elfcopy as objcopy; if not set the GNU binutils
> objcopy is installed (and elfcopy is still available under that name).
> 
> In HEAD we always install ELF Tool Chain's elfcopy as objcopy, and the
> objcopy man page is actually elfcopy's.
> 


More information about the freebsd-toolchain mailing list