From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5834 invoked by alias); 3 Apr 2014 13:02:36 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 5813 invoked by uid 89); 3 Apr 2014 13:02:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,DATE_IN_PAST_24_48,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 03 Apr 2014 13:02:34 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WVgtt-0008WS-8p for cygwin@cygwin.com; Thu, 03 Apr 2014 14:37:45 +0200 Received: from bob75-5-82-234-74-206.fbx.proxad.net ([82.234.74.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2014 14:37:45 +0200 Received: from jpflori by bob75-5-82-234-74-206.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2014 14:37:45 +0200 To: cygwin@cygwin.com From: Jean-Pierre Flori Subject: Re: Possibly wrong address passed to callq asm instruction within MPIR test binaries Date: Thu, 03 Apr 2014 13:02:00 -0000 Message-ID: References: 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) X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00023.txt.bz2 Le Wed, 02 Apr 2014 00:07:12 +0200, Jean-Pierre Flori a écrit : > Dear all, > > It's amazing to see how well Cygwin64 is going. > Thanks for your hard work. > > While preparing the new MPIR release, which will be the first one to > support Cygwin4, we encountered problems running MPIR testsuite when > MPIR was configured to produce a shared lib. > That's with latest cygwin/binutils/gcc/g++ from today. > > It seems that a call to the MPN_ZERO macro, which on my setup is at > 0x4ff2746c0 in the shared lib but we get the instruction: > callq 0xff2746c0 within the test binary and that yields a nice segfault. > Please see > https://groups.google.com/d/msg/mpir-devel/KzsxIWhVx8A/EAUoP4ybWOMJ and > the few following post for more details. > > For sure, we don't get what's going on here. > Would you have any clue? > Might ld decide for some reason to trim the macro address to 4 bytes > rather than 8? > > Best, Sorry for the noise, we found the issue. Apparently it was some DLL export/import issue... See https://groups.google.com/d/msg/mpir-devel/KzsxIWhVx8A/D6-Z5SsLdGsJ Best, JP -- 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