X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: "jojelino" <jojelino@gmail.com>
Subject:  Re: undefined reference to `___real__Znwj'
Date:  Sat, 19 Dec 2009 09:45:45 +0900
Lines: 55
Message-ID: <hgh7np$7ml$1@ger.gmane.org>
References:  <ec09a5af0912171116o601f5d62o369469bf8048e73d@mail.gmail.com> <4B2AB7C2.3000808@gmail.com> <hgecs4$r0$1@ger.gmane.org> <4B2BDFAB.2020407@googlemail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

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" 
<davek.spamtrap@googlemail.com> wrote in message 
news:4B2BDFAB.2020407@googlemail.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

