X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=Z/n8SUV19SxklEb2KPmFM55xoaHP7YfoLGhcczwHF3tHgMP+HhtqH vHTlIee24HdzmEQlzrRhBcU/gRLVLe1XlSjakqlUisw7w4aqWHMzfu7QCnPhylfR vzWnsL3L324jz5LjLiMJuLaCCIJ8pxeM/PN7BAG497SnIx0QZ5ORIk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=md4WCi/nxVuToncHJYQXKtdm1EU=; b=cdA37L5WlWX/N60PTcUUMa3riTVQ LdDJUZVORDAij/D3ujPxmlFtNIt9oboD+s3XvTsDtitVWYUoIZzAFY4l6hZyNvqA oWM98eXnCRaxGN/pP1Gh5bavCW47Ge/DhhydhKgB3XK6idg3Uigc/pNZmicz3j71 nAoMFT/fIn6etf0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 To: cygwin AT cygwin DOT com From: Jean-Pierre Flori Subject: Re: libtool weirdness (was Re: Broken MPIR 2.6.0 on Cygwin64) Date: Fri, 21 Jun 2013 18:07:00 +0000 (UTC) Lines: 43 Message-ID: References: <20130621083039 DOT GH1620 AT calimero DOT vinschen DOT de> <20130621094344 DOT GB25850 AT calimero DOT vinschen DOT de> <20130621113357 DOT GF25850 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Le Fri, 21 Jun 2013 17:27:22 +0000, Jean-Pierre Flori a écrit : > Le Fri, 21 Jun 2013 17:06:03 +0000, Jean-Pierre Flori a écrit : > >>> I'll also check without assembly optimizations, or lowering gcc >>> optimization level, etc. >> So I'm going to try that now. > If i disable ASM routines by passing MPN_PATH=generic to configure, then > (in the static setting at least) most tests now pass. Using the default MPN_PATH I get "x86_64/sandybridge x86_64 generic", the first segfault I get is in the first test in the mpn dir: t-addadd_n.c. GDB points to the loop1() function: jp AT napoleon-7 ~/mpir-2.6.0/tests/mpn $ gdb t-addadd_n.exe GNU gdb (GDB) 7.6.50.20130320-cvs Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-cygwin". For bug reporting instructions, please see: ... Reading symbols from /home/jp/mpir-2.6.0/tests/mpn/t-addadd_n.exe...done. (gdb) r Starting program: /home/jp/mpir-2.6.0/tests/mpn/t-addadd_n.exe [New Thread 2576.0x9b8] [New Thread 2576.0x398] Program received signal SIGSEGV, Segmentation fault. 0x00000001004020ae in loop1 () (gdb) bt #0 0x00000001004020ae in loop1 () #1 0x0000000100401fe7 in __gmpn_addadd_n (t=0x1c8fc0, x=, y=, z=, n=1) at addadd_n.c:50 #2 0x0000000100425fb6 in main () at t-addadd_n.c:58 apparently coming from add_n.as. If someone sees something wrong in the asm files, I have no experience with them. -- 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