I configured the build using: ./Configure solaris-x86-gcc --prefix=/usr/local --openssldir=/usr/local/openssl shared
so we can get a 32 bit build on our amd64 Solaris architecture. It core dumps when running the tests. NOTE: the 64 bit build tests run fine. I have attached the make report per the instructions in the INSTALL file. Truss /1: mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEDA0000 /1: munmap(0xFEFB0000, 32768) = 0 /1: getcontext(0x080476A0) /1: getrlimit(RLIMIT_STACK, 0x08047698) = 0 /1: cur = 10485760 max = RLIM_INFINITY /1: getpid() = 25470 [25469] /1: lwp_private(0, 1, 0xFEDA2A00) = 0x000001C3 /1: setustack(0xFEDA2A60) /1: sigfillset(0xFECC4DD0) = 0 /1: sigmask = 0xFFFFFFFF 0x0000FFFF 0 0 /1: sysconfig(_CONFIG_STACK_PROT) = 7 /1: Incurred fault #6, FLTBOUNDS %pc = 0xFEF5E545 /1: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 /1: Received signal #11, SIGSEGV [default] /1: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 DBX Stack Trace ==> dbx destest core Reading destest core file header read successfully Reading ld.so.1 Reading libcrypto.so.1.0.0 Reading libssl.so.1.0.0 Reading libsocket.so.1 Reading libnsl.so.1 Reading libdl.so.1 Reading libc.so.1 Reading libgcc_s.so.1 program terminated by signal SEGV (no mapping at the fault address) 0xfef5e545: _init+0x0015: addb %al,(%eax) (dbx) where =>[1] _init(0xfeffb28c, 0xfeffdd58, 0xfeffb818, 0xfee105d4, 0xfef90db8, 0xfef5e530), at 0xfef5e545 [2] call_init(0xfee105c0, 0x1), at 0xfefd4c11 [3] setup(0x804716c, 0x80472d0, 0x0, 0x8047fec, 0x1000, 0xfefc9141, 0xfeffbaec, 0xfefc3000, 0xfefc3000, 0xffffffff, 0x8050034, 0x8047ff2, 0x8047164, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x0, 0x2), at 0xfefd4194 [4] _setup(0x8047120, 0xfeffbaec, 0x3, 0x8047164, 0x4, 0x804716c), at 0xfefe005e [5] _rt_boot(0x0, 0x8047342, 0x8047354, 0x8047366, 0x804736f, 0x8047376), at 0xfefcaa1c
I configured the build using:
./Configure solaris-x86-gcc --prefix=/usr/local --openssldir=/usr/local/openssl shared
so we can get a 32 bit build on our amd64 Solaris architecture.
It core dumps when running the tests.
NOTE: the 64 bit build tests run fine.
I have attached the make report per the instructions in the INSTALL file.
Truss
/1: mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEDA0000
/1: munmap(0xFEFB0000, 32768) = 0
/1: getcontext(0x080476A0)
/1: getrlimit(RLIMIT_STACK, 0x08047698) = 0
/1: cur = 10485760 max = RLIM_INFINITY
/1: getpid() = 25470 [25469]
/1: lwp_private(0, 1, 0xFEDA2A00) = 0x000001C3
/1: setustack(0xFEDA2A60)
/1: sigfillset(0xFECC4DD0) = 0
/1: sigmask = 0xFFFFFFFF 0x0000FFFF 0 0
/1: sysconfig(_CONFIG_STACK_PROT) = 7
/1: Incurred fault #6, FLTBOUNDS %pc = 0xFEF5E545
/1: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
/1: Received signal #11, SIGSEGV [default]
/1: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
DBX Stack Trace
==> dbx destest core
Reading destest
core file header read successfully
Reading ld.so.1
Reading libcrypto.so.1.0.0
Reading libssl.so.1.0.0
Reading libsocket.so.1
Reading libnsl.so.1
Reading libdl.so.1
Reading libc.so.1
Reading libgcc_s.so.1
program terminated by signal SEGV (no mapping at the fault address)
0xfef5e545: _init+0x0015: addb %al,(%eax)
(dbx) where
=>[1] _init(0xfeffb28c, 0xfeffdd58, 0xfeffb818, 0xfee105d4, 0xfef90db8, 0xfef5e530), at 0xfef5e545
[2] call_init(0xfee105c0, 0x1), at 0xfefd4c11
[3] setup(0x804716c, 0x80472d0, 0x0, 0x8047fec, 0x1000, 0xfefc9141, 0xfeffbaec, 0xfefc3000, 0xfefc3000, 0xffffffff, 0x8050034, 0x8047ff2, 0x8047164, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x0, 0x2), at 0xfefd4194
[4] _setup(0x8047120, 0xfeffbaec, 0x3, 0x8047164, 0x4, 0x804716c), at 0xfefe005e
[5] _rt_boot(0x0, 0x8047342, 0x8047354, 0x8047366, 0x804736f, 0x8047376), at 0xfefcaa1c
make.report.out
Description: Binary data
