RE: (dsssl) openjade and opensp on Solaris gcc 2.95.2

Subject: RE: (dsssl) openjade and opensp on Solaris gcc 2.95.2
From: Pieter Rijken <Pieter.Rijken@xxxxxx>
Date: Sat, 23 Jun 2001 16:44:38 +0200
Joel,

Yes, I have. I compiled openjade 1-3 and opensp 1-4 on
Solaris 2.6 and successfully run them on solaris 2.7.
I also use gcc 2.92.2.

At first I also only got segfault when starting the
applications. In all these cases I used the shared libraries
build by openjade.

After I compiled openjade and opensp using ONLY static libraries
everything went OK.

It seems that the segfault has to do with the way the shared
libraries are used on solaris.

regards,

pieter

> -----Original Message-----
> From:	Joel Young [SMTP:jdy@xxxxxxxxxxxx]
> Sent:	Saturday, June 23, 2001 1:37 PM
> To:	DSSSList@xxxxxxxxxxxxxxxxxxxxxx
> Cc:	jdy@xxxxxxxxxxxx
> Subject:	(dsssl) openjade and opensp on Solaris gcc 2.95.2
> 
> 
> Does anyone have experience building versions of openjade
> and opensp on solaris that don't segfault on startup?
> 
> I have tried openjade-1.3, 1.4devel, opensp 1.4, opensp 1.5pre5.
> 
> Invariably (with all the binaries) I get:
> 
> ...
> mprotect(0xFEE70000, 8192, PROT_NONE)		= 0
> lwp_create(0xFEE85A28, LWP_DETACHED|LWP_SUSPENDED, 0xFEE75DFC) = 4
> lwp_continue(4)					= 0
> lwp_create()	(returning as new lwp ...)	= 0
> lwp_schedctl(SC_STATE|SC_BLOCK, -1, 0xFEE75CFC)	= 0
> lwp_schedctl(SC_DOOR, 0, 0x00000000)		= 3
> door_bind(3)					= 0
> close(3)					= 0
> brk(0x0004F550)					= 0
> brk(0x00051550)					= 0
> sigaction(SIGWAITING, 0xFEEBD7F0, 0x00000000)	= 0
> brk(0x00051550)					= 0
> brk(0x00053550)					= 0
> time()						= 993296034
>     Incurred fault #6, FLTBOUNDS  %pc = 0xFF1CCFF0
>       siginfo: SIGSEGV SEGV_MAPERR addr=0x00000010
>     Received signal #11, SIGSEGV [caught]
>       siginfo: SIGSEGV SEGV_MAPERR addr=0x00000010
> 
> 
> I have tried the SP_HAVE_BOOL hack from
> http://www.biglist.com/lists/dssslist/archives/200104/msg00026.html
> 
> But it doesn't work since we do have bool defined.
> 
> Any suggestions?
> 
> Thanks
> 
> Joel
> jdy@xxxxxxxxxxxx
> 
>  DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread