From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25301 invoked by alias); 27 Apr 2009 19:43:59 -0000 Received: (qmail 25292 invoked by uid 22791); 27 Apr 2009 19:43:58 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Mon, 27 Apr 2009 19:43:49 +0000 Received: (qmail invoked by alias); 27 Apr 2009 19:43:46 -0000 Received: from xdsl-87-78-92-156.netcologne.de (EHLO localhost.localdomain) [87.78.92.156] by mail.gmx.net (mp023) with SMTP; 27 Apr 2009 21:43:46 +0200 Received: from ralf by localhost.localdomain with local (Exim 4.69) (envelope-from ) id 1LyWjw-000143-65; Mon, 27 Apr 2009 21:43:44 +0200 Date: Mon, 27 Apr 2009 19:49:00 -0000 From: Ralf Wildenhues To: Kai Tietz Cc: GCC Patches Subject: Re: RFA: libtool.m4 Message-ID: <20090427194343.GB17561@gmx.de> Mail-Followup-To: Ralf Wildenhues , Kai Tietz , GCC Patches References: <90baa01f0904251300x54125d09ue7a1a1fb1133596e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <90baa01f0904251300x54125d09ue7a1a1fb1133596e@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2009-04/txt/msg02169.txt.bz2 Hello Kai, * Kai Tietz wrote on Sat, Apr 25, 2009 at 10:00:40PM CEST: > > In the libtool.m4 in function _LT_CHECK_MAGIC_METHOD the current check > for mingw doesn't treat the x64 proper. > It checks for 'file_magic file format pei*-i386(.*architecture: > i386)?', what is right for 32-bit mingw, but for 64-bit version this > string needs to be changed to something like 'file_magic file format > pei*(.*architecture: i386)?' > > Possibly you could find a solution for this (and possibly we could > backport it to 4.4.1, too)? I cannot find a solution for this as I don't have access to a w64 box, but I can help you so we can fix this together. The current git version of Libtool has at least one w64-specific patch over 2.2.6a, maybe that is already sufficient? Here's how you can test whether current Libtool is good enough for w64: Grab the git sources of Libtool, or a nightly snapshot tarball from the Libtool homepage, configure and build it on a w64 system, run the test suites as described in the README file and report all failures to the bug-libtool list. After fixing them we can go back to GCC. Whether to backport things is a question to address after we've found a solution (and it's only partly mine to answer). Cheers, Ralf