This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] gmp-4.3.1-1 for cygwin-1.7


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]