delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/05/09:10:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A29193A.8000004@gmail.com>
Date: Fri, 05 Jun 2009 23:10:18 +1000
From: David Billinghurst <dbcygwin AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] gmp-4.3.1-1 for cygwin-1.7
References: <announce DOT 4A189E22 DOT 8050002 AT gmail DOT com> <4A287EBF DOT 5020408 AT users DOT sourceforge DOT net> <f89dcc3a0906041922w7f95f86bg86cbef9c5ee14940 AT mail DOT gmail DOT com> <4A2886AD DOT 7000602 AT users DOT sourceforge DOT net> <4A288B1C DOT 7010104 AT gmail DOT com>
In-Reply-To: <4A288B1C.7010104@gmail.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

Dave Korn wrote:
> Yaakov (Cygwin/X) wrote:
>> On 04/06/2009 21:22, David Billinghurst wrote:
>>> As the gmp and mpfr maintainer, can I do anything to fix this?
>> Are you able to reproduce this?  I see you built these with gcc4 but
>> with a static libgcc; maybe adding -shared-libgcc would help?
> 
>   This is the same problem we experienced with file-5.0.whatever-it-was just a
> little while ago.  There is an old bug in ld thst emits relocs that shouldn't
> be there when compiling a DLL; these relocs then end up getting turned into
> invalid addresses by rebase, which has no reason to believe there's anything
> incorrect about them and probably nothing it could do even if it did.
> 
>   If you build with fresh binutils from CVS head, the created DLL doesn't have
> the problematic reloc.  We're rushing out a new binutils release just as soon
> as PR977 can be resolved.
> 
>     cheers,
>       DaveK

I could reproduce this problem.  A rebaseall broke gcc-4.  Reinstalling 
the gmp DLLs fixed it.  I didn't have any problem with the mpfr DLLs.

I have rebuilt gmp with CVS binutils and -shared-libgcc.  This fixes the 
problem for me.  Could someone (Yaakov?) download the new DLLs in 
libgmp3-4.3.1-1.tar.bz2 and libgmpxx4-4.3.1-2.tar.bz2 (below) and 
confirm the fix.

#################  Full gmp package #######################

D=http://billinghurst.customer.netspace.net.au/cygwin-1.7

wget -x -nH --cut-dirs=1 \
  ${D}/gmp/gmp-4.3.1-2-src.tar.bz2 \
  ${D}/gmp/gmp-4.3.1-2.tar.bz2 \
  ${D}/gmp/setup.hint \
  ${D}/gmp/libgmpxx4/libgmpxx4-4.3.1-2.tar.bz2 \
  ${D}/gmp/libgmpxx4/setup.hint \
  ${D}/gmp/libgmp3/libgmp3-4.3.1-2.tar.bz2 \
  ${D}/gmp/libgmp3/setup.hint \
  ${D}/gmp/libgmp-devel/libgmp-devel-4.3.1-2.tar.bz2 \
  ${D}/gmp/libgmp-devel/setup.hint


--
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/

- Raw text -


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