delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/03/06/04:16:46

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Simon Peter" <dn DOT tlp AT gmx DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Problems with cross-compiled iostreams-using programs
Date: 6 Mar 2006 01:10:17 -0800
Organization: http://groups.google.com
Lines: 17
Message-ID: <1141636217.753388.261560@e56g2000cwe.googlegroups.com>
NNTP-Posting-Host: 138.23.63.74
Mime-Version: 1.0
X-Trace: posting.google.com 1141636228 1946 127.0.0.1 (6 Mar 2006 09:10:28 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 6 Mar 2006 09:10:28 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050825 Firefox/1.0.4 (Debian package 1.0.4-2sarge3),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: e56g2000cwe.googlegroups.com; posting-host=138.23.63.74;
posting-account=gSrSzg0AAADaooRovciEOwuhJfcA0eW0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

i got a strange problem with libstdcxx-using programs. I cross-compile
from Linux with a self-built version of GCC 4.0.2. Whenever any
iostreams-related feature is used, the program will crash at the
ios_base constructor.

The strange thing is that when looking at it with a debugger, the
memory region where the ios_base constructor should be is completely
zero, whereas the same region in the executable, examined with objdump,
is the correct code.

I am glad for any help with this.

Thanks,
Simon

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019