ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/06/09/13:40:32

Message-Id: <200006091740.NAA25297@delorie.com>
Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
list-help: <mailto:cygwin-apps-help AT sourceware DOT cygnus DOT com>
list-post: <mailto:cygwin-apps AT sourceware DOT cygnus DOT com>
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-apps AT sourceware DOT cygnus DOT com
From: "Parker, Ron" <rdparker AT butlermfg DOT com>
To: cygwin-developers AT sourceware DOT cygnus DOT com,
"Parker, Ron"
<rdparker AT butlermfg DOT com>
Cc: cygwin-apps AT sourceware DOT cygnus DOT com
Subject: RE: [cet AT carlthompson DOT net: Re: Extreme newbie here...]
Date: Fri, 9 Jun 2000 12:38:54 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01BFD239.AF98C2FA
Content-Type: text/plain;
	charset="iso-8859-1"

> >bash-2.04$ g++ -mno-cygwin -fno-rtti hello.cpp -o hello
> >/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o): In function
> >`_eh_rtime_match':
> >/home/src/gcc-2.95.2/gcc/./libgcc2.c(.text+0x389): undefined 
> reference to
> >`_impure_ptr'
> >collect2: ld returned 1 exit status
> >
> >If your source code will compile with -fno-exceptions, it 
> should work in
> >most cases.
> 
> Hmm.  We noticed this when building strace and Mumit 
> submitted a workaround
> for it.  If you search the cygwin-developers archive you 
> might find the
> reason for this.  I think that the gcc library is somehow 
> pulling in bits
> of the cygwin library.

Unfortunately compiling with -fno-exceptions isn't always an option and
adding a dummy "int _impure_ptr;" declaration as was done in strace does not
work always work.  Even the simple eh_hello.cpp I wrote up will GP if you
try this.  I have also compiled and linked against Mumit's ming-extras
package it still dies.

I feel like the great white bug hunter.  "Dr. Livingston, I presume?"  

Which brings the following sick story to mind,
http://www.qnx.com/~glen/deadbeef/3821.html.  It is gross and disgusting.
You have been warned.

------_=_NextPart_000_01BFD239.AF98C2FA
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

eJ8+IigRAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQSAAQA3AAAAUkU6IFtjZXRAY2FybHRob21wc29uLm5ldDogUmU6
IEV4dHJlbWUgbmV3YmllIGhlcmUuLi5dAOESAQmAAQAhAAAAQUQwQTQ2RUI0QzZFMEM0NUJBQkMy
RDQ4N0VERkFBNjIAjwcBIIADAA4AAADQBwYACQAMACcAJwAFAEUBAQWAAwAOAAAA0AcGAAkADAAm
ADYABQBTAQENgAQAAgAAAAIAAgABA5AGADgJAAArAAAACwACAAEAAAADAC4AAAAAAEAAOQDw/taU
OdK/AR4AcAABAAAAMwAAAFtjZXRAY2FybHRob21wc29uLm5ldDogUmU6IEV4dHJlbWUgbmV3Ymll
IGhlcmUuLi5dAAACAXEAAQAAABsAAAABv9IzWJdDFFmqPGsR1Jw/AGAIw/BnAAEZWIAAAgEJEAEA
AABLBAAARwQAACEGAABMWkZ1iw3GRwMACgByY3BnMTI14jIDQ3RleAVBAQMB9/8KgAKkA+QHEwKA
D/MAUARWPwhVB7IRJQ5RAwECAGNo4QrAc2V0MgYABsMRJfYzBEYTtzASLBEzCO8J97Y7GB8OMDUR
IgxgYwBQMwsJAWQzNhZQC6YgPgEc4GJhc2gtMi4AMDQkIGcrKyAALW1uby1jeWc7A/ADoC0C8B5A
ACB0aVAgaGVsF7AuDfBwPR4Abx9kCqIKgBzxL3UAc3IvbGliL2cIY2MtIXJpNjg2LC1wIdAeZC8d
cDk1DC4yIWIhsS5hKF8AZWgubyk6IEnhA6BmdW5jH0ACICCXWmAkIV8AIAdxXwDAdCkT0Cc6IJho
A3BlL50hQGMhoyMlIbEvLiOFER1wYyguD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SS0VS
RDA2RkM0MDAAHgD6PwEAAAAMAAAAUGFya2VyLCBSb24AHgA5QAEAAAARAAAAUkRQQVJLRVJEMDZG
QzQwMAAAAABAAAcwUGPmvTfSvwFAAAgw+sKYrznSvwEeAD0AAQAAAAUAAABSRTogAAAAAB4AHQ4B
AAAAMwAAAFtjZXRAY2FybHRob21wc29uLm5ldDogUmU6IEV4dHJlbWUgbmV3YmllIGhlcmUuLi5d
AAALACkAAAAAAAsAIwAAAAAAAwAGEHCJaVYDAAcQlQMAAAMAEBACAAAAAwAREAEAAAAeAAgQAQAA
AGUAAABCQVNILTIwNCRHKystTU5PLUNZR1dJTi1GTk8tUlRUSUhFTExPQ1BQLU9IRUxMTy9VU1Iv
TElCL0dDQy1MSUIvSTY4Ni1QQy1DWUdXSU4vMjk1Mi9MSUJHQ0NBKEVITyk6SU5GAAAAAAFD

------_=_NextPart_000_01BFD239.AF98C2FA--

- Raw text -


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