trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: October 2013

Re: [trinity-devel] TDE strict dependency on binutils in Debian Jessie/Wheezy

From: Michele Calgaro <michele.calgaro@...>
Date: Wed, 23 Oct 2013 13:53:34 +0100 (BST)
>>  Slávek, AFAIR since commit a5ba7ad7 tdelibs supposed to be build without

>>  bfd support by default because backtrace is pretty readable even without
>>  it. May be the dependence in packages are obsolete for now?
> 
> Yes, by default it is off, but for Debian / Ubuntu packages is on. If the 
> backtrace without bfd is good enough, we can for Debian / Ubuntu packages 
> also turn off bfd. This would avoid such a strict dependence.
> 
> What is your opinion?
> 
> 
> Slavek
> 

Doing a full rebuild when binutils gets updated is not a huge problem after all, so we could keep the tight dependency if we really need it. 
On the other hand this could become an issue for users of Debian Stable (and Ubuntu I guess) who uses only official TDE releases and not the nightly builds. If there is an update for Stable, the users would be unable to update their binutils package until a new TDE release using the same binutils version is available.

Perhaps a savy solution would be to keep the dependency from bfd off by default, so the aforementioned users would have no problems if a Stable update becomes available. 
We can add a compile option to enable the bdf dependency, so if we need to debug some nasty bugs we can recompile everything and work with the enhanced backtrace information.

What do you think?

  Michele