Control: tags -1 patch

On Thu, Aug 15, 2019 at 03:35:04PM +0200, أحمد المحمودي wrote:
> On Wed, Mar 27, 2019 at 07:48:14PM +0000, Matthias Klose wrote:
> > The package fails to build in a test rebuild on at least amd64 with
> > gcc-9/g++-9, but succeeds to build with gcc-8/g++-8. The
> > http://gcc.gnu.org/gcc-9/porting_to.html
> > 
> > [...]
> > - 
> > _ZN5sc_dt13b_xor_assign_INS_10sc_bv_baseENS_10sc_lv_baseEEERT_RNS_8sc_proxyIS3_EERKNS5_IT0_EE@Base
> >  2.3.3
> > +#MISSING: 2.3.3-2# 
> > _ZN5sc_dt13b_xor_assign_INS_10sc_bv_baseENS_10sc_lv_baseEEERT_RNS_8sc_proxyIS3_EERKNS5_IT0_EE@Base
> >  2.3.3
> > [...]
> ---end quoted text---
> 
> The wierd symbol mangling in C++ ks causing this proble, with rvery 
> gcc/g++ update, I tried using c++filt symbols (using c++ tag), but it 
> was of no use.

This doesn't help, this just makes the symbols a bit more human readable.
dpkg-gensymbols generates a patch file output that helps to adjust the
symbols file, why not just use this with a bit of brain?

> Hence, I think the best solution is to remove the symbols file for this 
> package.

It took me about a hour to adjust the symbols file so dpkg-gensymbols is
happy. It's really not that hard!
The symbols file has an intention and this is to make life easier while
libraries transiontions e.g.

The added patch is only taking care about the RC architectures, it might
possible that the kfreebsd platforms are still not fully adjusted.

Regards
Carsten
>From 7b3a0f59d19702c8dec05ee5e8adb42cce7dcffe Mon Sep 17 00:00:00 2001
From: Carsten Schoenert <c.schoen...@t-online.de>
Date: Sat, 17 Aug 2019 21:26:05 +0200
Subject: [PATCH] libsystemc.symbols: update after GCC update

As usual with every new GCC version we have changed symbol names,
updating the symbols file for new GCC 9 in the archive.
---
 debian/libsystemc.symbols | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/debian/libsystemc.symbols b/debian/libsystemc.symbols
index 2e850c3..4db676c 100644
--- a/debian/libsystemc.symbols
+++ b/debian/libsystemc.symbols
@@ -92,7 +92,7 @@ libsystemc-2.3.3.so libsystemc #MINVER#
  _ZN5sc_dt10sc_lv_base10clean_tailEv@Base 2.3.3
  _ZN5sc_dt10sc_lv_base18assign_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 2.3.3
  _ZN5sc_dt10sc_lv_base4initEiRKNS_8sc_logicE@Base 2.3.3
- (arch-bits=32)_ZN5sc_dt10sc_lv_base7set_bitEiNS_16sc_logic_value_tE@Base 2.3.3
+#MISSING: 2.3.3-2# (arch-bits=32)_ZN5sc_dt10sc_lv_base7set_bitEiNS_16sc_logic_value_tE@Base 2.3.3
  _ZN5sc_dt10sc_lv_baseC1EPKc@Base 2.3.3
  _ZN5sc_dt10sc_lv_baseC1EPKci@Base 2.3.3
  _ZN5sc_dt10sc_lv_baseC1ERKS0_@Base 2.3.3
@@ -294,7 +294,7 @@ libsystemc-2.3.3.so libsystemc #MINVER#
  _ZN5sc_dt11scfx_csd2tcERNS_11scfx_stringE@Base 2.3.3
  _ZN5sc_dt11scfx_stringD1Ev@Base 2.3.3
  _ZN5sc_dt11scfx_stringD2Ev@Base 2.3.3
- _ZN5sc_dt11scfx_stringpLEc@Base 2.3.3
+ (arch=arm64)_ZN5sc_dt11scfx_stringpLEc@Base 2.3.3
  _ZN5sc_dt11scfx_tc2csdERNS_11scfx_stringEi@Base 2.3.3
  _ZN5sc_dt11vec_add_on2EiPjiPKj@Base 2.3.3
  _ZN5sc_dt11vec_reverseEiiPjii@Base 2.3.3
@@ -344,9 +344,9 @@ libsystemc-2.3.3.so libsystemc #MINVER#
  _ZN5sc_dt12sc_uint_baseaSERKNS_9sc_signedE@Base 2.3.3
  _ZN5sc_dt12sub_scfx_repERKNS_8scfx_repES2_i@Base 2.3.3
  _ZN5sc_dt12vec_from_strEiiPjPKcNS_9sc_numrepE@Base 2.3.3
- _ZN5sc_dt13b_and_assign_INS_10sc_bv_baseENS_10sc_lv_baseEEERT_RNS_8sc_proxyIS3_EERKNS5_IT0_EE@Base 2.3.3
+ (arch=i386 arm64)_ZN5sc_dt13b_and_assign_INS_10sc_bv_baseENS_10sc_lv_baseEEERT_RNS_8sc_proxyIS3_EERKNS5_IT0_EE@Base 2.3.3
  _ZN5sc_dt13b_and_assign_INS_10sc_lv_baseES1_EERT_RNS_8sc_proxyIS2_EERKNS4_IT0_EE@Base 2.3.3
- _ZN5sc_dt13b_xor_assign_INS_10sc_bv_baseENS_10sc_lv_baseEEERT_RNS_8sc_proxyIS3_EERKNS5_IT0_EE@Base 2.3.3
+ (arch=i386 arm64)_ZN5sc_dt13b_xor_assign_INS_10sc_bv_baseENS_10sc_lv_baseEEERT_RNS_8sc_proxyIS3_EERKNS5_IT0_EE@Base 2.3.3
  _ZN5sc_dt13b_xor_assign_INS_10sc_lv_baseES1_EERT_RNS_8sc_proxyIS2_EERKNS4_IT0_EE@Base 2.3.3
  _ZN5sc_dt13sc_fxnum_fast4castEv@Base 2.3.3
  _ZN5sc_dt13sc_fxnum_fast4scanERSi@Base 2.3.3
@@ -509,7 +509,7 @@ libsystemc-2.3.3.so libsystemc #MINVER#
  _ZN5sc_dt16vec_add_small_onEiPjj@Base 2.3.3
  _ZN5sc_dt16vec_mul_small_onEiPjj@Base 2.3.3
  _ZN5sc_dt16vec_rem_on_smallEiPjj@Base 2.3.3
- _ZN5sc_dt16vec_skip_and_cmpEiPKjiS1_@Base 2.3.3
+ (arch=arm64)_ZN5sc_dt16vec_skip_and_cmpEiPKjiS1_@Base 2.3.3
  _ZN5sc_dt16vec_sub_small_onEiPjj@Base 2.3.3
  _ZN5sc_dt17add_signed_friendEiiiPKjiiiS1_@Base 2.3.3
  _ZN5sc_dt17and_signed_friendEiiiPKjiiiS1_@Base 2.3.3
@@ -848,7 +848,7 @@ libsystemc-2.3.3.so libsystemc #MINVER#
  _ZN5sc_dt9sc_signed10concat_setExi@Base 2.3.3
  _ZN5sc_dt9sc_signed10concat_setEyi@Base 2.3.3
  _ZN5sc_dt9sc_signed14set_packed_repEPj@Base 2.3.3
- _ZN5sc_dt9sc_signed22convert_SM_to_2C_to_SMEv@Base 2.3.3
+ (arch=arm64)_ZN5sc_dt9sc_signed22convert_SM_to_2C_to_SMEv@Base 2.3.3
  _ZN5sc_dt9sc_signed3setEi@Base 2.3.3
  _ZN5sc_dt9sc_signed4scanERSi@Base 2.3.3
  _ZN5sc_dt9sc_signed5clearEi@Base 2.3.3
@@ -1762,6 +1762,7 @@ libsystemc-2.3.3.so libsystemc #MINVER#
  _ZN7sc_core13sc_simcontext11trace_cycleEb@Base 2.3.3
  _ZN7sc_core13sc_simcontext12first_objectEv@Base 2.3.3
  _ZN7sc_core13sc_simcontext12preempt_withEPNS_17sc_method_processE@Base 2.3.3
+ (arch=i386 amd64)_ZN7sc_core13sc_simcontext12preempt_withEPNS_17sc_thread_processE@Base 2.3.3
  _ZN7sc_core13sc_simcontext13active_objectEv@Base 2.3.3
  _ZN7sc_core13sc_simcontext13hierarchy_popEv@Base 2.3.3
  _ZN7sc_core13sc_simcontext14add_trace_fileEPNS_13sc_trace_fileE@Base 2.3.3
@@ -1795,6 +1796,8 @@ libsystemc-2.3.3.so libsystemc #MINVER#
  _ZN7sc_core13sc_simcontext4stopEv@Base 2.3.3
  _ZN7sc_core13sc_simcontext5cleanEv@Base 2.3.3
  _ZN7sc_core13sc_simcontext5resetEv@Base 2.3.3
+ (arch=i386 amd64)_ZN7sc_core13sc_simcontext6crunchEb@Base 2.3.3
+ (arch=i386 amd64)_ZN7sc_core13sc_simcontext12preempt_withEPNS_17sc_thread_processE@Base 2.3.3
  _ZN7sc_core13sc_simcontext8next_corEv@Base 2.3.3
  _ZN7sc_core13sc_simcontext8simulateERKNS_7sc_timeE@Base 2.3.3
  _ZN7sc_core13sc_simcontext9elaborateEv@Base 2.3.3
@@ -2055,6 +2058,7 @@ libsystemc-2.3.3.so libsystemc #MINVER#
  _ZN7sc_core15wif_int64_traceD2Ev@Base 2.3.3
  _ZN7sc_core16localtime_stringB5cxx11Ev@Base 2.3.3
  _ZN7sc_core16sc_get_stop_modeEv@Base 2.3.3
+ (arch=i386 amd64)_ZN7sc_core16sc_invoke_method13invoke_methodEPNS_17sc_method_processE@Base 2.3.3
  _ZN7sc_core16sc_invoke_method7invokerEv@Base 2.3.3
  _ZN7sc_core16sc_invoke_methodD0Ev@Base 2.3.3
  _ZN7sc_core16sc_invoke_methodD1Ev@Base 2.3.3
@@ -4288,7 +4292,7 @@ libsystemc-2.3.3.so libsystemc #MINVER#
  _ZNK9tlm_utils28convenience_socket_cb_holder15display_warningEPKc@Base 2.3.3
  _ZNK9tlm_utils41instance_specific_extensions_per_accessor13get_extensionEj@Base 2.3.3
  _ZNKSt5ctypeIcE8do_widenEc@Base 2.3.3
- _ZNSt6vectorIN5sc_dt8sc_logicESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_@Base 2.3.3
+ (arch=arm64)_ZNSt6vectorIN5sc_dt8sc_logicESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_@Base 2.3.3
  (arch-bits=32)_ZNSt6vectorIN7sc_core15sc_reset_targetESaIS1_EE17_M_default_appendEj@Base 2.3.3
  (arch-bits=64)_ZNSt6vectorIN7sc_core15sc_reset_targetESaIS1_EE17_M_default_appendEm@Base 2.3.3
  _ZNSt6vectorIN7sc_core15sc_reset_targetESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_@Base 2.3.3
-- 
2.20.1

Reply via email to