X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: mwoehlke <mwoehlke@tibco.com>
Subject:  Re: openmotif, .rdata, shared libs and runtime linking/loading problem
Date:  Tue, 15 Aug 2006 15:57:21 -0500
Lines: 22
Message-ID: <ebtcfh$nli$2@sea.gmane.org>
References:  <ebtb3s$l2a$1@sea.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.4.0
In-Reply-To: <ebtb3s$l2a$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Avi Cohen Stuart wrote:
> [snip]
> gdb reports the following:
> Program received signal SIGSEGV, Segmentation fault.
> [snip]
> 
> The address it is trying to write to appears to be a read only address in 
> the attempt to resolve some adresses and updating pointers it crashes.

I've no idea why openmotif/whatever would be broken, but the above 
sentence makes me wonder if '-fwritable-strings' (gcc option) would 
help. If it does, shame on someone for writing bad code.

> N.B. sorry for the repost. I suspect that a different subject draws more 
> attention...

Yes. It draws attention to the fact that you have now (potentially) 
annoyed us by posting twice.

-- 
Matthew
Only Joe suffers from schizophrenia. The rest of us enjoy it.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

