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

dpkg-gensymbols / mipsel issues / rebuild --march=mips2



Hi,
i am rebuilding stretch (on further) with --march=mips2 as the switch to
mips32r2 dropped a lot of systems on the floor. 

Now i have a bunch of packages which fail because of dpkg-gensymbols
having issues with missing c++ symbols - Here is an example:

--- debian/libsmokebase3v5.symbols (libsmokebase3v5_4:4.14.3-1_mipsel)
+++ dpkg-gensymbolsDPCufy       2023-03-14 11:13:00.523423137 +0000
@@ -1,6 +1,10 @@
 libsmokebase.so.3 libsmokebase3v5 #MINVER#
  _ZN5Smoke15NullModuleIndexE@Base 4:4.11.1
- _ZN5Smoke8classMapB5cxx11E@Base 4:4.14.3
- (optional=templinst)_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5Smoke11ModuleIndexESt4lessIS5_ESaISt4pairIKS5_S7_EEED1Ev@Base 4:4.14.3
- (optional=templinst)_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5Smoke11ModuleIndexESt4lessIS5_ESaISt4pairIKS5_S7_EEED2Ev@Base 4:4.14.3
- (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N5Smoke11ModuleIndexEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E@Base 4:4.14.3
+#MISSING: 4:4.14.3-1# _ZN5Smoke8classMapB5cxx11E@Base 4:4.14.3
+ _ZN5Smoke8classMapE@Base 4:4.14.3-1
+#MISSING: 4:4.14.3-1# (optional=templinst)_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5Smoke11ModuleIndexESt4lessIS5_ESaISt4pairIKS5_S7_EEED1Ev@Base 4:4.14.3
+#MISSING: 4:4.14.3-1# (optional=templinst)_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5Smoke11ModuleIndexESt4lessIS5_ESaISt4pairIKS5_S7_EEED2Ev@Base 4:4.14.3
+ _ZNSt3mapISsN5Smoke11ModuleIndexESt4lessISsESaISt4pairIKSsS1_EEED1Ev@Base 4:4.14.3-1
+ _ZNSt3mapISsN5Smoke11ModuleIndexESt4lessISsESaISt4pairIKSsS1_EEED2Ev@Base 4:4.14.3-1
+#MISSING: 4:4.14.3-1# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N5Smoke11ModuleIndexEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E@Base 4:4.14.3
+ _ZNSt8_Rb_treeISsSt4pairIKSsN5Smoke11ModuleIndexEESt10_Select1stIS4_ESt4lessISsESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E@Base 4:4.14.3-1

And i dont quite understand where this comes from - I using the binutils and gcc
straight from stretch. gcc has a simple patch downgrading to --march=mips2
as the default for mips and mipsel.

(stretch-mipsel-sbuild)root@loong:~# dpkg -l gcc-6 binutils                                                                                  
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version             Architecture        Description
+++-=============================-===================-===================-================================================================
ii  binutils                      2.28-5              mipsel              GNU assembler, linker and binary utilities
ii  gcc-6                         6.3.0-18+deb9u1.zz1 mipsel              GNU C compiler

I know how to get around this by disabling the symbol check but i'd like to find the
real root cause. 

Flo
-- 
Florian Lohoff                                                     f@zz.de
  Any sufficiently advanced technology is indistinguishable from magic.

Attachment: signature.asc
Description: PGP signature


Reply to: