On Tue, Aug 21, 2018 at 5:14 AM, Jeffrey Walton <noloader@xxxxxxxxx> wrote: > On Tue, Aug 21, 2018 at 5:10 AM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: >> On Tue, 21 Aug 2018 at 10:08, Jeffrey Walton wrote: >>> The code is crashing on Solaris 11 Sparc. >> >> What kind of crashing? Segfault? Bus error? > > My bad, on Solaris it is a SIGSEGV: > > (gdb) r v > ... > > [New Thread 1 (LWP 1)] > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 1 (LWP 1)] > 0x00000001005be6a8 in > std::call_once<InitializeInteger::InitializeInteger()::<lambda()> > > (__once=..., > __f=<unknown type in /home/test/cryptest.exe, CU 0x93609c, DIE > 0x97266d>) at /usr/gcc/7/include/c++/7.3.0/mutex:676 > 676 __once_callable = std::__addressof(__callable); I probably should have provided this again. The __callable and 0xffffffff7fffdf27 looks odd assuming it is an address: (gdb) bt full #0 0x00000001005be6a8 in std::call_once<InitializeInteger::InitializeInteger()::<lambda()> > (__once=..., __f=<unknown type in /home/jeff/cryptopp/cryptest.exe, CU 0x93609c, DIE 0x97266d>) at /usr/gcc/7/include/c++/7.3.0/mutex:676 __callable = {__(float) = @0xffffffff7fffdf27} #1 InitializeInteger::InitializeInteger ( this=this@entry=0xffffffff7fffe170) at integer.cpp:112 No locals.