From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1394 invoked by alias); 1 Apr 2014 22:07: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 1368 invoked by uid 89); 1 Apr 2014 22:07:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qg0-f46.google.com Received: from mail-qg0-f46.google.com (HELO mail-qg0-f46.google.com) (209.85.192.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 01 Apr 2014 22:07:34 +0000 Received: by mail-qg0-f46.google.com with SMTP id 63so6063751qgz.5 for ; Tue, 01 Apr 2014 15:07:32 -0700 (PDT) X-Received: by 10.140.21.8 with SMTP id 8mr18903736qgk.55.1396390052263; Tue, 01 Apr 2014 15:07:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.100.164 with HTTP; Tue, 1 Apr 2014 15:07:12 -0700 (PDT) From: Jean-Pierre Flori Date: Tue, 01 Apr 2014 22:07:00 -0000 Message-ID: Subject: Possibly wrong address passed to callq asm instruction within MPIR test binaries To: cygwin@cygwin.com Cc: Bill Hart Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2014-04/txt/msg00005.txt.bz2 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, -- Jean-Pierre Flori -- 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