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

will different compiler generate different symbols?



Hi, ALL,

My package(sunpinyin) is compiled with g++ 4.4, and it's symbols file
is generated by dpkg-gensymbols, when I switch g++ to 4.3, and compile
package, I get the following error:

dh_makeshlibs
dpkg-gensymbols: warning: some new symbols appeared in the symbols
file: see diff output below
dpkg-gensymbols: warning: some symbols or patterns disappeared in the
symbols file: see diff output below
dpkg-gensymbols: warning: debian/libsunpinyin3/DEBIAN/symbols doesn't
match completely debian/libsunpinyin3.symbols
--- debian/libsunpinyin3.symbols (libsunpinyin3_2.0.2~git20100627-1_amd64)
+++ dpkg-gensymbolsIvkbIf	2010-07-14 15:37:55.220208925 +0800
@@ -40,6 +40,7 @@
  _ZN11CIMIContext15deleteCandidateER10CCandidate@Base 2.0.2~git20100627
  _ZN11CIMIContext15getBestSentenceERSbIjSt11char_traitsIjESaIjEEjj@Base
2.0.2~git20100627
  _ZN11CIMIContext15getBestSentenceERSt6vectorIjSaIjEEjj@Base 2.0.2~git20100627
+ _ZN11CIMIContext16_transferBetweenEjjP13TLexiconStatejd@Base
2.0.2~git20100627-1
  _ZN11CIMIContext22_forwardSingleSyllableEjj9TSyllableRKN12IPySegmentor8TSegmentE@Base
2.0.2~git20100627
  _ZN11CIMIContext5clearEv@Base 2.0.2~git20100627
  _ZN11CIMIContext8memorizeEv@Base 2.0.2~git20100627
@@ -72,6 +73,7 @@
  _ZN12COptionEvent8variant_C2Ei@Base 2.0.2~git20100627
  _ZN12IPySegmentor19notify_best_segpathERSt6vectorIjSaIjEE@Base
2.0.2~git20100627
  _ZN12IPySegmentor8TSegmentC1ERKS0_@Base 2.0.2~git20100627
+ _ZN12IPySegmentor8TSegmentC1EjjjNS_12ESegmentTypeE@Base 2.0.2~git20100627-1
  _ZN12IPySegmentor8TSegmentD1Ev@Base 2.0.2~git20100627
  _ZN12IPySegmentorD0Ev@Base 2.0.2~git20100627
  _ZN12IPySegmentorD1Ev@Base 2.0.2~git20100627
@@ -172,6 +174,7 @@
  _ZN15CGetFullPunctOpclEj@Base 2.0.2~git20100627
  _ZN15CIMIClassicView10onKeyEventERK9CKeyEvent@Base 2.0.2~git20100627
  _ZN15CIMIClassicView13updateWindowsEj@Base 2.0.2~git20100627
+ _ZN15CIMIClassicView14_getCandidatesEv@Base 2.0.2~git20100627-1
  _ZN15CIMIClassicView14_makeSelectionEiRj@Base 2.0.2~git20100627
  _ZN15CIMIClassicView16getCandidateListER14ICandidateListii@Base
2.0.2~git20100627
  _ZN15CIMIClassicView16getPreeditStringER14IPreeditString@Base
2.0.2~git20100627
@@ -181,6 +184,8 @@
  _ZN15CIMIClassicView7clearICEv@Base 2.0.2~git20100627
  _ZN15CIMIClassicView8attachICEP11CIMIContext@Base 2.0.2~git20100627
  _ZN15CIMIClassicView9_doCommitEb@Base 2.0.2~git20100627
+ _ZN15CIMIClassicView9_moveHomeERjb@Base 2.0.2~git20100627-1
+ _ZN15CIMIClassicView9_moveLeftERjb@Base 2.0.2~git20100627-1
  _ZN15CIMIClassicViewC1Ev@Base 2.0.2~git20100627
  _ZN15CIMIClassicViewC2Ev@Base 2.0.2~git20100627
  _ZN15CIMIClassicViewD0Ev@Base 2.0.2~git20100627
@@ -190,12 +195,14 @@
  _ZN15COptionEventBus18registerAsListenerEP13IConfigurable@Base
2.0.2~git20100627
  _ZN15COptionEventBus20unregisterAsListenerEP13IConfigurable@Base
2.0.2~git20100627
  _ZN15COptionEventBusD1Ev@Base 2.0.2~git20100627
+ _ZN15SingletonHolderI15COptionEventBusE8instanceEv@Base 2.0.2~git20100627-1
  _ZN16CGetFullSymbolOp13initSymbolMapEv@Base 2.0.2~git20100627
  _ZN16CGetFullSymbolOpclEj@Base 2.0.2~git20100627
  _ZN17CQuanpinSegmentor10getSylSepsEv@Base 2.0.2~git20100627
  _ZN17CQuanpinSegmentor11getSegmentsEb@Base 2.0.2~git20100627
  _ZN17CQuanpinSegmentor11updatedFromEv@Base 2.0.2~git20100627
  _ZN17CQuanpinSegmentor14getInputBufferEv@Base 2.0.2~git20100627
+ _ZN17CQuanpinSegmentor18_addFuzzySyllablesERN12IPySegmentor8TSegmentE@Base
2.0.2~git20100627-1
  _ZN17CQuanpinSegmentor3popEv@Base 2.0.2~git20100627
  _ZN17CQuanpinSegmentor4loadEPKc@Base 2.0.2~git20100627
  _ZN17CQuanpinSegmentor4pushEj@Base 2.0.2~git20100627
@@ -215,6 +222,7 @@
  _ZN19CShuangpinSegmentor11updatedFromEv@Base 2.0.2~git20100627
  _ZN19CShuangpinSegmentor14_locateSegmentEjRjS0_@Base 2.0.2~git20100627
  _ZN19CShuangpinSegmentor14getInputBufferEv@Base 2.0.2~git20100627
+ _ZN19CShuangpinSegmentor18_addFuzzySyllablesERN12IPySegmentor8TSegmentE@Base
2.0.2~git20100627-1
  _ZN19CShuangpinSegmentor3popEv@Base 2.0.2~git20100627
  _ZN19CShuangpinSegmentor4pushEj@Base 2.0.2~git20100627
  _ZN19CShuangpinSegmentor5_pushEj@Base 2.0.2~git20100627
@@ -229,6 +237,7 @@
  _ZN19CShuangpinSegmentorD0Ev@Base 2.0.2~git20100627
  _ZN19CShuangpinSegmentorD1Ev@Base 2.0.2~git20100627
  _ZN20CGetCorrectionPairOpclERSsRj@Base 2.0.2~git20100627
+ _ZN20CGetFuzzySyllablesOpI11CPinyinDataE12initFuzzyMapERKSt6vectorISt4pairISsSsESaIS4_EEb@Base
2.0.2~git20100627-1
  _ZN20CGetFuzzySyllablesOpI11CPinyinDataEclE9TSyllable@Base 2.0.2~git20100627
  _ZN20CQuanpinSchemePolicy15onConfigChangedERK12COptionEvent@Base
2.0.2~git20100627
  _ZN22CShuangpinSchemePolicy15onConfigChangedERK12COptionEvent@Base
2.0.2~git20100627
@@ -296,14 +305,19 @@
  _ZNK14CPreEditString6stringEv@Base 2.0.2~git20100627
  _ZNK19CShuangpinSegmentor20_getNumberOfNonAlphaEv@Base 2.0.2~git20100627
  _ZNK24CSimplifiedChinesePolicy22getDefaultPunctMappingEv@Base
2.0.2~git20100627
+ _ZNKSt4lessISbIjSt11char_traitsIjESaIjEEEclERKS3_S6_@Base 2.0.2~git20100627-1
+ _ZNKSt6vectorIN12IPySegmentor8TSegmentESaIS1_EE12_M_check_lenEmPKc@Base
2.0.2~git20100627-1
+ _ZNKSt6vectorIjSaIjEE12_M_check_lenEmPKc@Base 2.0.2~git20100627-1
  _ZNSbIjSt11char_traitsIjESaIjEE12_S_constructIPKjEEPjT_S7_RKS1_St20forward_iterator_tag@Base
2.0.2~git20100627
- _ZNSbIjSt11char_traitsIjESaIjEE12_S_constructIPjEES4_T_S5_RKS1_St20forward_iterator_tag@Base
2.0.2~git20100627
+#MISSING: 2.0.2~git20100627-1#
_ZNSbIjSt11char_traitsIjESaIjEE12_S_constructIPjEES4_T_S5_RKS1_St20forward_iterator_tag@Base
2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEE15_M_replace_safeEmmPKjm@Base 2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEE19_M_replace_dispatchIN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjS1_EEEEERS2_NS5_IPjS2_EESD_T_SE_St12__false_type@Base
2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEE4_Rep11_S_terminalE@Base 2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEE4_Rep20_S_empty_rep_storageE@Base
2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEE4_Rep8_M_cloneERKS1_m@Base 2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEE4_Rep9_S_createEmmRKS1_@Base 2.0.2~git20100627
+ _ZNSbIjSt11char_traitsIjESaIjEE6insertEmPKjm@Base 2.0.2~git20100627-1
+ _ZNSbIjSt11char_traitsIjESaIjEE6resizeEmj@Base 2.0.2~git20100627-1
  _ZNSbIjSt11char_traitsIjESaIjEE7_M_copyEPjPKjm@Base 2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEE7replaceEmmPKjm@Base 2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEE7reserveEm@Base 2.0.2~git20100627
@@ -311,33 +325,48 @@
  _ZNSbIjSt11char_traitsIjESaIjEE9push_backEj@Base 2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEEC1EPKjRKS1_@Base 2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEEC1ERKS2_@Base 2.0.2~git20100627
+ _ZNSbIjSt11char_traitsIjESaIjEEC1ERKS2_mm@Base 2.0.2~git20100627-1
  _ZNSbIjSt11char_traitsIjESaIjEED1Ev@Base 2.0.2~git20100627
  _ZNSbIjSt11char_traitsIjESaIjEEaSERKS2_@Base 2.0.2~git20100627
+ _ZNSt11_Deque_baseIjSaIjEE17_M_initialize_mapEm@Base 2.0.2~git20100627-1
  _ZNSt11_Deque_baseIjSaIjEED2Ev@Base 2.0.2~git20100627
  _ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIjEEPT_PKS3_S6_S4_@Base
2.0.2~git20100627
  _ZNSt12_Vector_baseI13TCandiPairPtrSaIS0_EE11_M_allocateEm@Base
2.0.2~git20100627
+ _ZNSt12_Vector_baseIN12IPySegmentor8TSegmentESaIS1_EE11_M_allocateEm@Base
2.0.2~git20100627-1
+ _ZNSt12_Vector_baseIjSaIjEE11_M_allocateEm@Base 2.0.2~git20100627-1
+ _ZNSt3mapIN10CThreadSlm6TStateEiSt4lessIS1_ESaISt4pairIKS1_iEEEixERS5_@Base
2.0.2~git20100627-1
  _ZNSt3mapISbIjSt11char_traitsIjESaIjEE10TCandiPairSt4lessIS3_ESaISt4pairIKS3_S4_EEED1Ev@Base
2.0.2~git20100627
+ _ZNSt3mapISs9TSyllableSt4lessISsESaISt4pairIKSsS0_EEED1Ev@Base
2.0.2~git20100627-1
+ _ZNSt3mapISt4pairIjjEiSt4lessIS1_ESaIS0_IKS1_iEEED1Ev@Base 2.0.2~git20100627-1
+ _ZNSt3mapIjSbIjSt11char_traitsIjESaIjEESt4lessIjESaISt4pairIKjS3_EEE6insertERKS8_@Base
2.0.2~git20100627-1
+ _ZNSt3mapIjSbIjSt11char_traitsIjESaIjEESt4lessIjESaISt4pairIKjS3_EEED1Ev@Base
2.0.2~git20100627-1
+ _ZNSt3mapIjiSt4lessIjESaISt4pairIKjiEEED1Ev@Base 2.0.2~git20100627-1
  _ZNSt3setI9CKeyEventSt4lessIS0_ESaIS0_EED1Ev@Base 2.0.2~git20100627
  _ZNSt3setIjSt4lessIjESaIjEED1Ev@Base 2.0.2~git20100627
  _ZNSt4pairIKSsSsED1Ev@Base 2.0.2~git20100627
  _ZNSt4pairISsSsED1Ev@Base 2.0.2~git20100627
+ _ZNSt5dequeIjSaIjEE17_M_reallocate_mapEmb@Base 2.0.2~git20100627-1
  _ZNSt6vectorI10CCandidateSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_@Base
2.0.2~git20100627
+ _ZNSt6vectorI10CCandidateSaIS0_EED1Ev@Base 2.0.2~git20100627-1
  _ZNSt6vectorI13CLatticeFrameSaIS0_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS0_S2_EEmRKS0_@Base
2.0.2~git20100627
  _ZNSt6vectorI13CLatticeFrameSaIS0_EED1Ev@Base 2.0.2~git20100627
  _ZNSt6vectorI13TCandiPairPtrSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_@Base
2.0.2~git20100627
  _ZNSt6vectorI13TLatticeStateSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_@Base
2.0.2~git20100627
  _ZNSt6vectorI13TLatticeStateSaIS0_EEaSERKS2_@Base 2.0.2~git20100627
  _ZNSt6vectorI13TLexiconStateSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_@Base
2.0.2~git20100627
+ _ZNSt6vectorI13TLexiconStateSaIS0_EE9push_backERKS0_@Base 2.0.2~git20100627-1
  _ZNSt6vectorI13TLexiconStateSaIS0_EED1Ev@Base 2.0.2~git20100627
  _ZNSt6vectorI13TLexiconStateSaIS0_EEaSERKS2_@Base 2.0.2~git20100627
  _ZNSt6vectorI9TSyllableSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_@Base
2.0.2~git20100627
  _ZNSt6vectorI9TSyllableSaIS0_EED1Ev@Base 2.0.2~git20100627
  _ZNSt6vectorI9TSyllableSaIS0_EEaSERKS2_@Base 2.0.2~git20100627
  _ZNSt6vectorIN11CPinyinTrie11TWordIdInfoESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_@Base
2.0.2~git20100627
+ _ZNSt6vectorIN11CPinyinTrie11TWordIdInfoESaIS1_EED1Ev@Base 2.0.2~git20100627-1
  _ZNSt6vectorIN11CPinyinTrie11TWordIdInfoESaIS1_EEaSERKS3_@Base
2.0.2~git20100627
  _ZNSt6vectorIN12IPySegmentor8TSegmentESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_@Base
2.0.2~git20100627
  _ZNSt6vectorIN12IPySegmentor8TSegmentESaIS1_EE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEEEvS8_T_S9_St20forward_iterator_tag@Base
2.0.2~git20100627
  _ZNSt6vectorIN12IPySegmentor8TSegmentESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPS1_S3_EES7_@Base
2.0.2~git20100627
+ _ZNSt6vectorIN12IPySegmentor8TSegmentESaIS1_EE7reserveEm@Base
2.0.2~git20100627-1
  _ZNSt6vectorIN12IPySegmentor8TSegmentESaIS1_EE9push_backERKS1_@Base
2.0.2~git20100627
  _ZNSt6vectorIN12IPySegmentor8TSegmentESaIS1_EED1Ev@Base 2.0.2~git20100627
  _ZNSt6vectorIPKcSaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_@Base
2.0.2~git20100627
@@ -346,12 +375,16 @@
  _ZNSt6vectorISbIjSt11char_traitsIjESaIjEESaIS3_EE7reserveEm@Base
2.0.2~git20100627
  _ZNSt6vectorISbIjSt11char_traitsIjESaIjEESaIS3_EED1Ev@Base 2.0.2~git20100627
  _ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs@Base
2.0.2~git20100627
+ _ZNSt6vectorISsSaISsEE7reserveEm@Base 2.0.2~git20100627-1
+ _ZNSt6vectorISsSaISsEE9push_backERKSs@Base 2.0.2~git20100627-1
+ _ZNSt6vectorISsSaISsEED1Ev@Base 2.0.2~git20100627-1
  _ZNSt6vectorISsSaISsEEaSERKS1_@Base 2.0.2~git20100627
  _ZNSt6vectorISt4pairISsSsESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_@Base
2.0.2~git20100627
  _ZNSt6vectorISt4pairISsSsESaIS1_EED1Ev@Base 2.0.2~git20100627
  _ZNSt6vectorISt4pairISsSsESaIS1_EEaSERKS3_@Base 2.0.2~git20100627
  _ZNSt6vectorIiSaIiEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPiS1_EERKi@Base
2.0.2~git20100627
  _ZNSt6vectorIiSaIiEE7reserveEm@Base 2.0.2~git20100627
+ _ZNSt6vectorIiSaIiEED1Ev@Base 2.0.2~git20100627-1
  _ZNSt6vectorIiSaIiEEaSERKS1_@Base 2.0.2~git20100627
  _ZNSt6vectorIjSaIjEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPjS1_EERKj@Base
2.0.2~git20100627
  _ZNSt6vectorIjSaIjEE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPjS1_EEmRKj@Base
