<div dir="ltr">Dear Andreas,<div><br></div><div>I agree with your solution. The original idea of adding symbol files was to detect interface changes between releases. Appart from very rare exceptions, interface break on one architecture should also lead to interface break on others, so that should be enough to have the symbols for amd64 only. </div><div>I have pushed libbpp-qt 2.4.0, but did not add the symbol file yet. If you show me your solution for one lib, I can propagate it to others.</div><div><br></div><div>All the best,</div><div><br></div><div>Julien. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 6, 2018 at 10:10 PM, Andreas Tille <span dir="ltr"><<a href="mailto:tille@debian.org" target="_blank">tille@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Julien,<br>
<br>
you see, that symbols files is a complex topic (which is why I stayed<br>
away usually from it). I'm not sure whether it is worth the effort to<br>
maintain it for all architectures for libbpp-* since I think the only<br>
practival use is amd64. If you are motivated to dive a bit deeper into<br>
it with the given hints that's fine for me. I personally would go<br>
with my suggested solution to have symbols file only for amd64 and<br>
just remove it before building other architectures. I'm fine with<br>
implementing this in case you agree with me.<br>
<br>
Kind regards<br>
<br>
Andreas.<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Apr 06, 2018 at 06:09:31PM +0200, Sebastiaan Couwenberg wrote:<br>
> On 04/06/2018 05:48 PM, Andreas Tille wrote:<br>
> > Hi Bas,<br>
> ><br>
> > On Fri, Apr 06, 2018 at 02:18:03PM +0200, Sebastiaan Couwenberg wrote:<br>
> >> On 04/06/2018 02:08 PM, Andreas Tille wrote:<br>
> >>> after adding a symbols file to libbpp-core all other architectures are<br>
> >>> failing due to different symbols (see below for ppc64el[1]) but others<br>
> >>> are failing as well. What is the correct way to fix this?<br>
> >><br>
> >> Use (arch=ppc64el) tags for the symbols, or something more generic like<br>
> >> arch-bits or arch-endian if those symbols differ based on 32/64 bits<br>
> >> CPUs or big/little endian.<br>
> >><br>
> >> See: dpkg-symbols(1)<br>
> >> <a href="https://manpages.debian.org/unstable/dpkg-dev/dpkg-gensymbols.1.en.html#Standard_symbol_tags" rel="noreferrer" target="_blank">https://manpages.debian.org/<wbr>unstable/dpkg-dev/dpkg-<wbr>gensymbols.1.en.html#Standard_<wbr>symbol_tags</a><br>
> ><br>
> > I've checked this and I think I understand the task in principle but<br>
> > in practice for libbpp-core that's a no-go for manual adaption to<br>
> > edit about 1000 entries (may be per architecture). Is there some<br>
> > tool that helps here? If not my proposed solution would be to<br>
> > provide a symbols file for amd64 only and move it out of the way<br>
> > in debian/rules for other architectures.<br>
> ><br>
> > (I gave it a very minimal shot in branch symbols_i386 but gave up<br>
> > after some 20+x entries.)<br>
><br>
> Since it's a C++ library, I suggest pkgkde-tools:<br>
><br>
> <a href="http://pkg-kde.alioth.debian.org/symbolfiles.html" rel="noreferrer" target="_blank">http://pkg-kde.alioth.debian.<wbr>org/symbolfiles.html</a><br>
><br>
> Or just not bother with symbols and use `dh_makeshlibs -V`.<br>
><br>
> Kind Regards,<br>
><br>
> Bas<br>
><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
<a href="http://fam-tille.de" rel="noreferrer" target="_blank">http://fam-tille.de</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Julien Y. Dutheil, Ph-D<br>0 (+49) 6421 178 986<div><br>§ Max Planck Institute for Evolutionary Biology<div>Molecular Systems Evolution</div><div>Department of Evolutionary Genetics</div><div>Plön -- GERMANY<br></div><br>§ Institute of Evolutionary Sciences - Montpellier<br>University of Montpellier 2 -- FRANCE</div></div></div></div></div>
</div>