[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to maintain a large symbols file of a C++ library



On Wed, Nov 16, 2011 at 10:32:22AM +0100, bastien ROUCARIES wrote:
> Le Tuesday 8 November 2011 23:47:56, Thomas Weber a écrit :
> > On Tue, Nov 08, 2011 at 12:21:16PM +0100, roucaries bastien wrote:
> > > On Tue, Nov 8, 2011 at 12:18 AM, Thomas Weber <tweber@debian.org> wrote:
> > > > Hi,
> > > > 
> > > > I'm in the process of converting Debian's Octave packages into a
> > > > structure with proper library packaging. The symbols file of these
> > > > three C++ libraries has about 30k lines.
> > > > 
> > > > I'm pretty new to symbols handling, so I'm looking for advice on
> > > > how to handle this. Is there a simple way to reduce the pure size of
> > > > this file? Or is this size normal?
> > > > 
> > > > Further, looking at dpkg-gensymbols(1), it seems I should take
> > > > special care about some C++-features - can you point me to an example
> > > > of how to do this?
> > > > 
> > > > Thanks
> > > >        Thomas
> > > 
> > > Try to use hidden linking before doing this. Ask upstream hel, if needed.
> > 
> > Do you mean GCC's -fvisibility=hidden? If yes, I'm at a loss at how to
> > do this in a sensible way - if the symbols were exported before,
> > changing this in Debian might break other software that actually uses
> > these symbols.
> 
> Yes but because you will upload a new major version you will break. So try to convince upstream to do this.

Hmm, okay. I'm not going to do this in the 3.4 series, though. We are
already far behind with the 3.4 packaging as is.

> > > BTW do you need help on arpack ?
> > 
> > Opps, thanks for pointing me at this. I had totally forgotten about
> > arpack being bundled.
> 
> Do you need help ? Do you need a new upstream ?

If you can get a patch for the 3.4.3 tarball, that uses the packaged
arpack instead of the included one, that would obviously be helpful.
Bonus points if it's in such a way that the Fedora guys can use it as
well :)
https://bugzilla.redhat.com/show_bug.cgi?id=676858

Thanks
	Thomas


Reply to: