X-Spam-Check-By: sourceware.org Message-ID: <442E2BA3.9E98FA42@dessent.net> Date: Fri, 31 Mar 2006 23:28:35 -0800 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.5.19: assertion failure in assembler as (2.16.91 20050610) References: <200603311857 DOT k2VIvX711050 AT panix1 DOT panix DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 librik AT panix DOT com wrote: > .globl ___gmpn_divexact_1 > ___gmpn_divexact_1: > addl $_GLOBAL_OFFSET_TABLE_, %edx > movl ___gmp_modlimb_invert_table AT GOT(%edx), %edx Win32 does not use PLT/GOT, so this code cannot work. > This code snippet comes directly from the new GMP 4.2 (GNU Multi-Precision) > library sources. (File mpn/x86/dive_1.asm, shared-library PIC version.) > Therefore, I have reason to believe this ought to work. Since it doesn't, > shared-library GMP can't be built on Cygwin. "Shared library PIC" only applies to linux. There is no such thing on windows, as all code is position independent. You're trying to compile something specific to ELF systems under win32 which does not use ELF at all. So it's a porting problem with GMP if it tries to compile this code on a non-ELF platform. > a patch, so I hope someone with more as & BFD experience can solve it. It's not a BFD problem, it's a GMP problem. Brian -- 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/