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

Re: Adding symbols files to the tango package.



Le Mon, 1 Aug 2011 10:35:53 +0200,
Niels Thykier <niels@thykier.net> a écrit :

> Hi,
> 
> Looks like you have architecture (or endian) specific symbols.  You
> probably have to make architecture specific symbols files in this case.
>  In case you would like to see an example I know of [1], which uses a
> separate symbols file for linux vs. kfreebsd.
>   As I understand it you can also mark specific symbols for architecture
> specific (see man dpkg-gensymbols under "arch=architecture list"), but I
> do not have an example for that.

Yes that is why I try to apply the generated patch and it does not work for exemple
this hunk took from the armel architecture

--- debian/libtango7.symbols (libtango7_7.2.6+dfsg-8_armel)
+++ dpkg-gensymbolsIpgAFy	2011-07-31 11:59:40.000000000 +0000
@@ -3,13 +3,13 @@
  (c++)"CORBA::release(CORBA::Object*)@Base" 7.2.6+dfsg
  (c++)"CosNotification::EventHeader::~EventHeader()@Base" 7.2.6+dfsg
  (c++)"CosNotification::EventTypeSeq::operator=(CosNotification::EventTypeSeq const&)@Base" 7.2.6+dfsg
- (c++)"CosNotification::EventTypeSeq::~EventTypeSeq()@Base" 7.2.6+dfsg
+#MISSING: 7.2.6+dfsg-8# (c++)"CosNotification::EventTypeSeq::~EventTypeSeq()@Base" 7.2.6+dfsg
  (c++)"CosNotification::FixedEventHeader::~FixedEventHeader()@Base" 7.2.6+dfsg
  (c++)"CosNotification::Property::~Property()@Base" 7.2.6+dfsg
  (c++)"CosNotification::PropertySeq::~PropertySeq()@Base" 7.2.6+dfsg
  (c++)"CosNotification::StructuredEvent::~StructuredEvent()@Base" 7.2.6+dfsg
  (c++)"CosNotifyChannelAdmin::ProxyIDSeq_var::~ProxyIDSeq_var()@Base" 7.2.6+dfsg
- (c++)"CosNotifyFilter::ConstraintExpSeq::~ConstraintExpSeq()@Base" 7.2.6+dfsg
+#MISSING: 7.2.6+dfsg-8# (c++)"CosNotifyFilter::ConstraintExpSeq::~ConstraintExpSeq()@Base" 7.2.6+dfsg
  (c++)"CosNotifyFilter::ConstraintInfoSeq_var::~ConstraintInfoSeq_var()@Base" 7.2.6+dfsg
  (c++)"InputBitStream::InputBitStream(unsigned char*, int)@Base" 7.2.6+dfsg
  (c++)"InputBitStream::align()@Base" 7.2.6+dfsg


The original releavant part of my symbol files is:

 (c++)"PortableServer::ObjectId_var::~ObjectId_var()@Base" 7.2.6+dfsg
 (c++)"CosNotification::EventHeader::~EventHeader()@Base" 7.2.6+dfsg
 (c++)"CosNotification::PropertySeq::~PropertySeq()@Base" 7.2.6+dfsg
-> (c++)"CosNotification::EventTypeSeq::~EventTypeSeq()@Base" 7.2.6+dfsg
 (c++)"CosNotification::EventTypeSeq::operator=(CosNotification::EventTypeSeq const&)@Base" 7.2.6+dfsg
 (c++)"CosNotification::StructuredEvent::~StructuredEvent()@Base" 7.2.6+dfsg
 (c++)"CosNotification::FixedEventHeader::~FixedEventHeader()@Base" 7.2.6+dfsg
 (c++)"CosNotification::Property::~Property()@Base" 7.2.6+dfsg
-> (c++)"CosNotifyFilter::ConstraintExpSeq::~ConstraintExpSeq()@Base" 7.2.6+dfsg
 (c++)"CosNotifyFilter::ConstraintInfoSeq_var::~ConstraintInfoSeq_var()@Base" 7.2.6+dfsg
 (c++)"OutputBitStream::encode_block(short*, HUFFMANTABLE*, HUFFMANTABLE*, short*)@Base" 7.2.6+dfsg
 (c++)"OutputBitStream::init()@Base" 7.2.6+dfsg


as you can see the patch generated by dpkg-gensymbols can not apply.
Indeed symbols are not ordered the same way ??? Maybe this is due to the c++ demangled symbols.

Cheers

Fred

-- 
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: