Source: gensio
Version: 2.6.2-3
Severity: minor
Tags: patch

Hi Maintainer

Some symbols are optimized away If gensio is compiled with -O3.
Please mark these symbols optional, as per the attached patch.

While preparing this patch, I noticed there are many duplicate lines
in libgensio4.symbols.  This patch removes those related to the
optional symbols, but there are many more that should be cleaned up.
I'm not sure if that warrants a separate bug.

Regards
Graham
--- a/debian/libgensio4.symbols
+++ b/debian/libgensio4.symbols
@@ -595,8 +595,7 @@
  (c++)"gensios::gensio_alloc(gensios::Gensio*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, gensios::Os_Funcs&, gensios::Event*)@Base" 2.6.1
  (c++)"gensios::gensio_alloc(gensios::gensio*, gensios::Os_Funcs&)@Base" 2.6.1
  (c++)"gensios::gensio_alloc(gensios::gensio*, gensios::Os_Funcs&, gensios::Event*)@Base" 2.6.1
- (c++)"gensios::gensio_error::gensio_error(int)@Base" 2.6.1
- (c++)"gensios::gensio_error::gensio_error(int)@Base" 2.6.1
+ (optional|c++)"gensios::gensio_error::gensio_error(int)@Base" 2.6.1
  (c++)"gensios::gensio_error::~gensio_error()@Base" 2.6.1
  (c++)"gensios::gensio_error::~gensio_error()@Base" 2.6.1
  (c++)"gensios::gensio_error::~gensio_error()@Base" 2.6.1
@@ -717,8 +716,7 @@
  (c++)"gensios::Accepter::~Accepter()@Base" 2.6.1
  (c++)"gensios::Accepter::~Accepter()@Base" 2.6.1
  (c++)"gensios::Accepter::get_port[abi:cxx11]() const@Base" 2.6.1
- (c++)"std::_Vector_base<unsigned char, std::allocator<unsigned char> >::~_Vector_base()@Base" 2.6.1
- (c++)"std::_Vector_base<unsigned char, std::allocator<unsigned char> >::~_Vector_base()@Base" 2.6.1
+ (optional|c++)"std::_Vector_base<unsigned char, std::allocator<unsigned char> >::~_Vector_base()@Base" 2.6.1
  (c++)"typeinfo for gensios::Serial_Event@Base" 2.6.1
  (c++)"typeinfo for gensios::gensio_error@Base" 2.6.1
  (c++)"typeinfo for gensios::Serial_Gensio@Base" 2.6.1
@@ -779,8 +777,7 @@
  (c++)"gensios::MDNS_Service::MDNS_Service(gensios::MDNS*, int, int, char const*, char const*, char const*, char const*, int, char const* const*)@Base" 2.6.2
  (c++)"gensios::MDNS_Service::~MDNS_Service()@Base" 2.6.2
  (c++)"gensios::MDNS_Service::~MDNS_Service()@Base" 2.6.2
- (c++)"gensios::gensio_error::gensio_error(int)@Base" 2.6.2
- (c++)"gensios::gensio_error::gensio_error(int)@Base" 2.6.2
+ (optional|c++)"gensios::gensio_error::gensio_error(int)@Base" 2.6.2
  (c++)"gensios::gensio_error::~gensio_error()@Base" 2.6.2
  (c++)"gensios::gensio_error::~gensio_error()@Base" 2.6.2
  (c++)"gensios::gensio_error::~gensio_error()@Base" 2.6.2
@@ -1000,8 +997,7 @@
 libgensiooshcpp.so.4 libgensio4 #MINVER#
 * Build-Depends-Package: libgensio-dev
  (c++)"gensios::do_to_string[abi:cxx11](gensios::gensio_addr*, bool)@Base" 2.6.2
- (c++)"gensios::gensio_error::gensio_error(int)@Base" 2.6.2
- (c++)"gensios::gensio_error::gensio_error(int)@Base" 2.6.2
+ (optional|c++)"gensios::gensio_error::gensio_error(int)@Base" 2.6.2
  (c++)"gensios::gensio_error::~gensio_error()@Base" 2.6.2
  (c++)"gensios::gensio_error::~gensio_error()@Base" 2.6.2
  (c++)"gensios::gensio_error::~gensio_error()@Base" 2.6.2

Reply via email to