X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "jojelino" Subject: Re: undefined reference to `___real__Znwj' Date: Sat, 19 Dec 2009 09:45:45 +0900 Lines: 55 Message-ID: References: <4B2AB7C2 DOT 3000808 AT gmail DOT com> <4B2BDFAB DOT 2020407 AT googlemail DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 thanks for replying. i needed it! in fact, there is no need to change whole problematic cygwin source code to fix aliasing problem.. for me, just getting rid of '-Werror' from makefile.in resolves the problem. it just complains for some lines of warning :) "Dave "What part of PCYMTNQREAIYR isn't obvious? ;-)" Korn" wrote in message news:4B2BDFAB DOT 2020407 AT googlemail DOT com... > jojelino wrote: > >>> make -j 10 because of speed gain. >> and it complains.. which i reported it. >> so i got >>> cd i686-pc-cygwin/winsup >> and >make again. >> and it complains when it comes to cygserver.exe >> >> this could be answer for your question????? > > I was just curious how you got as far as building cygserver.exe without > running into earlier problems compiling the cygwin1.dll; it doesn't build > using 4.5.0 without a lot of patching. > > Anyway, thanks for the bug report; you reminded me that I stumbled across > this bug earlier in the summer but put it to one side because 4.5.0 was > still > a long way from release. Time to fix it, particularly now that the > libstdc++ > changes have gone in. > > The problem is a bug in the linker, so you'll need to check out binutils > from sourceware.org cvs and apply the attached > weaksyms-vs-undefs-order-of-ref-fix-take-2.diff patch. You'll also need > the > other attached patch for the winsup/cygwin repository before it will all > compile correctly with 4.5.0; there are a number of aliasing problems to > which > 4.5.0 is more sensitive than earlier GCCs. > > (I'll be feeding these patches back upstream in due course, once I've > given > them all some further testing, but they build an apparently fully working > 4.5.0-compiled cygwin1.dll so far, anyway.) > > cheers, > DaveK > -------------------------------------------------------------------------------- > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple