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

Florian Lohoff <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Organization rfc822 - pure communication
Message-ID <[email protected]>
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                                                     [email protected]
  Any sufficiently advanced technology is indistinguishable from magic.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEdb9o7oebX2papQ/KkN1BIMsJ8i8FAmQQWM8ACgkQkN1BIMsJ
8i9/xA/9FCXFE3yqu+6vhv5BOICXe6P/xbybqTL+vyl2T3PW/dfgiqYZRAheZpKu
l2tWEg/p1tLLzqi6f0r6f4gge3WYOHW55oXn0jSYSs7Oa/5ejXz6bpcalFqTgYwg
j3G7PlPZ+swSy3/oj7ft3cxTlZjXDu46eWSsH0Ji8PEUC9VG7ulJxa1MQGFPhJi/
9GypUrSHjk1odhCu8M8CVW+DRpiDEKWGr1eDgB7aRQMi40qK4YWxd/fGCNDiHIzF
tYVLo9CgcZosFCtFnMTr5OjBPkgupHNGu/LL7TKTHFcBTIFdhRcAGKzqg6gFlimr
5NXejutTix7lTW/gBCCd3qFtIv/wdubN2rcZXyCzWFaEh4hsky7RJU48ouLsDfrS
H3u8kq9CCKLrSFA+8O1XXq/9ywTMdT9wRJh8GRDVs2i869LC64Kvymf6myI6Wcql
QgHS8Ssl2KgYs6HJwX23RcIkNdksWixev/cnavnNo/4mYxNc96lgaPDplFFRumLd
Gln5Ibd6SeaUqj+L9dPXwEPutG1KrieYoU6SUSphq/Sa7zhihII19BiT/jHumwEf
2O0hEyIEjzQyjugE1Xl2xu+mhIln2x93vn1GEiYLI5loPgkU3xNbcfWvDHJTzrk6
Y9Ksoa/MuAlSl/5tJa+ofDUx4C4K2f0J2vq4D4f8oUIeEkJQhxM=
=Pjb5
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.