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=UOkFWsLO6bjtTpQCjlI4x0Amc2SRWt2oGtCjL9vPsGLtLOmzuYfsC ONqROEfKDj3D35ij0WZ3JEHFVyNB9bQSKothzQnzszffXqdYlm4cRsIS2W/fwovi hkrHhtR7aT+58hEwyxu6QJatPb77tc52y6Ax+f/rqinekEegteWun4= 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=5h440IZzhdcssZceZJHw1BrnYJM=; b=paRu1bvoxhQ0ZQwpWrKVIU4Is0Yl mvYdw44YsGu17G3xicr8P1l3w+AvK/A0gL040Po4+Ylkrw74bxKVZUKSZ5R9qXMq IeYBkEcjVFS2Ax3o5wvrAK3V7ngg0rR/yyOa/BnA2ovVB861DPCFQfuc52rwqALU cBBxB7M9rfXJ8so= 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 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 To: cygwin AT cygwin DOT com From: Jean-Pierre Flori Subject: Re: Possibly wrong address passed to callq asm instruction within MPIR test binaries Date: Wed, 2 Apr 2014 06:12:46 +0000 (UTC) Lines: 32 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 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