[oi-dev] build issue in percona-server-57
    Bob Friesenhahn 
    bfriesen at simple.dallas.tx.us
       
    Mon Nov  5 21:38:26 UTC 2018
    
    
  
On Mon, 5 Nov 2018, Rich Reynolds wrote:
>
> [ 32%] Building CXX object sql/CMakeFiles/binlog.dir/binlog_crypt_data.cc.o
> /codebase/oi-userland/components/database/percona-server-57/percona-server-5.7.22-22/sql/binlog_crypt_data.cc: 
> In member function 'void Binlog_crypt_data::free_key(uchar*&, std::size_t&)':
> /codebase/oi-userland/components/database/percona-server-57/percona-server-5.7.22-22/sql/binlog_crypt_data.cc:62:37: 
> error: 'memset_s' was not declared in this scope
>     memset_s(key, 512, 0, key_length);
>                                     ^
> make[3]: *** [sql/CMakeFiles/binlog.dir/build.make:336: 
> sql/CMakeFiles/binlog.dir/binlog_crypt_data.cc.o] Error 1
>
>
>
> this a patching, upstream or makefile issue?  ill investigate if no one knows 
> off the top of head
This appears to be a C'11 function.  See 
https://en.cppreference.com/w/c/string/byte/memset.  Depending on C'11 
at this time is very optimistic.
What version of GCC are you using?
Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
    
    
More information about the oi-dev
mailing list