delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/07/29/08:24:31

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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=E3j
Xw8fQ1BAywnrBlCiFTIrFNweoA1+RFxsm1YmW2eJdxLEC2LzZURYWZDSA9sdRRzb
4mND2aHgCq2e9KnGpR25npbhkk4rNYkR4GLbbRb3wl0kiWO+BwkIfO49ccMBA2WF
zuh6Fn84sw5PdpD4+sfWAlw21+Cl3K6X7xMRrwg0=
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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=rZXr2us5k
10P/qt1fvaXFERJq40=; b=f2jTIXRd2eFMRBlZDOvxeyX3jbU9j7c4som3QENzD
75UL1+CJreUirQPqwWc0ddMKM8qaeEXjHNyPk/9lEvR4E9HYntvkyuq3Wq3YPZhG
X/Qdg0mhH/6xzENnditk9qgzRcySKnCHJlc4QX3oekVMs0dJCtMwG3UoNlzwvBXO
6Q=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=impacting, unlimited
X-HELO: mail-wm0-f66.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=Imdg/wai+mXV77VKqW8ZtTUEVoG089CIqp8sljZRiPY=; b=PIn0dEbAk26kd0I8O2FsIQsjEixTOm41c1ozngrE4TjDaxjtrSvf7x/U1dwWUvE/aA NDZavtccwgzYzRhCy5qpGK5NiBm3/zaJOnyERNveJamrVbOYCE1Etw2OXdo1yxrmKtjJ k4YgQDMbH9mVIk6ilF7fx35ArUA0vFwk/RsJwvuCoQaKDEXwcZ9tzxsvCgWw2NxFBSXB B+QQJ57CG8txzb6OoMsPX5a4e7z9VlUNU4JCjDdNV1S3tpNhzIBmlZQCK22kRA14l36C b9IJUOIMTtu0D0UbNeqhafNcgNWY36BP+X1jnW/E0gLvJaYsVxpkewnVLR8HQGdGHd++ GtNA==
X-Gm-Message-State: AEkoousNEXVsrIrXmhoplD9n2bJU68Gm/9hWPqs7CnV2CubFX8NuF/j27ukh0iM1JDhKNQ==
X-Received: by 10.194.87.101 with SMTP id w5mr41632231wjz.94.1469795040682; Fri, 29 Jul 2016 05:24:00 -0700 (PDT)
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Subject: Autoconf fooled by AC_FC_LINE_LENGTH
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <8fa2a8a5-fb86-02c9-5cd0-521a9680abe3@gmail.com>
Date: Fri, 29 Jul 2016 14:23:53 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
X-IsSubscribed: yes

Hi Eric,

building latest Arpack
https://github.com/opencollab/arpack-ng/releases
https://github.com/opencollab/arpack-ng/issues/41

I hit a strange case where the presence of a single line

AC_FC_LINE_LENGTH(unlimited)

before the usual
LT_PREREQ([2.4.2])
LT_INIT([win32-dll])

is causing the libtool to be incorrectly set, versus
the right case
---------------------------------------------------
-libext=a
+libext=lib

-shlibpath_overrides_runpath=yes
+shlibpath_overrides_runpath=unknown

-library_names_spec="\$libname.dll.a"
+library_names_spec="\$libname`echo \$release | \$SED -e 
s/[.]/-/g`\$versuffix\$shared_ext \$libname.lib"

-soname_spec="`echo \$libname | sed -e s/^lib/cyg/``echo \$release | 
\$SED -e s/[.]/-/g`\$versuffix\$shared_ext"
+soname_spec=""
-----------------------------------------------------

It seems libtool is incorrectly set for MSVC platform

I tried to move the libtool inizialization before the
AC_FC_LINE_LENGTH but autoconf is objecting on wrong preference.

It seems a bug impacting only cygwin.

Regards
Marco










--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019