Re: svn commit: r277497 - head

2015-01-21 Thread Ed Maste
On 21 January 2015 at 14:04, Ed Maste  wrote:
>
> Author: emaste
> Date: Wed Jan 21 19:04:55 2015
> New Revision: 277497
> URL: https://svnweb.freebsd.org/changeset/base/277497
>
> Log:
>   Remove addr2line from cross elftoolchain tools list
>
>   It is not required, and there is no reason to install it just because it
>   came with the binutils cross tools.

I left some detail out of this commit message and it confused a couple
of people, so to be clear: this doesn't remove addr2line from the
world build, only the cross-tools stage.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r277497 - head

2015-01-21 Thread Ian Lepore
On Wed, 2015-01-21 at 15:10 -0500, Ed Maste wrote:
> On 21 January 2015 at 14:04, Ed Maste  wrote:
> >
> > Author: emaste
> > Date: Wed Jan 21 19:04:55 2015
> > New Revision: 277497
> > URL: https://svnweb.freebsd.org/changeset/base/277497
> >
> > Log:
> >   Remove addr2line from cross elftoolchain tools list
> >
> >   It is not required, and there is no reason to install it just because it
> >   came with the binutils cross tools.
> 
> I left some detail out of this commit message and it confused a couple
> of people, so to be clear: this doesn't remove addr2line from the
> world build, only the cross-tools stage.
> 

This is still not good for me.  I use the cross-addr2line tool all the
time, and objdump and other such tools.  I have many different sandboxes
with different arch builds of different freebsd versions, and each one
is a self-contained little development world that includes the cross
tools that are known to work with that source base.  I don't think
there's a single addr2line binary I can install that will work with
every object on the system.

If the time spent building these things is bothering people, maybe we
need a WITH_CROSS_BINUTILS knob or something?

-- Ian


___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r277497 - head

2015-01-21 Thread Ed Maste
On 21 January 2015 at 15:20, Ian Lepore  wrote:
> I don't think
> there's a single addr2line binary I can install that will work with
> every object on the system.

There is, in fact - ELF Tool Chain's addr2line will work regardless of
the object's architecture.

However, I'm happy enough to revert this change (and add a comment
about non-build use cases) if you like.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r277497 - head

2015-01-21 Thread Ian Lepore
On Wed, 2015-01-21 at 16:45 -0500, Ed Maste wrote:
> On 21 January 2015 at 15:20, Ian Lepore  wrote:
> > I don't think
> > there's a single addr2line binary I can install that will work with
> > every object on the system.
> 
> There is, in fact - ELF Tool Chain's addr2line will work regardless of
> the object's architecture.
> 
> However, I'm happy enough to revert this change (and add a comment
> about non-build use cases) if you like.

Do you mean the new one you're working on?  Because that doesn't seem to
be true of the one installed on my 10-stable system right now.  If it is
true of the new one, that's a much better solution, and I can get by
until it's ready for prime time, I think.

-- Ian


___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r277497 - head

2015-01-21 Thread Ed Maste
On 21 January 2015 at 16:49, Ian Lepore  wrote:
> On Wed, 2015-01-21 at 16:45 -0500, Ed Maste wrote:
>> On 21 January 2015 at 15:20, Ian Lepore  wrote:
>> > I don't think
>> > there's a single addr2line binary I can install that will work with
>> > every object on the system.
>>
>> There is, in fact - ELF Tool Chain's addr2line will work regardless of
>> the object's architecture.
>>
>> However, I'm happy enough to revert this change (and add a comment
>> about non-build use cases) if you like.
>
> Do you mean the new one you're working on?  Because that doesn't seem to
> be true of the one installed on my 10-stable system right now.  If it is
> true of the new one, that's a much better solution, and I can get by
> until it's ready for prime time, I think.

Yes, the new one I've been working on. It's now the default in HEAD
(along with nm, strings, size, etc.).

Bringing this to stable/10 would be tricky because it depends on the
new libdwarf in 11 that's not backwards compatible. For that reason
perhaps I ought to just leave them in the cross-tools stage, until we
can assume developers are generally cross building from an 11.x host.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r277497 - head

2015-01-21 Thread Warner Losh

> On Jan 21, 2015, at 5:35 PM, Ed Maste  wrote:
> 
> On 21 January 2015 at 16:49, Ian Lepore  wrote:
>> On Wed, 2015-01-21 at 16:45 -0500, Ed Maste wrote:
>>> On 21 January 2015 at 15:20, Ian Lepore  wrote:
 I don't think
 there's a single addr2line binary I can install that will work with
 every object on the system.
>>> 
>>> There is, in fact - ELF Tool Chain's addr2line will work regardless of
>>> the object's architecture.
>>> 
>>> However, I'm happy enough to revert this change (and add a comment
>>> about non-build use cases) if you like.
>> 
>> Do you mean the new one you're working on?  Because that doesn't seem to
>> be true of the one installed on my 10-stable system right now.  If it is
>> true of the new one, that's a much better solution, and I can get by
>> until it's ready for prime time, I think.
> 
> Yes, the new one I've been working on. It's now the default in HEAD
> (along with nm, strings, size, etc.).
> 
> Bringing this to stable/10 would be tricky because it depends on the
> new libdwarf in 11 that's not backwards compatible. For that reason
> perhaps I ought to just leave them in the cross-tools stage, until we
> can assume developers are generally cross building from an 11.x host.

There’s little harm in leaving it in, and some harm in taking it out… The time 
to build
this stuff is tiny...

Warner

___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"