2.0.2~git20100627
@@ -394,15 +427,16 @@
  _ZNSt8_Rb_treeIjSt4pairIKjiESt10_Select1stIS2_ESt4lessIjESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E@Base
2.0.2~git20100627
  _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE10_M_insert_EPKSt18_Rb_tree_node_baseS8_RKj@Base
2.0.2~git20100627
  _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE8_M_eraseEPSt13_Rb_tree_nodeIjE@Base
2.0.2~git20100627
- _ZSt11mem_fun_refIv13TLatticeStateSsESt20const_mem_fun1_ref_tIT_T0_T1_EMS3_KFS2_S4_E@Base
2.0.2~git20100627
- _ZSt11mem_fun_refIv13TLexiconStateSsESt20const_mem_fun1_ref_tIT_T0_T1_EMS3_KFS2_S4_E@Base
2.0.2~git20100627
+#MISSING: 2.0.2~git20100627-1#
_ZSt11mem_fun_refIv13TLatticeStateSsESt20const_mem_fun1_ref_tIT_T0_T1_EMS3_KFS2_S4_E@Base
2.0.2~git20100627
+#MISSING: 2.0.2~git20100627-1#
_ZSt11mem_fun_refIv13TLexiconStateSsESt20const_mem_fun1_ref_tIT_T0_T1_EMS3_KFS2_S4_E@Base
2.0.2~git20100627
  _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP13TCandiPairPtrSt6vectorIS2_SaIS2_EEEElS2_EvT_T0_S9_T1_@Base
2.0.2~git20100627
  _ZSt22__uninitialized_copy_aIN9__gnu_cxx17__normal_iteratorIPK13TLexiconStateSt6vectorIS2_SaIS2_EEEEPS2_S2_ET0_T_SB_SA_RSaIT1_E@Base
2.0.2~git20100627
  _ZSt22__uninitialized_copy_aIP13TLexiconStateS1_S0_ET0_T_S3_S2_RSaIT1_E@Base
2.0.2~git20100627
  _ZSt22__uninitialized_copy_aIPN12IPySegmentor8TSegmentES2_S1_ET0_T_S4_S3_RSaIT1_E@Base
2.0.2~git20100627
  _ZSt22__uninitialized_move_aIP13CLatticeFrameS1_SaIS0_EET0_T_S4_S3_RT1_@Base
2.0.2~git20100627
  _ZSt24__uninitialized_fill_n_aIP13CLatticeFramemS0_S0_EvT_T0_RKT1_RSaIT2_E@Base
2.0.2~git20100627
- _ZSt5mergeIN9__gnu_cxx17__normal_iteratorIPN12IPySegmentor8TSegmentESt6vectorIS3_SaIS3_EEEES8_St20back_insert_iteratorIS7_EET1_T_SC_T0_SD_SB_@Base
2.0.2~git20100627
+ _ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN12IPySegmentor8TSegmentESt6vectorIS3_SaIS3_EEEES8_ET0_T_SA_S9_@Base
2.0.2~git20100627-1
+#MISSING: 2.0.2~git20100627-1#
_ZSt5mergeIN9__gnu_cxx17__normal_iteratorIPN12IPySegmentor8TSegmentESt6vectorIS3_SaIS3_EEEES8_St20back_insert_iteratorIS7_EET1_T_SC_T0_SD_SB_@Base
2.0.2~git20100627
  _ZSt8_DestroyISt4pairISsSsEEvPT_@Base 2.0.2~git20100627
  _ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIP13TLatticeStateSt6vectorIS2_SaIS2_EEEESt9binder2ndISt20const_mem_fun1_ref_tIvS2_SsEEET0_T_SD_SC_@Base
2.0.2~git20100627
  _ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIP13TLexiconStateSt6vectorIS2_SaIS2_EEEESt9binder2ndISt20const_mem_fun1_ref_tIvS2_SsEEET0_T_SD_SC_@Base
2.0.2~git20100627
dh_makeshlibs: dpkg-gensymbols -plibsunpinyin3
-Idebian/libsunpinyin3.symbols -Pdebian/libsunpinyin3 returned exit
code 1
make: *** [binary-arch] 错误 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

Does it mean when using different compiler, the SAME library source
code will generate different symbols? If it does, which compiler
should I use to compile my packages and to generate symbols? How
should I handle this problem ?

Regards,
-- 
Liang Guo
http://bluestone.cublog.cn


Reply to: