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

Re: Adding symbols files to the tango package.



Le Fri, 29 Jul 2011 12:09:05 +0100,
Michael Tautschnig <mt@debian.org> a écrit :

> Hi again,
> 
> > Le Fri, 29 Jul 2011 09:45:53 +0100,
> > Michael Tautschnig <mt@debian.org> a écrit :
> > 
> > > - Use the c++ tag to move to human-readable symbols and get rid of problems due
> > >   to different name mangling schemes.
> > 
> > yes it is nicer with c++ tag, is there an automatic way to convert a symbol file to
> > this human readable format.
> 
> Please take a look at this [1] post to the list.

Thanks I followed this advises and it works and now I have a nice human friendly symbol file.

> > Yes there is plenty of explanation in the man page but I need a lot
> > more practice to learn about symbols.
> > Sometimes I do not know if it 
> > 
> 
> Hmm, I'm not sure I understand that last sentence!?

I just wanted to say, I need more practice. Now I am more confident with symbol file for c++ library.
Nevertheless it is not thaht easy to decide if a symbol should be optional or part of the public API.

There is plenty of cryptic symbols due to the stdlib I think like one

 (c++)"std::_Rb_tree<CORBA::Request*, std::pair<CORBA::Request* const, Tango::TgRequest>, std::_Select1st<std::pair<CORBA::Request* const, Tango::TgRequest> >, std::less<CORBA::Request*>, std::allocator<std::pair<CORBA::Request* const, Tango::TgRequest> > >::_M_erase(std::_Rb_tree_node<std::pair<CORBA::Request* const, Tango::TgRequest> >*)@Base" 7.2.6+dfsg

do you think that these symbols should be optional ?



BUT, I would like your opinion about a dpkg-gensymbols concern.
I uploaded this package [1] to obtain the build log and then modify the symbol files depending on the arch
It seems that the patch generated by dpkg-gensymbols during the build process do not apply.

Each time I do
patch -p0 < xxx.log, I got plenty of hunk FAIL.

Did you already saw this ? Should I fill a bug against dpkg-gensymbol ?

Thanks for your advices.

Fred.

[1] https://buildd.debian.org/status/package.php?p=tango

-- 
GPG public key 4096R/4696E015 2011-02-14
    fingerprint = E92E 7E6E 9E9D A6B1 AA31  39DC 5632 906F 4696 E015
uid  Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>

GPG public key 1024D/A59B1171 2009-08-11
    fingerprint = 1688 A3D6 F0BD E4DF 2E6B  06AA B6A9 BA6A A59B 1171
uid  Picca Frédéric-Emmanuel <picca@debian.org>

Attachment: signature.asc
Description: PGP signature


Reply to: