Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 2 Dec 2003 23:22:47 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Problem with gcc -mno-cygwin? Message-ID: <20031203042247.GA5795@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3FCD509D DOT 9040104 AT cwilson DOT fastmail DOT fm> <20031203032728 DOT GA3222 AT redhat DOT com> <3FCD6314 DOT 7060804 AT cwilson DOT fastmail DOT fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FCD6314.7060804@cwilson.fastmail.fm> User-Agent: Mutt/1.4.1i On Tue, Dec 02, 2003 at 11:14:12PM -0500, Charles Wilson wrote: >Christopher Faylor wrote: > >>I don't know what this particular problem is (it sounds pretty bad if >>-mno-cygwin is this broken) but: >> >>====================== >>File: w32-shared-ptr.c Status: Up-to-date >> >> Working revision: 1.1.6.1 >> Repository revision: 1.1.6.1 >> /cvs/gcc/gcc/gcc/config/i386/Attic/w32-shared-ptr.c,v >> Sticky Tag: cygming332 (branch: 1.1.6.1.2) >> Sticky Date: (none) >> Sticky Options: (none) >> >>This file *is* in cvs. It was added by Danny Smith in August, AFAICT. > >Ah -- I didn't look in the Attic. The dangers of WebCVS I guess. > >>Out of curiousity, have you upgraded all of the various gcc-mingw >>packages now? > >I think I have all of the newest versions... > >binutils 20030901-1 >gcc 3.3.1-3 >gcc-g++ 3.3.1-3 >gcc-g77 3.3.1-3 >gcc-mingw 20030911-4 >gcc-mingw-core 20031020-1 >gcc-mingw-g++ 20031020-1 >gcc-mingw-g77 20031020-1 >gcc2 2.95.3-10 >mingw-runtime 3.2-1 >w32api 2.4-1 Yes, it looks that way. I saw this info after I asked the question. Sorry to make you repeat yourself. Do you possibly have two versions of the mingw libgcc.a somehow? I haven't verified this on my system, since I am knee deep in something else right now but nm on /lib/gcc-lib/i686-pc-mingw32/3.3.1/libgcc.a tells me: w32-shared-ptr.o: 00000000 b .bss 00000000 d .data 00000000 t .text U _AddAtomA AT 4 U _FindAtomA AT 4 U _GetAtomNameA AT 12 00000040 t ___w32_eh_shared_initialize 00000010 C ___w32_sharedptr 00000020 t ___w32_sharedptr_default_unexpected 000002a0 t ___w32_sharedptr_get 000000c0 T ___w32_sharedptr_initialize 000001f0 t ___w32_sharedptr_set 00000010 C ___w32_sharedptr_terminate 00000010 C ___w32_sharedptr_unexpected U _abort 00000000 b _dw2_object_mutex.0 00000000 d _dw2_once.1 U _free U _malloc 00000010 b _sjl_fc_key.2 00000008 d _sjl_once.3 00000000 t _w32_atom_suffix For some reason you have a libgcc.a in your /usr/lib/mingw. I don't Maybe that's the problem. cgf -- 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/