delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/18/19:46:23

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" <jojelino AT gmail DOT 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 AT mail DOT gmail DOT com> <4B2AB7C2 DOT 3000808 AT gmail DOT com> <hgecs4$r0$1 AT ger DOT gmane DOT org> <4B2BDFAB DOT 2020407 AT googlemail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" 
<davek DOT spamtrap AT googlemail DOT com> 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

- Raw text -


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